Disable Web Search in Taskbar in Windows 10 Version 2004

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.  

Finally, in Windows 10 version 2004 everything above has stopped working. Microsoft has updated the Search feature, so it no longer respect the mentioned options.

As a workaround, Windows enthusiasts have created a PowerShell script that blocks the online search with Windows Firewall, so it operates in offline mode.

Block Windows 10 Version 2004 Web Search 1

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

  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.Block Windows 10 Version 2004 Web Search 3
  5. Type the full path to your PS1 file in the PowerShell console running as Administrator, and hit the Enter key.Block Windows 10 Version 2004 Web Search 4
  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.

Disable Web Search In Windows 10 Version 2004

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.Windows 10 Windows Security Network
  3. On the next page, click on the link Advanced settings.Windows 10 Windows Security Network Advanced Settings Link
  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.Block Windows 10 Version 2004 Web Search 2
  8. Restart Windows 10.

That's it.

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

  1. ana

    doesn’t work

    1. Sergey Tkachenko Post author

      What has happened when you blocked the search from accessing the Internet?

      1. a

        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.

  2. Cássio

    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.

  3. Blyatman

    What happens if you are using a 3rd Party firewall like Comodo?

  4. Blyatman

    Ok, to block in Comodo add a firewall rule to block in and out going traffic on:

  5. alastair87

    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.


Leave a Reply

Your email address will not be published. Required fields are marked *