- New Group Policy settings in Windows 11 23H2 - Mon, Nov 20 2023
- Windows Server 2025 will support SMB over QUIC in all editions - Fri, Nov 17 2023
- Switch between Windows Terminal and the legacy console - Thu, Nov 16 2023
It has been a long tradition for Microsoft to ship all sorts of add-ons with Windows to gain market share in certain applications or online services. One of these services is Bing, which is not only set as the default search engine in Edge but which Microsoft has also integrated into the local search when you call it from the taskbar or the Start menu.
It cannot be easily removed from there because Microsoft has not provided a related GUI option since Windows 10 1703. In the Settings app, you can find several options for configuring the local search in Windows 11 but none for disabling the web results.
Hide web search via GPO
Group policies have long offered a setting for precisely this purpose. It is called Don't search the web or display web results in Search. It can be found under Computer Configuration > Policies > Administrative Templates > Windows Components > Search.
However, it has two limitations: first, it only applies to the Enterprise and Education editions, and second, it only exists in the Computer Configuration section.
If you use the Pro edition, there is an alternative setting whose description does not indicate this purpose. It is Turn off display of recent search entries in the File Explorer search box and can be found under User Configuration > Policies > Administrative Templates > Windows Components > File Explorer.
It can be used to hide the web search results in the Enterprise and Education editions, as well as in Pro. Unlike the above setting, it affects users and not computers.
Set registry key directly
Since the Home edition does not support group policies, you have to create the appropriate registry key directly. We use the one that corresponds to the second group policy mentioned above.
While the GPO adds this key under the HKCU:\ hive, the following script creates it under HKLM:\. In this way, it hides the web search for all users on this machine:
if( -not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer)){ New-Item HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer } Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer ` -Name "DisableSearchBoxSuggestions" -Value 1 -Type DWord
Running these commands requires a PowerShell session with elevated privileges.
Summary
Since Windows 11 does not offer a GUI option to disable web search, you have to use Group Policy to do so. If you are using the Enterprise or Education editions and want to disable this feature for all users on a machine, the Don't search the web and display web results in Search setting will do the job.
If you are using the Pro edition or if you want to disable the web search for certain users only, you can use the setting Turn off display of recent search entries in the File Explorer search box.
Subscribe to 4sysops newsletter!
If you set the registry key DisableSearchBoxSuggestions under HKLM:\ hive to the value 1, you can disable the web search for all users of a PC for all editions of Windows 11.
Read the latest IT news and community updates!
Join our IT community and read articles without ads!
Do you want to write for 4sysops? We are looking for new authors.
Microsoft is making everything more difficult to manage in their OSes in the name of marketing and data gathering on their users. Trying to use some of their applications in an air-gapped environment has become a nightmare of custom xml files and offline syncs (I really miss plan old ISOs and msi installers with custom install options!). The only thing that keeps me on their OS is the games right now and with Wine/Proton making major strides on that side of the house, it’s looking more and more likely that I’ll finally make the full on jump to Linux in the next year or two (especially since I”m still the Admin of my Linux box unlike Windows now where the Admin on a system is restricted from doing quite a few things in the name of “security”).
And here is yet another compelling reason to avoid Win11 unless you are a fan boy or a developer.
this is another sad state for Windows users
Most home users won’t know what to-do, therefore they’ll leave it as, and will eventually get frustrated with useless results
as it’s going Microsoft wants to control everything, and I thought Apple and Google were bad
Considering this search feature is becoming inceasingly exploitable, it is probably best to disable by default. If i were a CISO of one of Microsoft’s big licensing customers I would be pushing back hard on this “feature” for greatly increasing your system’s attack surface unnecessarily. It has no value to the end user except providing a security risk.
https://thehackernews.com/2023/07/hackers-abusing-windows-search-feature.html?m=1