How to Stop Windows 11 from Indexing the Contents of Your Files

The search function in Windows 11 is incredibly powerful. By default, it doesn’t just search for the names of your files; it actually indexes and reads the contents inside your Word documents, PDFs, and text files. If you forget what you named a specific financial report, you can just search for a sentence that was written inside it, and Windows will find it.

However, this deep content indexing has two major drawbacks. First, it constantly consumes CPU and disk resources in the background as it reads every new file you create, which can drain laptop battery life. Second, it presents a privacy risk; sensitive keywords from private documents might surface in the Start Menu search results.

If you prefer a faster, more private, name-only search experience, you can disable content indexing.

How to Disable File Content Indexing

You cannot change this setting from the modern Windows 11 Settings app; you must use the legacy Indexing Options tool.

  1. Click the Start button on your taskbar, type Indexing Options into the search bar, and hit Enter.
  2. A small Control Panel window will open. Click the Advanced button at the bottom. (You may need to provide administrator privileges).
  3. In the Advanced Options window, click on the File Types tab at the top.
  4. You will see a massive list of file extensions. At the bottom of this window, locate the section titled How should this file be indexed?
  5. The default selection is usually “Index Properties and File Contents.” Change the selection by clicking the radio button next to Index Properties Only.
  6. Click OK.

Rebuilding the Index

Changing the setting above prevents Windows from reading the contents of new files going forward. However, it still remembers the contents of all your old files. To completely purge the old content data and reclaim your privacy and storage space, you must rebuild the index.

  1. You should now be back on the main “Indexing Options” window. Click the Advanced button again.
  2. Ensure you are on the Index Settings tab.
  3. Look for the section labeled “Troubleshooting” in the middle of the window.
  4. Click the Rebuild button next to “Delete and rebuild index.”
  5. A warning prompt will appear telling you that rebuilding might take a long time. Click OK.

The indexing service will restart and begin building a brand new, lightweight index consisting only of file names and metadata properties. Your system search will remain fast, but your file contents will remain private.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.