Skip to content

How-ToOS

How to Change Search Indexing Options in Windows 11

Control what Windows 11 search indexes: Classic vs Enhanced mode, excluded folders, Indexing Options locations, file-type settings and how to rebuild a broken index.

By , Systems & Technical Editor

6 min read

How to Change Search Indexing Options in Windows 11

Windows Search feels instant when it works because it isn't really searching your drives at all. It looks things up in an index, a catalogue of file names, paths, properties and (for text files) contents that Windows builds in the background. Tell the indexer to watch the right folders and search finds things straight away; point it at the wrong ones and you get missing results, or an indexer that keeps your SSD and CPU busy cataloguing folders you never search. This guide walks through every setting that controls the index, based on Microsoft's own support and troubleshooting documentation, checked on 28 November 2026.

What the index actually does

Microsoft describes indexing as looking at files, email messages and other content on your PC and cataloguing information such as the words and metadata in them. When you search, Windows checks that index of terms rather than crawling every folder. By default all the properties of indexed files are included, including file names and full paths, and for files that contain text their contents are indexed too, so you can search for words inside documents.

It isn't just the Start menu search box that uses it. Microsoft lists File Explorer, Microsoft Edge (for history results in the address bar) and Outlook (when searching offline) as apps that use the index, and installed apps can add their own data to it. Outlook, for example, adds synced email by default.

According to Microsoft, the first indexing run can take up to a couple of hours, after which Windows keeps the index up to date in the background, re-indexing only data that has changed.

Step 1: Open the search indexing settings

  1. Open Settings (press Start and type Settings).

  2. Select Privacy & security.

  3. Choose the search indexing page. Microsoft's support article calls it Search, while its troubleshooting documentation calls it Searching Windows, so the label may differ slightly depending on your Windows 11 build.

This page shows the indexing status and the number of items indexed, plus the Find my files options and the excluded-folders list.

Step 2: Choose Classic or Enhanced

Under Find my files there are two modes:

  • Classic indexes your Documents, Pictures and Music folders plus the desktop by default. Microsoft says it gives a balance between search performance and system resource usage, and it suits people who keep their files in those standard places.

  • Enhanced indexes your entire PC, including all user folders and files. Microsoft says it gives more comprehensive results but may use more system resources.

Our advice: if you keep everything in your user folders, stay on Classic. If you have a second SSD full of project files, or you save work in folders scattered around your drives, either switch to Enhanced or, better, stay on Classic and add only the extra folders you actually need (Step 4). That keeps the index lean while still covering your data.

Whichever mode you use, you can tell Windows to skip specific folders. On the same Settings page, select Add an excluded folder and choose the folder.

Good candidates are folders full of files you'd never type a search for: game libraries, downloaded installers, virtual machine disks, build output from coding projects, or a backup destination drive. Microsoft's troubleshooting guidance recommends excluding folders as a way to reduce the number of items indexed and the size of the index database.

Step 4: Fine-tune locations in Indexing Options

For more control, open the classic Indexing Options dialog. In Settings you'll find it under Advanced indexing options (Microsoft's support pages also reach it via Customize search locations under Find my files with Classic selected).

  1. Select Modify.

  2. In Indexed Locations, tick folders you want included and untick any you don't.

  3. Select OK. Windows will start indexing the new locations in the background.

This is the place to add, say, a D:\Projects folder without switching the whole PC to Enhanced mode.

Step 5: Choose how each file type is indexed

Windows lets you decide, per file extension, whether to index a file's properties only or its properties and contents.

  1. In Indexing Options, select Advanced.

  2. Open the File Types tab.

  3. Select an extension in the list and choose an option under How should this file be indexed?

  4. Select OK, then Close.

With properties only, you can still find the file by name, just not by words inside it. Microsoft notes that skipping contents can reduce the size of the index but can make some files harder to find. It's a sensible change for large text-based files you only ever look up by name, such as logs or data exports. If you work with an unusual file format, you can also add its extension here so Windows indexes it. If you can't see extensions in File Explorer, see how to show file extensions and hidden files in Windows 11.

Step 6: Rebuild the index if search is broken

If search keeps missing files that are definitely in indexed locations, rebuild the index:

  1. Open Indexing Options and select Advanced.

  2. Under Troubleshooting, select Rebuild and confirm.

Windows deletes and recreates the index from your current locations. Microsoft's troubleshooting article says to let the indexer run for up to 24 hours to rebuild the index database, so results will be incomplete for a while. Do it when you can leave the PC on, and if it's a laptop, plug it in: Microsoft notes indexing can pause to conserve battery power, and that a busy device slows indexing down. Microsoft also recommends a rebuild after you change locations or exclusions, so that the index reflects your changes.

If search itself is failing rather than just missing files, our guide on how to fix Windows search not working in Windows 11 covers the other fixes.

How big should the index be?

Microsoft's rule of thumb is that the index will be less than 10 per cent of the size of the indexed files. It can be a larger share if you index lots of very small files (under 4 KB) or source code.

Its troubleshooting documentation gives some useful reference points. A typical user's PC indexes fewer than 30,000 items and a power user's might reach 300,000. Above 400,000 items you may begin to see performance problems, and the indexer can index up to 1 million items, beyond which it may fail or use a lot of CPU, memory or disk space. You can see your current count on the search indexing page in Settings. If yours is in the hundreds of thousands, excluding folders is the quickest fix.

The index database lives in C:\ProgramData\Microsoft\Search\Data\Applications\Windows, as Windows.db on Windows 11. Microsoft advises checking the file's Size on disk in Properties rather than the Size figure, because compression can make the listed size inaccurate. Running low on space generally? See how to free up disk space in Windows 11.

Copilot+ PCs and semantic indexing

On Copilot+ PCs, Windows also performs semantic indexing alongside the traditional index, so a search can return related items as well as exact matches. Microsoft says semantic indexing is on by default, the data stays on your PC and isn't used to train AI models, and you can exclude locations or file types under the same advanced indexing options. Microsoft recommends keeping a Copilot+ PC plugged in until the first index completes. Our guide to improved Windows Search on Copilot+ PCs covers that side in more detail.

Prefer not to rely on the index?

Some people find a dedicated file-name search tool faster for hunting down files anywhere on a drive. We compare the two approaches in Everything vs Windows Search, and explain how to use Everything file search. The Windows index is still worth tuning, though, because File Explorer, Edge and Outlook depend on it.

The bottom line

For most people, Classic mode plus a couple of extra folders added through Indexing Options gives full search coverage without indexing the whole PC. Exclude game libraries, installers and VM or build folders, switch big text files you only look up by name to properties-only, and if results go missing, rebuild the index from Indexing Options > Advanced and leave the PC on until it finishes.

Sources

  1. 01Microsoft Support: Search indexing in Windows
  2. 02Microsoft Learn: Troubleshoot Windows Search performance

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

The 10 Best Microsoft PowerToys Utilities in 2026

Best Picks

The 10 Best Microsoft PowerToys Utilities in 2026

PowerToys now has more than 30 utilities. The ten most useful for PC owners in 2026, from Workspaces, FancyZones and PowerRename to File Locksmith and Power Display.

Hannah Vance6 min

How to Use OpenClaw with Ollama for a Private AI Assistant

How-To

How to Use OpenClaw with Ollama for a Private AI Assistant

OpenClaw is an open-source AI assistant you message through WhatsApp, Telegram, Slack or Discord, and Ollama can now set it up in one command. Here's how to launch it, raise the context length for local models, add web search and messaging apps, and lock it down.

Marcus Thorne5 min