To me, one of the most useful features of Windows is the Search you get by hitting the Windows key on your keyboard and then typing whatever you want. This is the way to make it work for you, instead of earning money for Microsoft.

The Problem

Letting us open programs or files on our own PC’s doesn’t earn Microsoft any money, so they gradually built ads and web searches into their search, making it slow and extremely unreliable.

The Solution

  • Open regedit.
  • Head to Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search.
  • Edit (or create) the DWORD value BingSearchEnabled and set its value to 0.
  • Reboot (maybe a logout would be sufficient but just to be sure).
  • Enjoy lightning-fast search on your local files, folders, and applications.

UPDATE 2025-09-17: Disable file contents indexing

A commenter on Hacker News asked how to disable file contents indexing, keeping only filename search. I haven’t tried this myself, but from the official Microsoft documentation:

  • Open Indexing Options from Control Panel or searching for it from Start.
  • Click the Advanced button
  • Go to the File Types tab
  • Find the file extension you want to change and change the option from Index Properties and File Contents to Index Properties Only.
  • Click OK and let the index rebuild.