Don’t want Windows to index the file contents of a specific drive for search? Here’s how to enable or disable this feature in drive properties.
Quick steps: Right-click on the drive and select “Properties”. Check or uncheck the “Allow files on this drive to have contents indexed in addition to file properties” checkbox to enable or disable file content indexing for that specific drive.
By default, Windows Search automatically indexes file properties like the name and file content (the content inside the file) to make your search results better. For example, if you have a text file, Windows can by default read and index its content, so you can search that file not only by its name but also by its content. While this is a good thing, it significantly increases the size of the search index and the time it takes to fully index all the data on your computer. Additionally, there might be situations where you don’t want Windows to index file contents.
Thankfully, you can use the drive properties to enable or disable file content indexing for a specific drive in Windows 11. In this quick, easy guide, I’ll show you how to do it in simple steps. Let’s get started.
Enable or Disable File Content Indexing for a Specific Drive
First, open the File Explorer by pressing the “Windows key + E” shortcut. You can also click the File Explorer icon on the taskbar, if it is pinned. Once it opens, select “This PC” on the left sidebar. This action displays all your drives on the right main panel.

Here, right-click on the drive for which you want to enable or disable file content indexing. Next, select the “Properties” option.

Go to the “General” tab in the “Properties” window, do the following, and click the “OK” button to save changes.
- Enable file content indexing: Select the “Allow files on this drive to have contents indexed in addition to file properties” checkbox.
- Disable file content indexing: Uncheck the “Allow files on this drive to have contents indexed in addition to file properties” checkbox.

That’s it. Depending on whether you selected the checkbox, Windows will either index or not index the file contents on that drive. Keep in mind that while this reduces the search index size, frees up disk space, and even improves your privacy, it also reduces the search accuracy as Windows no longer has the context and has to rely on file properties only.
Write down below any questions or comments you have. I’ll respond as quickly as possible.
Thank you,
Vamsi.