Rebuild Search Index in Windows 10  

Page 1 of 5 123 ... LastLast
    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
    05 Oct 2020
    Designer Media Ltd
     

    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.

    Starting with Windows 10 build 19592, the Windows Search Platform (Indexer) has been updated with improved logic to help find better times to perform indexing of your files and avoiding heavily indexing while you are using your machine. An improvement was also made to significantly limit the amount of times the service indexes your files for content that doesn’t have an impact on search experiences, and gives you a better experience on Windows.

    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







    OPTION ONE

    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)

    Rebuild Search Index in Windows 10-rebuild_search_index-1.png

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

    Rebuild Search Index in Windows 10-rebuild_search_index-2.png

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

    Rebuild Search Index in Windows 10-rebuild_search_index-3.png

    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.

    Rebuild Search Index in Windows 10-rebuild_search_index-4.png

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

    Rebuild Search Index in Windows 10-rebuild_search_index-5.png






    OPTION TWO

    To Rebuild Search Index using a BAT file


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

    Rebuild_Search_Index.bat

    Download

    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

    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.






    OPTION THREE

    To Reset and Rebuild Search Index using a BAT file


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

    Reset_and_Rebuild_Search_Index.bat

    Download

    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

    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. IronZorg89's Avatar
    Posts : 2,321
    Windows 10 pro x64-bit
       #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 Computers

  2. Brink's Avatar
    Posts : 56,844
    64-bit Windows 10 Pro for Workstations build 21376
    Thread Starter
       #2

    Thank you. Now corrected.
      My Computers

  3. IronZorg89's Avatar
    Posts : 2,321
    Windows 10 pro x64-bit
       #3

    Brink said:
    Thank you. Now corrected.
    You are most welcome, Shawn!
      My Computers

  4. dalchina's Avatar
    Posts : 30,384
    Win 10 Pro (1903)
       #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 Computers

  5. Brink's Avatar
    Posts : 56,844
    64-bit Windows 10 Pro for Workstations build 21376
    Thread Starter
       #5

    Hello @dalchina,

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


  6. Posts : 2
    windows 10
       #6

    I am have a problem with the indexing.

    Indexing options opens the window with empty locations. Modify is disabled

    On clicking advance, opens the rebuilt window after a long period. The window is empty. No path for current location.

    On clicking rebuilt it will not do rebuilting of index.

    Did all the basic operations like search service off and on. Change of the Regedit. Running the troubleshout etc.

    Rebuild Search Index in Windows 10-error.png
      My Computer

  7. dalchina's Avatar
    Posts : 30,384
    Win 10 Pro (1903)
       #7

    You could try option 3 in the tutorial.
      My Computers

  8. Brink's Avatar
    Posts : 56,844
    64-bit Windows 10 Pro for Workstations build 21376
    Thread Starter
       #8

    Hello @srasheedbasha, and welcome to Ten Forums.

    It looks like you may have a group policy configured to disable this Indexing feature.

    Enable or Disable Modifying Indexed Locations in Windows | Windows 10 Tutorials
      My Computers


  9. Posts : 2
    windows 10
       #9

    Thanks for reply

    I tried option 3 .... but no change... gave a message that Windows.edb file is not found

    change the group policy configuration to not configured to Enable or Disable Modifying Indexed Locations in Windows feature. still no change..
      My Computer


 
Page 1 of 5 123 ... LastLast

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 Mixed Reality Phone


  Related Discussions
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 20:55.
Find Us




Windows 10 Forums