Disable Web Search in Taskbar in Windows 10 Version 2004

Search Icon Big 256

How to Disable Web Search in Taskbar in Windows 10 Version 2004

Windows 10 has a search box in the taskbar, which can be used to launch Cortana and perform the search by keyboard or by voice. Once you type something in the search box on the Windows 10 taskbar, search results show but web search results are mixed with local search results, Store apps and content from Bing. Here is how to disable the Internet and Store apps from being searched via the taskbar.

In Windows 10 versions prior to April 2018 Update version 1803, it was relatively easy to get rid of the web search feature. Depending on the OS version, there was an option in Cortana, a Registry tweak, or something like that. Regardless of the version, you could enforce the Group Policy option to disable web search.

This has changed in Windows 10 version 1803. Intentionally or not, Microsoft has broken the Group Policy tweaks. However, Windows 10 version 1803 had its own, unique tweak that could be used to disable of the web search feature.

Unfortunately, in Windows 10 version 2004 everything above has stopped working, so Windows enthusiasts have created a PowerShell script that blocks the online search with Windows Firewall, making Windows Search operate in offline mode. The script is reviewed in the last part of this post.

Finally, Microsoft has restored the missing functionality after releasing a few cumulative updates, and added a new Group Policy option and a corresponding Registry tweak in Windows 10 version 2004. Here's how it can be done.

To Disable Web Search in Taskbar in Windows 10 Version 2004,

  1. Open the Registry Editor app.
  2. Go to the following Registry key: HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer. See how to go to a Registry key with one click. If this path is missing, then create the missing parts manually.
  3. On the right, create a new 32-Bit DWORD value DisableSearchBoxSuggestions. Note: Even if you are running 64-bit Windows you must still create a 32-bit DWORD value.
  4. Set its value data to 1.
  5. To make the changes done by the Registry tweak take effect, you need to sign out and sign in to your user account.

You are done! Later you can restore the Web Search feature by deleting the DisableSearchBoxSuggestions value in the Registry.

To save your time, you can download the following ready-to-use Registry files:

Download Registry Files

The undo tweak is included.

However, if your Windows 10 includes the Local Group Policy editor app (gpedit.msc), you can disable the Web Search using its user interface. Windows 10 Pro, Enterprise, or Education editions come with the Local Group Policy Editor app available in the OS out of the box.

Disable Web Search in Taskbar in Windows 10 Version 2004 with Group Policy

  1. Open the Local Group Policy editor app, or launch it for all users except Administrator, or for a specif user.
  2. Navigate to User Configuration > Administrative Templates > Windows Components > File Explorer on the left.
  3. On the right, find the policy setting Turn off display of recent search entries in the File Explorer search box.
  4. Double-click on it and set the policy to Enabled.

You are done.

As mentioned above, there is also the initial solution that involves PowerShell and Windows Firewall. If for some reason the tweak reviewed above doesn't work for you, try the script.

Disable Web Search in Taskbar in Windows 10 Version 2004 with PowerShell

  1. Download the following script: Download Script. Courtesy of @DefinitelyYou.
  2. Extract it from the ZIP archive and unblock the PS1 file.
  3. Open PowerShell as Administrator.
  4. If required, Change the execution policy to run unsigned scripts.
  5. Type the full path to your PS1 file in the PowerShell console running as Administrator, and hit the Enter key.
  6. Restart Windows 10.

You are done! The Search process will be prevented from connecting to the Internet. The following screenshots demonstrate the web search feature disabled.

According to the author, this script adds the rules to the normal machine Windows Firewall rules ("PersistentStore"). However, even though it's adding them to the normal machine firewall rules – instead of Group Policy firewall rules ("LocalHost", which have a higher priority) – they should still have priority over the "Allow" rules Windows adds to the firewall due to "Block" rules having a higher priority over "Allow" rules.

Undo the change

  1. Open Windows Security.
  2. Click on the icon Firewall & network protection.
  3. On the next page, click on the link Advanced settings.
  4. Click on Inbound Rules on the left.
  5. Delete the "Windows Search (MyRule-In)" from the inbound rules.
  6. Now, click on Outbound Rules on the left.
  7. Delete the "Windows Search (MyRule-Out)" from the outbound rules.
  8. Restart Windows 10.

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

8 thoughts on “Disable Web Search in Taskbar in Windows 10 Version 2004”

      1. same thing here, it doesn’t work

        the application package “Microsoft.Windows.Search_cw5n1h2txyewy” does not exist, nor does SearchApp.exe, so the firewall rules seem to be pointing at a SID that does nothing.

  1. Thanks a lot for the tutorial, this finally worked, as Microsoft broke the Group Policy Editor and Registry methods. I didn’t even need to reboot the computer, restarting Explorer was enough.

  2. Ok, to block in Comodo add a firewall rule to block in and out going traffic on:
    %windir%\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe

  3. The Group Policy method does work for me in Windows 10 Enterprise 2004 so I fear this is very much a deliberate decision by Microsoft to make it impossible to properly turn off Web Search in consumer Windows editions.

  4. Date 06/13/23
    Win10 Version – 22H2
    Win10 OS Build -19045.2965

    I used the first suggestion here:

    “HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer”

    Except for one thing, when I hunted down that “Explorer” String value at the end there, it was not there under under HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows

    Wasn’t there. So what was I supposed to do then? So I right clicked on the “Windows” key and added the String Value “Explorer” myself. Then in the “Explorer” field (right pane) I added that D_Word Value “DisableSearchBoxSuggestions” then modified it from (0) to (1) and it worked hahaha!!!! I can’t believe it worked. No more pesky web results in my PC SEARCH. For crying out loud, you’d think the geniuses would at least give the end user an on-off toggle switch on this crap. If I want to search the web I’ll bring up my own stinking web browser and SEARCH THE WEB.

    They may as well include PC SEARCH results FROM YOUR PC contents in Edge when you search THE WEB in a web browser. Just as stupid.

Leave a Reply

Your email address will not be published.

Exit mobile version
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.