sodcalculator

10 Tech How-To

Rebuild Windows Search Index for Missing Results

Guide 10-31841 · Updated · Step by step

If you’ve noticed that Windows Search is no longer finding files, emails, or apps that you know are on your PC, the search index has likely become corrupted or outdated. Rebuilding the index forces Windows to rescan your entire drive and recreate its search database from scratch, which usually restores missing results. This guide walks you through the process step by step, and it requires no special tools—only a few minutes of your time and an administrator account.

What You’ll Need

  • A Windows PC (Windows 10 or Windows 11) with an administrator account.
  • Patience—the rebuild can take from 30 minutes to several hours, depending on the size of your drive and the number of files.
  • No third-party software is required; everything is done through built-in Windows settings.

Step-by-Step

  1. Open Windows Settings. Press Win + I to open the Settings app. If that doesn’t work, click the Start button and then the gear icon.
  2. Navigate to Search settings. In Windows 11, click “Privacy & security” in the left sidebar, then select “Searching Windows.” In Windows 10, click “Search” and then “Searching Windows.”
  3. Open Indexing Options. Scroll down and click “Advanced indexing options.” This opens a separate window titled “Indexing Options.”
  4. Open Advanced Options. In the Indexing Options window, click the “Advanced” button at the bottom. If prompted by User Account Control, click “Yes” to allow changes.
  5. Select Rebuild. In the “Advanced Options” window, under the “Index Settings” tab, you’ll see a section labeled “Troubleshooting.” Click the “Rebuild” button there.
  6. Confirm the rebuild. A pop-up will warn you that rebuilding might take a long time and that search results won’t be complete until it’s done. Click “OK” to confirm.
  7. Wait for the rebuild to complete. The Indexing Options window will show the index location and the number of indexed items. During the rebuild, this number will drop to zero and then gradually increase as Windows rescans your files. You can continue using your PC, but search results may be incomplete until the process finishes.
  8. Verify the rebuild. Once the item count has stopped increasing (it may take hours), test your search by typing a known filename into the Start menu or File Explorer. If results appear, the rebuild was successful.

Common Mistakes

  • Interrupting the rebuild. If you shut down or restart your PC mid-rebuild, the process will pause and resume, but it may not complete correctly. Let it run to completion without forcing a shutdown.
  • Rebuilding when you don’t need to. If search is only missing results for a specific folder, try adding that folder to the indexed locations first. A full rebuild is overkill and wastes time.
  • Forgetting to check index locations. If a folder is not included in the indexed locations, rebuilding won’t make it searchable. Ensure your important folders are listed under “Index these locations.”
  • Ignoring power settings. If your PC goes to sleep during the rebuild, the process will stall. Temporarily adjust your power plan to keep the PC awake, or ensure it’s plugged in.

Tips

  • Run the rebuild when you don’t need the PC. Start it before you leave for the day or overnight, so it can complete without interruption.
  • Use the “Modify” button to add or remove indexed locations. You can fine-tune which folders are included to speed up future searches and reduce unnecessary indexing.
  • Check for disk errors first. If search is missing results due to file system corruption, a rebuild won’t fix it. Run chkdsk /f from an elevated command prompt to repair drive errors before rebuilding.
  • Keep your PC plugged in. If you’re on a laptop, connect the charger to prevent power-saving modes from interrupting the process.
  • Consider excluding unnecessary file types. In Advanced Options, you can exclude certain file extensions (like .tmp or .log) to reduce the index size and speed up rebuilds.

Troubleshooting

If the rebuild doesn’t solve the missing results, try these additional steps:

  • Restart Windows Search service. Press Win + R, type services.msc, and press Enter. Find “Windows Search” in the list, right-click it, and select “Restart.” This can resolve temporary service glitches.
  • Check if the index is paused. In the Indexing Options window, if the status says “Paused,” click “Resume” to continue indexing.
  • Verify that the search service is set to automatic. In the same Services window, double-click “Windows Search,” ensure the startup type is “Automatic,” and the service is running.
  • Run the Search and Indexing troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters (Windows 11) or Settings > Update & Security > Troubleshoot > Additional troubleshooters (Windows 10), and run the “Search and Indexing” troubleshooter. It will automatically detect and fix common issues.
  • If search still fails, check your file permissions. If a folder is encrypted or access is restricted, Windows Search may not index it. Right-click the folder, go to Properties > Security, and ensure your user account has read permission.
  • As a last resort, reset the Windows Search service. Open an elevated Command Prompt (run as administrator) and run the following commands one by one, pressing Enter after each:
    net stop wsearch
    reg delete "HKLM\SOFTWARE\Microsoft\Windows Search" /f
    net start wsearch

    This resets the search service configuration and forces a fresh index. Note that this is more aggressive and may require reconfiguring your indexing options.

Frequently Asked Questions

How long does a Windows Search index rebuild take?

It depends on the number of files and the speed of your drive. For a typical user with a few hundred thousand files, it can take 30 minutes to several hours. You can continue using your PC, but search results will be incomplete until it’s done.

Will rebuilding the index delete any of my files?

No. The index is just a database of filenames, locations, and metadata. Rebuilding it only recreates that database; it doesn’t touch your actual files.

Can I use my computer while the index is rebuilding?

Yes, but you may notice slower performance and incomplete search results. For best results, let the rebuild run uninterrupted.

Why does Windows Search still not find files after rebuilding?

If the rebuild completed but results are still missing, check that the folder containing the files is included in the indexed locations. Also, ensure that the search service is running and that you’re searching from the right scope (e.g., “This PC” instead of “Documents”).

Does rebuilding the index affect OneDrive or cloud files?

Only if those files are set to be available offline. Files that are cloud-only are not indexed locally. You can change this in OneDrive settings by choosing “Always keep on this device” for folders you want indexed.

Is there a way to speed up the rebuild?

You can temporarily exclude large folders you don’t need to search (like a backup folder) by modifying the indexed locations. Also, ensure your PC is plugged in and not set to sleep during the process.

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 →