-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Describe the bug
After applying the 'Set-Additional.cmd' can no longer copy and paste into the File Explorer and taskbar Search Bar boxes.
The fix is below.
If anyone has an issue where they cannot copy/paste into the File Explorer and taskbar Search Icon search boxes after running 'Set-Additional.cmd', here is the fix.
From the 'Services.json' remove the below.
{
"Name": "WSearch",
"Description": "Windows Search",
"ServiceName": "WSearch",
"Status": 4,
"StartType": 2,
"SetStatus": "Disabled"
},
And from the Set-Additional.ps1 remove this.
# Disable Clipboard history, its synchronization service and any Remote Desktop redirection.
If ($Build -ge 17763)
{
If (!(Test-Path -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System")) { New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -ItemType Directory -Force | Out-Null }
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name AllowCrossDeviceClipboard -Value 0 -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name AllowClipboardHistory -Value 0 -Force
If (!(Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Terminal Server Client")) { New-Item -Path "HKLM:\SOFTWARE\Microsoft\Terminal Server Client" -ItemType Directory -Force | Out-Null }
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Terminal Server Client" -Name DisableClipboardRedirection -Value 1 -Force
If (!(Test-Path -Path "HKCU:\Software\Microsoft\Clipboard")) { New-Item -Path "HKCU:\Software\Microsoft\Clipboard" -ItemType Directory -Force | Out-Null }
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Clipboard" -Name EnableClipboardHistory -Value 0 -Force
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\cbdhsvc" -Name Start -Value 4 -Force
}
# Uninstall Cortana.
If ($Build -ge 19041) { Get-AppxPackage -Name *Microsoft.549981C3F5F10* | Remove-AppxPackage -AllUsers | Out-Null }
Metadata
Metadata
Assignees
Labels
No labels