Published by

Brink's Avatar

Posts: 20,799

Show Printable Version 

How to Rebuild Search Index in Windows 10

information   Information
By default, Windows will use the index when searching to give you faster search results. The search index only includes your selected locations. These locations can be filtered for what file types (extensions), file properties, and file contents you want indexed.

The index uses the Windows Search service and runs as the Searchindexer.exe process in the background. The index will automatically rebuild and update for changes made to the included locations since the last index rebuild to increase search result accuracy. By default, the indexing speed is reduced due to user activity. If the computer is running idle, then the indexing speed will go back to full speed to finish indexing faster.

If you are getting search results that are missing, no longer valid, or incorrect, then the index may not be up to date. You can manually rebuild the index to force it to update now.

This tutorial will show you how to manually delete and rebuild the search index for accurate search results in Windows 10.

You must be signed in as an administrator to be able to rebuild the index.


Rebuild Search Index in Windows 10 OPTION ONE Rebuild Search Index in Windows 10
To Rebuild Search Index in Indexing Options

1. Open the Control Panel (icons view), click/tap on the Indexing Options icon, and close the Control Panel.

2. Click/tap on the Advanced button. (see screenshot below)

Name:  Rebuild_Search_Index-1.png
Views: 2973
Size:  22.7 KB

3. In the Index Settings tab, click/tap on the Rebuild button under Troubleshooting. (see screenshot below)

Name:  Rebuild_Search_Index-2.png
Views: 2965
Size:  19.0 KB

4. Click/tap on OK to confirm. (see screenshot below)

Name:  Rebuild_Search_Index-3.png
Views: 2973
Size:  7.8 KB

5. Indexing will now be in progress. (see screenshots below)
Note   Note
Rebuilding the index might take a long time to complete.

If needed, you can click/tap on Pause to stop rebuilding the index.

Click image for larger version. 

Name:	Rebuild_Search_Index-4.png 
Views:	90 
Size:	27.9 KB 
ID:	93934

6. When indexing has completed, click/tap on Close. (see screenshot below)

Name:  Rebuild_Search_Index-5.png
Views: 2963
Size:  18.0 KB

Rebuild Search Index in Windows 10 OPTION TWO Rebuild Search Index in Windows 10
To Rebuild Search Index using a BAT file

Note   Note
The downloadable .bat file below contains these commands that will rebuild the search index.

@echo off
net stop wsearch
del "%ProgramData%\Microsoft\Search\Data\Applications\Windows\Windows.edb"
net start wsearch
IF NOT %ERRORLEVEL%==0 (goto :wsearch) ELSE goto :END

1. Click/tap on the Download button below to download the .bat file below.



2. Save the .bat file to your desktop.

3. Unblock the .bat file.

4. Right click or press and hold on the .bat file, and click/tap on Run as administrator.

5. If prompted by UAC, click/tap on Yes to approve.

6. The search index will now start to rebuild in the background.

That's it,