Disable web results in Windows Search
- Windows onlyThis script improves your privacy on Windows
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Impact: Minimum
System Functionality / Data Loss Risk: Low
This action improves privacy with minimal impact when you run the recommended script.
- Batch (batchfile)These changes use Windows system commands to update your settings.
- Administrator rights requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script improves your privacy by disabling the display of web results in the Windows Search function 1 2. This prevents your search terms from being sent to Microsoft servers 3.
By default, the Windows Start menu Search box shows results from your computer, the Windows Store, and Bing's web search results 4. This default behavior 2 means your queries are shared with Microsoft, which could impact your privacy 3.
Running this script stops the Start menu search from performing web searches and displaying web results 1 2, both generally and over metered connections 5, ensuring your searches remain local to your device 3 5.
When executed, this script modifies the following registry keys:
HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search!ConnectedSearchUseWeb
1 3 4.HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search!ConnectedSearchUseWebOverMeteredConnections
5.
Sources
- Don't search the web or display web results in Search. (2024).
Original: https://admx.help
Archived: https://web.archive.org/web/20240120135419/https://admx.help/?Category=Windows_10_2016&Policy=FullArmor.Policies.3B9EA2B5_A1D1_4CD5_9EDE_75B22990BC21::DoNotUseWebResults - Search Policy CSP - Windows Client Management. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-search
Archived: https://web.archive.org/web/20240120140023/https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-search#donotusewebresults - Manage connections from Windows 10 and Windows 11 Server/Enterprise editions operating system components to Microsoft services - Windows Privacy. Microsoft Learn. (2023).
Original: https://learn.microsoft.com/en-us/windows/privacy/manage-connections-from-windows-operating-system-components-to-microsoft-services
Archived: https://web.archive.org/web/20230911110911/https://learn.microsoft.com/en-us/windows/privacy/manage-connections-from-windows-operating-system-components-to-microsoft-services#21-cortana-and-search-group-policies - How to Disable Web Search in Windows 10 Start menu. Winhelponline. www.winhelponline.com. (2024).
Original: https://www.winhelponline.com/blog/disable-web-results-windows-10-start-menu
Archived: https://web.archive.org/web/20240120135454/https://www.winhelponline.com/blog/disable-web-results-windows-10-start-menu/ - Don't search the web or display web results in Search over metered connections. admx.help. (2024).
Original: https://admx.help
Archived: https://web.archive.org/web/20240120135331/https://admx.help/?Category=Windows_10_2016&Policy=FullArmor.Policies.3B9EA2B5_A1D1_4CD5_9EDE_75B22990BC21::DoNotUseWebResultsOnMeteredConnections
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Disable web results in Windows Search" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Disable web results in Windows Search" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the script name: Disable web results in Windows Search
- Check the script by clicking on the checkbox.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
- Apply
- Revert
:: Set the registry value: "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search!ConnectedSearchUseWeb"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search'; $data = '0'; reg add 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search' /v 'ConnectedSearchUseWeb' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search!ConnectedSearchUseWebOverMeteredConnections"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search'; $data = '0'; reg add 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search' /v 'ConnectedSearchUseWebOverMeteredConnections' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Suggest restarting explorer.exe for changes to take effect
PowerShell -ExecutionPolicy Unrestricted -Command "$message = 'This script will not take effect until you restart explorer.exe. You can restart explorer.exe by restarting your computer or by running following on command prompt: `taskkill /f /im explorer.exe & start explorer`.'; $warn = $false; if ($warn) { Write-Warning "^""$message"^""; } else { Write-Host "^""Note: "^"" -ForegroundColor Blue -NoNewLine; Write-Output "^""$message"^""; }"
Ijo6IERlbGV0ZSB0aGUgcmVnaXN0cnkgdmFsdWUgXCJIS0xNXFxTT0ZUV0FSRVxcUG9saWNpZXNcXE1pY3Jvc29mdFxcV2luZG93c1xcV2luZG93cyBTZWFyY2ghQ29ubmVjdGVkU2VhcmNoVXNlV2ViXCJcblBvd2VyU2hlbGwgLUV4ZWN1dGlvblBvbGljeSBVbnJlc3RyaWN0ZWQgLUNvbW1hbmQgXCJyZWcgZGVsZXRlICdIS0xNXFxTT0ZUV0FSRVxcUG9saWNpZXNcXE1pY3Jvc29mdFxcV2luZG93c1xcV2luZG93cyBTZWFyY2gnIC92ICdDb25uZWN0ZWRTZWFyY2hVc2VXZWInIC9mIDI+JG51bGxcIlxuOjogRGVsZXRlIHRoZSByZWdpc3RyeSB2YWx1ZSBcIkhLTE1cXFNPRlRXQVJFXFxQb2xpY2llc1xcTWljcm9zb2Z0XFxXaW5kb3dzXFxXaW5kb3dzIFNlYXJjaCFDb25uZWN0ZWRTZWFyY2hVc2VXZWJPdmVyTWV0ZXJlZENvbm5lY3Rpb25zXCJcblBvd2VyU2hlbGwgLUV4ZWN1dGlvblBvbGljeSBVbnJlc3RyaWN0ZWQgLUNvbW1hbmQgXCJyZWcgZGVsZXRlICdIS0xNXFxTT0ZUV0FSRVxcUG9saWNpZXNcXE1pY3Jvc29mdFxcV2luZG93c1xcV2luZG93cyBTZWFyY2gnIC92ICdDb25uZWN0ZWRTZWFyY2hVc2VXZWJPdmVyTWV0ZXJlZENvbm5lY3Rpb25zJyAvZiAyPiRudWxsXCJcbjo6IFN1Z2dlc3QgcmVzdGFydGluZyBleHBsb3Jlci5leGUgZm9yIGNoYW5nZXMgdG8gdGFrZSBlZmZlY3RcblBvd2VyU2hlbGwgLUV4ZWN1dGlvblBvbGljeSBVbnJlc3RyaWN0ZWQgLUNvbW1hbmQgXCIkbWVzc2FnZSA9ICdUaGlzIHNjcmlwdCB3aWxsIG5vdCB0YWtlIGVmZmVjdCB1bnRpbCB5b3UgcmVzdGFydCBleHBsb3Jlci5leGUuIFlvdSBjYW4gcmVzdGFydCBleHBsb3Jlci5leGUgYnkgcmVzdGFydGluZyB5b3VyIGNvbXB1dGVyIG9yIGJ5IHJ1bm5pbmcgZm9sbG93aW5nIG9uIGNvbW1hbmQgcHJvbXB0OiBgdGFza2tpbGwgL2YgL2ltIGV4cGxvcmVyLmV4ZSAmIHN0YXJ0IGV4cGxvcmVyYC4nOyAkd2FybiA9ICAkZmFsc2U7IGlmICgkd2FybikgeyBXcml0ZS1XYXJuaW5nIFwiXlwiXCIkbWVzc2FnZVwiXlwiXCI7IH0gZWxzZSB7IFdyaXRlLUhvc3QgXCJeXCJcIk5vdGU6IFwiXlwiXCIgLUZvcmVncm91bmRDb2xvciBCbHVlIC1Ob05ld0xpbmU7IFdyaXRlLU91dHB1dCBcIl5cIlwiJG1lc3NhZ2VcIl5cIlwiOyB9XCIi
Help
How to apply or restore "Disable web results in Windows Search" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1
Open Command Prompt
Open Command Prompt as Administrator. - 2
Copy code
Copy the code: - 3
Paste & run
Paste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.
These plans combine multiple privacy settings, including this one, for stronger protection.
- Disable search suggestions
- Disable Windows search data collection
- Disable OS data collection
This category focuses on enhancing privacy by disabling various search suggestions in Windows, commonly associated with Cortana. Cortana is a digital assistant int...
This category is dedicated to minimizing the personal data collected and utilized by Windows Search and Cortana. It encompasses a range of scripts designed to curt...
Disable OS data collection — to reduce data exposure leveraging important data privacy safeguard on Windows. What follows is, this guidance provides instructions t...
Same Goal
Other guides in Disable search suggestionsSee settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
History
We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.