Fix Windows 11 Search Indexer High CPU Usage
In this article
High CPU usage from the Windows Search Indexer (SearchIndexer.exe) is a common issue that can slow your PC to a crawl. The indexer is supposed to run in the background, building an index of your files so searches are fast. But when it gets stuck, encounters a corrupt file, or is triggered by a large number of changes, it can consume excessive CPU for extended periods. The fix usually involves rebuilding the index, adjusting what gets indexed, or restarting the service. Before you begin, make sure you have administrator rights and a recent backup of important files (though none of these steps delete personal data).
What You'll Need
- Administrator access to your Windows 11 PC.
- A recent backup of important files (optional but recommended).
- Patience: rebuilding the index can take from minutes to hours, depending on the number of files.
Step-by-Step
- Restart the Windows Search service. Press
Win + R, typeservices.msc, and press Enter. In the Services window, scroll down to Windows Search, right-click it, and select Restart. If it is not running, select Start. This alone often stops a runaway indexer. - Check for Windows updates. Go to Settings > Windows Update and click Check for updates. Install any available updates, as Microsoft frequently releases fixes for search-related issues.
- Run the Search and Indexing troubleshooter. Open Settings > System > Troubleshoot > Other troubleshooters, then click Run next to Search and Indexing. Follow the on-screen prompts. This tool can automatically detect and fix common problems.
- Rebuild the search index. Open Control Panel (search for it in the Start menu), then go to Indexing Options. Click Advanced, then click Rebuild under Troubleshooting. Confirm by clicking OK. The index will be deleted and rebuilt from scratch. This is the most effective fix for a stuck indexer, but it may take a while.
- Limit what gets indexed. In Indexing Options, click Modify and uncheck folders you don't need to search frequently (e.g., large downloads or temporary folders). Fewer files mean less work for the indexer.
- Exclude specific file types. In Indexing Options, click Advanced, then switch to the File Types tab. Uncheck extensions for file types you rarely search (e.g., .zip, .iso). This reduces the indexing load.
- Check for corrupt files. Open Command Prompt as administrator (search for
cmd, right-click, select Run as administrator). Runsfc /scannowand thenDISM /Online /Cleanup-Image /RestoreHealth. These commands repair system file corruption that might affect the indexer. - Disable Windows Search temporarily. If the problem persists and you rarely use Windows Search, you can disable the service. In services.msc, right-click Windows Search, select Properties, set Startup type to Disabled, and click Stop. Note that this will break search in File Explorer and some apps.
- Restart your PC. A simple restart can clear temporary glitches and reset the indexer's state.
Common Mistakes
- Rebuilding the index too often. It's a heavy operation; only do it when necessary.
- Disabling the service without understanding the consequences. Windows Search powers not just File Explorer but also Start menu search and some apps. Disable only as a last resort.
- Ignoring file corruption. Running SFC and DISM is often overlooked but can resolve underlying issues.
- Not excluding large or unnecessary folders. Indexing an entire drive with thousands of files can keep the indexer busy for hours.
Tips
- Schedule indexing for off-hours: In Indexing Options > Advanced, you can set a schedule or pause indexing temporarily.
- Keep your PC on and plugged in during a rebuild to avoid interruptions.
- Use Task Manager (Ctrl+Shift+Esc) to monitor CPU usage and confirm the indexer is the culprit.
- If you use a third-party search tool, consider disabling Windows Search entirely to free up resources.
Troubleshooting
If the high CPU usage continues after trying the steps above, try these additional measures:
- Check for malware. Run a full scan with Windows Security or your preferred antivirus.
- Create a new user account. A corrupted user profile can cause indexing issues; test with a new account to see if the problem persists.
- Reset Windows Search. In Settings > Apps > Installed apps, find Windows Search (if listed), click the three dots, and select Advanced options, then Reset. If not listed, use PowerShell as admin to re-register the search app (command:
Get-AppxPackage Microsoft.Windows.Search | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}). - Perform a clean boot. Disable non-Microsoft startup items and services to check for conflicts.
- Check disk health. Run
chkdsk /fto scan for file system errors that might affect indexing.
Frequently Asked Questions
What is the Windows Search Indexer?
It's a background process that catalogues files and their properties to enable fast searches in File Explorer, Start menu, and other apps.
Is it safe to disable Windows Search?
Yes, but you will lose fast search functionality in File Explorer and some apps. You can re-enable it later if needed.
How long does rebuilding the index take?
It depends on the number of files and your hardware. It can take from a few minutes to several hours. You can continue using your PC, but searches may be slower until it completes.
Why does the indexer use high CPU after a Windows update?
Updates can trigger a re-index of files, causing temporary high CPU usage. It usually settles after the index is rebuilt.
Can I limit indexing to specific folders?
Yes, in Indexing Options, click Modify and select only the folders you want indexed.
Does the indexer affect battery life?
Yes, high CPU usage can drain battery faster. If you're on a laptop, consider pausing indexing when on battery.