From eefd6d6ce6464eea5e10ca81ad616a9a49732af1 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 1 May 2023 01:02:11 +0200 Subject: [PATCH] Update search --- src/Configuration/features/lite/search.yml | 55 ++++++++++++++++------ 1 file changed, 41 insertions(+), 14 deletions(-) diff --git a/src/Configuration/features/lite/search.yml b/src/Configuration/features/lite/search.yml index 54415bf..7f49d82 100644 --- a/src/Configuration/features/lite/search.yml +++ b/src/Configuration/features/lite/search.yml @@ -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|'} \ No newline at end of file