Skip to content

Commit 9c6fc83

Browse files
committed
fix(web search): location policy
1 parent 11d4b37 commit 9c6fc83

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/playbook/Configuration/tweaks/privacy/search-settings.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ actions:
4040
value: 'DisableWebSearch'
4141
data: '1'
4242
type: REG_DWORD
43+
- !registryValue:
44+
path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
45+
value: 'AllowSearchToUseLocation'
46+
data: '0'
47+
type: REG_DWORD
4348
- !registryValue:
4449
path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
4550
value: 'EnableDynamicContentInWSB'

src/playbook/Executables/AtlasDesktop/3. General Configuration/Web Search (includes Search Highlights)/Enable Web Search.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo Enabling Web Search ^& Search Highlights...
1919
echo]
2020
set key="HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowSearchToUseLocation
2121
choice /c:yn /n /m "Would you like web search to use your location for results? [Y/N] "
22-
if %errorlevel%==1 reg delete %key% /f > nul
22+
if %errorlevel%==1 reg delete %key% /f > nul 2>&1
2323
if %errorlevel%==2 reg add %key% /t REG_DWORD /d 0 /f > nul
2424

2525
:: Enable search indexing to prevent a visual bug

0 commit comments

Comments
 (0)