Alex Hirsch
9 years ago
1 changed files with 5 additions and 7 deletions
@ -1,10 +1,8 @@ |
|||||
# Description: |
# Description: |
||||
# This script will disable certain unwanted startmenu search features. |
# This script will disable certain unwanted startmenu search features. |
||||
|
|
||||
if (-Not (Get-Item -Path "HKLM:\Software\Policies\Microsoft\Windows\Windows Search\" -ErrorAction SilentlyContinue)) { |
mkdir -Force "HKLM:\Software\Policies\Microsoft\Windows\Windows Search" |
||||
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" |
sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" AllowCortana 0 |
||||
} |
sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" DisableWebSearch 1 |
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" -Name AllowCortana -Value 0 |
sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" AllowSearchToUseLocation 0 |
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" -Name DisableWebSearch -Value 1 |
sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" ConnectedSearchUseWeb 0 |
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" -Name AllowSearchToUseLocation -Value 0 |
|
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" -Name ConnectedSearchUseWeb -Value 0 |
|
||||
|
Loading…
Reference in new issue