sodcalculator

10 Tech How-To

Stop Windows Search From Indexing Folders You Don’t Need

Guide 10-7451 · Updated · Step by step

Windows Search can slow down your PC and return unwanted results when it indexes folders you never use. This guide shows you how to exclude specific folders from indexing, which speeds up searches and reduces background disk activity. You’ll need a Windows account with administrator privileges to change the indexing options.

What You’ll Need

  • Administrator access to your Windows PC
  • Knowledge of which folders you want to exclude (e.g., a large Downloads folder, a backup drive, or system folders)

Step-by-Step

  1. Open Indexing Options. Press Windows + R, type control /name Microsoft.IndexingOptions, and press Enter. Alternatively, search for “Indexing Options” in the Start menu and open it.
  2. Click the “Modify” button. In the Indexing Options window, you’ll see a summary of the current index location and status. Click the Modify button near the bottom. If prompted by User Account Control, click Yes.
  3. Review the included locations. The “Indexed Locations” dialog shows a tree of locations. Expand drives and folders to see what’s currently included. By default, most of your user profile folders (Documents, Pictures, etc.) are included, along with Outlook data and other special folders.
  4. Uncheck the folders you want to exclude. Navigate to the folder you don’t need indexed (e.g., C:\Users\YourName\Downloads) and uncheck its checkbox. The checkmark will disappear, and the folder will be excluded. You can also uncheck an entire drive if you don’t want it indexed at all.
  5. Click OK. After making your selections, click OK. Windows will ask if you want to rebuild the index; choose Yes if you want the changes to take effect immediately, or No to apply them gradually. Rebuilding can take a while, but it ensures the index is accurate.
  6. Verify the change. After a few minutes, reopen Indexing Options. The list of included locations should no longer show the folders you unchecked. You can also check the index size and item count in the main window—it should decrease.

Common Mistakes

  • Excluding a parent folder but not its subfolders. If you uncheck a drive but leave subfolders checked, those subfolders will still be indexed. Make sure you expand the tree and uncheck every specific folder you want to exclude.
  • Forgetting that some folders are indexed by default. Even if you exclude a folder, Windows may still index certain system files or the Start menu. That’s normal and doesn’t affect your personal folder exclusions.
  • Not rebuilding the index. If you don’t rebuild, the old index entries remain until they expire, which can take days. This makes it look like your exclusion didn’t work.
  • Excluding a folder you actually need. If you exclude your Documents folder, searches in File Explorer won’t find files there. Be sure you only exclude folders you truly don’t need to search.

Tips

  • Exclude large, rarely searched folders. For example, a folder full of old backups or a media library you rarely search can be safely excluded to save indexing resources.
  • Use file type exclusions instead. If you only want to exclude certain file types (like .tmp or .log), go to Indexing Options > Advanced > File Types and add the extensions you want to exclude. This is more granular than excluding whole folders.
  • Consider excluding network drives. Indexing network locations can slow down your PC and the network. Unless you frequently search those files, exclude them.
  • Monitor index performance. If you notice high disk usage after changes, open Task Manager and check the “Search Indexer” process. If it’s constantly active, you may have too many included locations.

Troubleshooting

If the excluded folder still appears in search results, or if indexing doesn’t seem to change, try these steps:

  • Check if the folder is still listed. Reopen Indexing Options and verify the checkbox is unchecked. Sometimes Windows re-adds folders after updates.
  • Rebuild the index manually. In Indexing Options, click Advanced, then under “Troubleshooting,” click Rebuild. This forces a full re-index and removes old entries.
  • Restart Windows Search service. Press Windows + R, type services.msc, and press Enter. Find “Windows Search” in the list, right-click it, and select Restart. This can resolve stuck indexing states.
  • Check for policy restrictions. If you’re on a work or school PC, group policies may prevent changing indexing options. Contact your IT administrator if you can’t modify the settings.
  • Verify the folder isn’t a library. If the folder is part of a library (like Documents), you may need to remove it from the library instead. Right-click the library in File Explorer, select Properties, and remove the folder from the library’s included locations.

Frequently Asked Questions

Will excluding a folder delete my files?

No. Excluding a folder from indexing only stops Windows from cataloging its contents for search. The files remain on your disk and accessible normally.

How long does it take for the exclusion to take effect?

If you choose to rebuild the index, it can take anywhere from a few minutes to a few hours depending on the size of your indexed locations. If you don’t rebuild, it may take a few days for the index to update automatically.

Can I exclude a folder on an external drive?

Yes. When the drive is connected, you can uncheck it in the Indexed Locations tree. However, Windows may re-add it when you reconnect the drive. You may need to repeat the exclusion each time.

Does excluding folders speed up my PC?

It can, especially if you have a large number of files in those folders. The Search Indexer uses CPU and disk resources, so reducing the scope of indexing can lower background activity.

Why does Windows still show results from an excluded folder?

If you didn’t rebuild the index, old entries may remain temporarily. Also, some apps (like Outlook) have their own indexing that may still show results. Check the folder’s properties to ensure it’s not a library location.

Can I exclude a folder from the Start menu search?

Yes, the same indexing options apply to Start menu searches. Excluding a folder from indexing will remove its contents from Start menu search results.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →