Change Search Index Location in Windows 10  

Page 1 of 2 12 LastLast
    Change Search Index Location in Windows 10

    Change Search Index Location in Windows 10

    How to Change Storage Location of Search Index in Windows 10
    Published by Category: General Tips
    13 Jan 2020
    Designer Media Ltd

    How to Change Storage Location of 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.

    The search index data files are stored in the %ProgramData%\Microsoft\Search\Data folder location by default. You can select to store the index to any internal location you like. You will not be able to select to use removable media, network, or external locations as the index location.

    This tutorial will show you how to change the storage location of the search index data files in Windows 10.

    You must be signed in as an administrator to be able to change the storage location of the search index.


    CONTENTS:
    • Option One: To Change Search Index Location in Indexing Options
    • Option Two: To Change Search Index Location in Registry Editor


    EXAMPLE: Default index location
    Change Search Index Location in Windows 10-default_index_location.png





    OPTION ONE

    To Change Search Index Location 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)

    Change Search Index Location in Windows 10-index_location-1.png

    3. Click/tap on the Select new button under Index Location. (see screenshot below)

    Change Search Index Location in Windows 10-index_location-2.png

    4. Browse to and select the new location (ex: "D") you want for the index data files, and click/tap on OK. (see screenshot below)
    Note   Note
    The new location is where the Search/Data folders will be stored at.


    Change Search Index Location in Windows 10-index_location-3.png

    5. Click/tap on OK to apply. (see screenshot below)

    Change Search Index Location in Windows 10-index_location-4.png

    6. Click/tap on Close. (see screenshot below step 2)






    OPTION TWO

    To Change Search Index Location in Registry Editor


    1. Press the Win+R keys to open the Run dialog, type regedit, and click/tap on OK to open Registry Editor.

    2. If prompted by UAC, click/tap on Yes.

    3. Navigate to the location of the key below in Registry Editor. (see screenshot below)

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search

    Change Search Index Location in Windows 10-index_location_registry-1.png

    4. In the right pane of the Windows Search key, double click/tap on the DataDirectory string value to modify it. (see screenshot above)

    5. Type the full path of the location you want to store the index at, add \Search\Data\ to the end of this path, and click/tap on OK. (see screenshot below)

    Change Search Index Location in Windows 10-index_location_registry-2.png

    6. Close Registry Editor.

    7. Stop and start the Windows Search service to apply. (see screenshot below)

    Change Search Index Location in Windows 10-windows_search_service.jpg



    That's it,
    Shawn





  1. Posts : 979
    Microsoft Windows 10 Professional (x64) Build 19045.2846
       #1

    Hi Brink,

    I want to relocate my Index file to another internal drive I.

    Change Search Index Location in Windows 10-index-location.jpg

    I did it in the past, and I now need to redo it. but now when I begin the process and return to that interface, it reverts back to this, and I end up with it on C:\

    Change Search Index Location in Windows 10-index4.jpg

    I still have the previous search directory on I:\.

    Change Search Index Location in Windows 10-index5.jpg

    Can I re-associate Indexing Options with I:\ without having to rebuild? If not, should I delete that search folder before I begin the rebuild?
      My Computer


  2. Posts : 69,351
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Hello @kitpzyxmsir,

    Odd. You might see if setting it using option two may make it stick.
      My Computers


  3. Posts : 979
    Microsoft Windows 10 Professional (x64) Build 19045.2846
       #3

    Should I delete the index file before the registry stuff?
      My Computer


  4. Posts : 69,351
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    kitpzyxmsir said:
    Should I delete the index file before the registry stuff?
    No need.
      My Computers


  5. Posts : 979
    Microsoft Windows 10 Professional (x64) Build 19045.2846
       #5

    Thanks so much. Reg edit worked, but now I have an issue that I've wrestled with in the past.

    Is there trick to get the index to recognize an encrypted drive. When I do a rebuild, I never know whether or not it's going to happen. Before I made the registry change, I had this, E:\ & N;\. N:\ is the encrypted drive.

    Change Search Index Location in Windows 10-index3.jpg

    Now this

    Change Search Index Location in Windows 10-no-encr..jpg

    Change Search Index Location in Windows 10-no-encr-2.jpg
      My Computer


  6. Posts : 69,351
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #6

    kitpzyxmsir said:
    Thanks so much. Reg edit worked, but now I have an issue that I've wrestled with in the past.

    Is there trick to get the index to recognize an encrypted drive. When I do a rebuild, I never know whether or not it's going to happen. Before I made the registry change, I had this, E:\ & N;\. N:\ is the encrypted drive.

    Now this
    EFS encrypted files is different than a BitLocker encrypted drive.

    I'm not sure you are able to index a BitLocker encrypted drive unless it's currently unlocked.

    Turn On or Off to Index Encrypted Files in Windows 10
      My Computers


  7. Posts : 979
    Microsoft Windows 10 Professional (x64) Build 19045.2846
       #7

    Brink said:
    EFS encrypted files is different than a BitLocker encrypted drive.

    I'm not sure you are able to index a BitLocker encrypted drive unless it's currently unlocked.

    Turn On or Off to Index Encrypted Files in Windows 10
    Is this kind of a hit or miss exercise? I did the "continue" thing with the disclaimer before I switched locations. E;\ and N:\ were both on the list. Now that I have I:\ as the location, do you think I should rebuild once again?
      My Computer


  8. Posts : 69,351
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #8

    kitpzyxmsir said:
    Is this kind of a hit or miss exercise? I did the "continue" thing with the disclaimer before I switched locations. E;\ and N:\ were both on the list. Now that I have I:\ as the location, do you think I should rebuild once again?
    You could try.
      My Computers


  9. Posts : 979
    Microsoft Windows 10 Professional (x64) Build 19045.2846
       #9

    Can a thumb drive be used as a index file location?
      My Computer


 

Tutorial Categories

Change Search Index Location 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 10:45.
Find Us




Windows 10 Forums