Windows 10: Rebuild Search Index in Windows 10  

    Rebuild Search Index in Windows 10

    Rebuild Search Index in Windows 10

    How to Reset and Rebuild Search Index in Windows 10
    Published by Category: Performance & Maintenance
    04 Jun 2018
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 30,057

    Show Printable Version 


    How to Reset and Rebuild Search Index in Windows 10


    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 reset 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.


     CONTENTS:






    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: 17985
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: 17973
Size:  19.0 KB

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

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

    5. Indexing will now be in progress. (see screenshots below)

    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:	503 
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: 18002
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


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

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

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

    Rebuild_Search_Index.bat

    download

    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. When prompted by UAC, click/tap on Yes to approve.

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






    Rebuild Search Index in Windows 10 OPTION THREE Rebuild Search Index in Windows 10
    To Reset and Rebuild Search Index using a BAT file


    The downloadable .bat file below contains these commands that will reset your indexed locations to default and rebuild the search index.

    Code:
    @echo off
    net stop wsearch
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows Search" /v SetupCompletedSuccessfully /t REG_DWORD /d 0 /f
    del "%ProgramData%\Microsoft\Search\Data\Applications\Windows\Windows.edb"
    :wsearch
    net start wsearch
    IF NOT %ERRORLEVEL%==0 (goto :wsearch) ELSE goto :END
    :END

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

    Reset_and_Rebuild_Search_Index.bat

    download

    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. When prompted by UAC, click/tap on Yes to approve.

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


    That's it,
    Shawn


  1.    2 Weeks Ago #1

    @Brink,

    Maybe a little typo, your options Two and Three are being named the same: "To Reset and Rebuild Search Index using a BAT file " which flies in the face of your "CONTENTS:" header.
      My ComputerSystem Spec


  2. Posts : 30,057
    64-bit Windows 10 Pro build 17692
    Thread Starter
       2 Weeks Ago #2

    Thank you. Now corrected.
      My ComputersSystem Spec

  3.    2 Weeks Ago #3

    Brink said: View Post
    Thank you. Now corrected.
    You are most welcome, Shawn!
      My ComputerSystem Spec

  4.    1 Week Ago #4

    Hi Shawn, I've not found how to reset Indexing Options to default in the tutorials- may have missed it. This seems comparatively obscure, and is a question asked a number of times when I looked generally on the internet.

    I found this:
    http://www.winhelponline.com/blog/re...-fix-problems/

    - in particular
    The above registry change SetupCompletedSuccessfully = 0 causes Windows Search to clear custom indexed locations, add default locations and rebuild the index from scratch.
    I've not tried it personally as I don't wish to do that- suppose I could on a dummy user account!

    Suggest it could be worth adding to the tutorial if valid.
      My ComputerSystem Spec


  5. Posts : 30,057
    64-bit Windows 10 Pro build 17692
    Thread Starter
       1 Week Ago #5

    Hello @dalchina,

    Thank you, but Option 3 in the tutorial already includes resetting Indexing Options to default.
      My ComputersSystem Spec


 

Tutorial Categories

Rebuild Search Index in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
Customization Rebuild Icon Cache in Windows 10 in Tutorials
How to Rebuild the Icon Cache in Windows 10 The icons that display for files in Windows are saved in an icon cache so they can be displayed quickly instead of having to manually scan and slowly load them each time. The icon cache can sometimes...
Hello, I'm an advanced user, and I recently clean-installed Windows 10 after having some issues. I gave an expansion drive the letter A:, and after some investigation read that it was likely that assigning a drive letter A or B would preclude...
Windows 10 Upgrade / Rebuild Issue in Installation and Upgrade
Hi, I upgraded to Windows 10 on my Windows 8.1 device. After I upgraded I came across an issue with a driver (or similar) which meant that my machine was unable to boot into Windows. The only options were for me to rebuild the machine and...
I couldn't find any tutorial or help in the search utility can anyone help me?
Hmm. Am I the only one thinking this would we a nice thing? I seem to be unable to add any UNC/NAS drive location to the Windows Search Index. I read only in previous 32bit versions there was an "Add UNC Path" tab within the index applet but not for...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:59.
Find Us