Performance · Windows 11
Fix a Windows Search indexer that runs constantly and slows the PC
The search indexer should work in bursts and then go quiet. When it runs constantly — disk and CPU busy, fans up, search results still slow — the index is usually too big, stuck rebuilding, or indexing places it should leave alone. Shrink what it indexes first, then rebuild the index once, cleanly.
What you need
- About half an hour, plus rebuild time. Changing the indexed locations takes minutes. A full rebuild runs in the background afterward and can take hours on a large drive — the PC stays usable while it works.
- An administrator account. Restarting the Windows Search service and changing indexing options for all locations needs admin rights.
- A note of what is slow. Write down whether the whole PC stutters or only searches are slow, and whether it is worst after sign-in, after plugging in, or all day. The pattern separates a busy indexer from a stuck one.
Read the problem before you touch it
- Confirm the indexer is the busy process. Open Task Manager with Ctrl + Shift + Esc, sort by CPU and then by Disk, and look for Microsoft Windows Search Indexer or the Windows Search service near the top, returning again and again. A single busy spell after you add thousands of files is normal; an indexer at the top all day is not.
- Check whether the index is stuck rebuilding. Go to Settings > Privacy & security > Searching Windows and look at the indexing status. A count that climbs, resets, and climbs again — or a status stuck on rebuilding — means the index never finishes, so the indexer never rests. A finished index with a steady count and a still-busy indexer points at scope instead: too much being indexed.
- See how much of the drive is being indexed. In the same Searching Windows settings, check whether Windows is set to index the whole PC (Enhanced) or only the standard libraries (Classic). Enhanced mode on a drive full of project folders, virtual machines, or media archives gives the indexer a job that never ends. Microsoft explains both modes in Search indexing in Windows.
The simple fixes, in order
- Switch back to Classic indexing. In Settings > Privacy & security > Searching Windows, choose Classic so Windows indexes only your libraries and desktop, and add only the specific extra folders you genuinely search by content. Most PCs lose nothing they use and the indexer's workload drops by most of the drive.
- Exclude the folders that churn. Under the same settings, add folders to the excluded list: download caches, build output, backup staging, synced cloud folders that change constantly, and any folder whose contents change thousands of times a day. Every change re-queues indexing, so one churning folder can keep the indexer busy on its own.
- Respect the power and performance settings. On the Searching Windows page, turn on the options to respect power settings and device performance where shown, so indexing pauses on battery and backs off when the PC is busy. Then restart the PC once — a stuck indexer process often clears on a clean start, and the new scope applies from the start.
The advanced route: rebuild the index once
- Rebuild the index from Indexing Options. Open Control Panel > Indexing Options > Advanced and choose Rebuild. Windows deletes the existing index and builds a fresh one from your reduced scope. Do this after shrinking the scope, not before — rebuilding the same oversized index just repeats the work. Leave the PC on, plugged in, and idle where you can while the count climbs to its finished total.
- Restart the Windows Search service if the status never moves. Open the Services app, find Windows Search, and restart it. If its startup type has been changed to Disabled by a tuning tool, set it back to Automatic (Delayed Start) — a disabled-then-forced search cycle can thrash. If the service fails to start, note its error; a failing service is a different fault from a busy one.
- Check the drive underneath. An indexer that constantly re-reads files can be reacting to a drive that keeps reporting errors. Run a quick drive health check from an administrator terminal with
chkdsk /scanand note the result. Fix drive errors first if it reports any — no index stays healthy on a drive that does not.
End state
- The indexer works in short bursts and then goes quiet in Task Manager.
- Indexing status shows a finished index with a steady item count.
- Search still finds your documents and mail quickly — the scope was shrunk, not gutted.
When it goes wrong
- Search results got worse after switching to Classic. A folder you actually search was outside the libraries. Add that specific folder back in Searching Windows settings rather than returning to Enhanced — one folder is cheap, the whole drive is not.
- The rebuild count resets and starts over. Something is corrupting or clearing the index repeatedly — commonly an aggressive cleanup tool deleting the index database, or a failing drive. Stop any cleaner from touching the Windows Search database and run the drive check in the advanced route.
- The indexer is quiet but searches are still slow. Then the indexer was not the bottleneck. Slow results with a healthy index point at the drive itself or at search settings; test with a search inside one small folder to separate the two.
- Windows Search service will not stay running. Note the error in the Services console and in Event Viewer under Windows Logs > System. A service that crashes on start needs that error addressed; rebuilding the index will not fix a service that cannot run.
Related fixes
-
Fix an NVMe SSD that runs hot and slows down under long copies
An NVMe drive that starts a big copy at full speed and crawls after a few minutes is usually protecting itself from heat: the controller slows down on purpose. Confirm the temperature pattern first, then fix the cooling — airflow and a heatsink do more than any setting.
-
Fix Windows Search results that list files you already deleted
When Search keeps offering files you deleted, the search index is stale — it is a catalog that has not caught up, not files secretly still on the drive. Confirm the file is really gone, restart the search service once, then rebuild the index so the catalog matches the disk again.
-
Fix a PC whose fans ramp up and down constantly at idle
Fans that surge and settle every few seconds on an idle desktop are chasing small temperature swings as background tasks wake the processor in bursts. Find the waking task first, smooth the cooling settings second, and adjust the fan curve itself only once the temperature is steady.
-
Fix a PC that runs out of memory at idle with nothing big open
Memory nearly full on an empty desktop means something is holding memory it should have given back — usually a driver, a background utility, or a browser left running for days. Read the memory breakdown first; the fix depends on which kind of memory is doing the growing.
Sources
- Microsoft Support, Search indexing in Windows — Classic versus Enhanced indexing and how scope changes the indexer's workload.
- Microsoft Support, Tips to improve PC performance in Windows — background activity, startup load, and the standard performance checks around a busy indexer.