Update search

This commit is contained in:
Przemek Grondek 2023-05-01 01:02:11 +02:00
parent f54df1f10c
commit eefd6d6ce6

View File

@ -3,20 +3,47 @@ title: Search settings
description: Settings for better search
privilege: TrustedInstaller
actions:
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'DisableWebSearch', type: REG_DWORD, data: '1' }
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'ConnectedSearchUseWeb', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'AllowIndexingEncryptedStoresOrItems', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'AllowSearchToUseLocation', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'AlwaysUseAutoLangDetection', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'AllowCortana', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'DisableWebSearch', type: REG_DWORD, data: '1' }
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'ConnectedSearchUseWeb', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'ConnectedSearchUseWebOverMeteredConnections', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search', value: 'AllowCloudSearch', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Microsoft\Speech_OneCore\Preferences', value: 'VoiceActivationDefaultOn', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Microsoft\Speech_OneCore\Preferences', value: 'VoiceActivationEnableAboveLockscreen', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Microsoft\Speech_OneCore\Preferences', value: 'ModelDownloadAllowed', type: REG_DWORD, data: '0' }
- !registryValue: { path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE', value: 'DisableVoice', type: REG_DWORD, data: '1' }
# Configure search settings
- !registryValue:
path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
value: 'ConnectedSearchUseWeb'
data: '0'
type: REG_DWORD
- !registryValue:
path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
value: 'DisableWebSearch'
data: '1'
type: REG_DWORD
- !registryValue:
path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
value: 'AllowCloudSearch'
data: '0'
type: REG_DWORD
- !registryValue:
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search'
value: 'BingSearchEnabled'
data: '0'
type: REG_DWORD
- !registryValue:
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings'
value: 'IsAADCloudSearchEnabled'
data: '0'
type: REG_DWORD
- !registryValue:
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings'
value: 'IsMSACloudSearchEnabled'
data: '0'
type: REG_DWORD
- !registryValue:
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings'
value: 'IsDeviceSearchHistoryEnabled'
data: '0'
type: REG_DWORD
- !registryValue:
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings'
value: 'SafeSearchMode'
data: '0'
type: REG_DWORD
# Firewall rules to prevent the startmenu from talking
- !registryValue: {path: 'HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules', value: 'Block Search SearchApp.exe', type: REG_SZ, data: 'v2.30|Action=Block|Active=TRUE|Dir=Out|RA42=IntErnet|RA62=IntErnet|App=C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe|Name=Block Search SearchUI.exe|Desc=Block Cortana Outbound UDP/TCP Traffic|'}