sodcalculator

10 Tech How-To

Windows 11 search how to control automatic indexing of frequently used folders?

Guide 10-60775 · Updated · Step by step

To control automatic indexing of frequently used folders in Windows 11, you adjust the Search indexing settings in the Settings app, either by adding or removing folders from the indexed locations list or by turning off enhanced search entirely. This article explains the indexing options, how to customize them, and what happens when you do.

What Is Windows Search Indexing?

Windows Search uses an index—a database of file names, content, and metadata—to return results almost instantly. Without it, every search would need to scan your entire drive, which is slow. The index is built and updated automatically in the background, and by default Windows indexes only certain locations: your user profile (Documents, Pictures, Desktop, etc.), Start menu, and some app data. Folders you frequently access may or may not be included, depending on where they live on your drive.

Windows 11 offers two indexing modes:

  • Classic search – indexes only the locations listed in the indexing options. This is the default for most users.
  • Enhanced search – indexes your entire PC, including all folders and drives. This mode can be turned on in Settings > Privacy & security > Searching Windows.

If you want to control which frequently used folders are indexed, you must either add them to the classic list or switch to enhanced mode and then exclude folders you don’t want indexed.

How to See Which Folders Are Indexed

To view the current indexing scope:

  1. Open Settings (Win + I) and go to Privacy & security > Searching Windows.
  2. Under “Find my files,” you’ll see whether “Classic” or “Enhanced” is selected.
  3. Click “Customize search locations here” (in classic mode) or “Exclude folders” (in enhanced mode) to see the list of included or excluded folders.

The classic mode’s list is managed through the classic Control Panel applet “Indexing Options.” You can open it by typing “Indexing Options” in the Start menu. That window shows the summary of indexed locations and lets you modify them.

How to Add or Remove Frequently Used Folders

If you want to index a folder that isn’t currently included, you have two paths:

Classic Mode: Add Specific Folders

  1. Open Indexing Options (Control Panel).
  2. Click Modify.
  3. In the “Change selected locations” dialog, expand the drive tree and check the folders you want to index. Uncheck the ones you don’t want.
  4. Click OK. Windows will rebuild the index for the changed locations.

Note: If a folder is inside an already-indexed parent (like your user profile), it’s already indexed. You only need to add folders that are outside the default scope, e.g., a folder on D:\ or in another user’s profile.

Enhanced Mode: Exclude Folders You Don’t Want

  1. Go to Settings > Privacy & security > Searching Windows.
  2. Select Enhanced.
  3. Under “Exclude folders,” click Add an excluded folder and pick the folders you want to keep out of the index.

Enhanced mode indexes everything, so if you have a folder with sensitive or irrelevant content, you must exclude it manually.

Why Would You Want to Control Indexing?

There are several reasons to tweak which folders are indexed:

  • Performance – Indexing a huge number of files consumes CPU and disk I/O, especially during initial indexing or when files change frequently. If you have a large folder that you rarely search, excluding it speeds up indexing and reduces background activity.
  • Privacy – The index stores file contents and metadata. If you have sensitive files, you may not want them searchable by anyone who uses your PC.
  • Storage – The index database can grow large (hundreds of MB or more). Limiting indexed locations keeps the index smaller.
  • Search relevance – If you have many files, including only the folders you actually search can make results cleaner and more relevant.

Common Problems and Misconceptions

Misconception: “Indexing slows down my PC permanently.” Indexing runs in the background at low priority. It only causes noticeable slowdowns when a large number of files are added or changed at once (e.g., after a major update or when you copy tens of thousands of files). Once the index is built, it updates incrementally and is usually unnoticeable.

Problem: Search doesn’t find files in a folder I added. If you added a folder in classic mode but still can’t find files, the index may not have finished building. You can check the status in Indexing Options—it shows “Indexing complete” or “Indexing speed” and the number of items remaining. Also, ensure the folder’s contents are actually indexed (e.g., file types that are excluded by default, like certain extensions, won’t be searched).

Problem: I can’t add a network folder. By default, Windows does not index network locations. You can map a network drive and then add that drive to the indexed locations, but it must be available and you may need to enable “Index network files” in advanced settings (though this is not always supported).

Problem: Excluded folders still show up in search. If you’re in enhanced mode and excluded a folder, but search still returns results from it, check that the exclusion was applied correctly. Also, some system or app files may still appear because they are indexed by other means (e.g., file properties).

How to Rebuild the Index Completely

If search is behaving oddly—missing files, returning stale results, or consuming too much CPU—you can rebuild the index from scratch. This forces Windows to re-scan all indexed locations and create a fresh database. It can take a few hours for large drives.

  1. Open Indexing Options.
  2. Click Advanced.
  3. Under “Troubleshooting,” click Rebuild.
  4. Confirm in the dialog. The index will be deleted and recreated.

During the rebuild, search results may be incomplete until it finishes.

Frequently Asked Questions

How do I stop Windows from indexing a specific folder?

In classic mode, open Indexing Options, click Modify, and uncheck the folder. In enhanced mode, go to Settings > Privacy & security > Searching Windows, and add the folder to the excluded list.

Does indexing affect battery life on a laptop?

Yes, indexing uses CPU and disk activity, which consumes battery. However, Windows pauses indexing when on battery power by default (you can check in Advanced settings). If you’re concerned, you can limit indexed locations or set indexing to only run when on AC power.

Can I index a folder on an external drive?

Yes, but only if the drive is connected. When the drive is disconnected, the index for that drive is removed. If you reconnect it, Windows will re-index it. This can be slow for large drives, so you might want to exclude external drives unless you need to search them often.

Why does my search still show files from a folder I excluded?

Check that you’re in the correct mode. If you’re in classic mode, the exclusion applies only to the classic index. If you’re in enhanced mode, the exclusion list is separate. Also, some file types (like .txt or .log) might be indexed by other services (e.g., Windows Search for file properties). To be sure, try excluding the folder and then rebuilding the index.

Is it safe to disable Windows Search indexing entirely?

You can turn off indexing by stopping the Windows Search service (WSearch) and setting it to disabled. This will make search significantly slower because Windows will have to scan files on the fly. It’s safe, but not recommended unless you rarely use search or have an alternative search tool. If you disable it, the index database remains on disk but is not used.

What is the difference between “Classic” and “Enhanced” search?

Classic search indexes only the locations you specify (by default, your user profile and some system folders). Enhanced search indexes all folders on your PC, including system files and other drives. Enhanced mode gives you broader results but uses more disk space and CPU. You can switch between them in Settings > Privacy & security > Searching Windows.

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 →