Skip to content
Follow
Windows 🟡 Intermediate

How to Change Windows 11 Search Index Location

Richard
Written by
Richard
Aug 3, 2026 Updated Aug 7, 2026 3 min read
How to Change Search Index Storage Location in Windows 11
How to Change Search Index Storage Location in Windows 11

Changing the Windows 11 search index storage location lets you move where Windows keeps the information it uses to find your files quickly.

The search index is a special list Windows creates to make searching your computer much faster. It’s like a super-fast index for a book, so you don’t have to look through every page.

By default, Windows 11 saves this index in the 📂%ProgramData%\Microsoft\Search\Data folder on your main drive.

You might want to move this index if your main drive is getting full. You can move it to another internal drive, but not to a USB stick or network location.

⚡ Quick Answer

Change the search index storage location by opening Settings, navigating to Privacy & security Search Advanced indexing options, clicking Advanced, then Select new, and choosing your desired internal drive. Alternatively, edit the DataDirectory value in Registry Editor at 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search.

Option 1Change Search Index Storage Location in Settings

  1. Open Settings. You can press the Win+I on your keyboard.
    Windows 11 Start menu with Settings gear icon highlighted.
    Windows 11 Start menu with Settings gear icon highlighted.
  2. On the left side, click or tap on Privacy & security. Then, on the right side, click or tap on Search.
    Windows 11 Search bar with the 'Search' tile highlighted.
    Windows 11 Search bar with the 'Search' tile highlighted.
  3. Look for Related settings and click or tap on Advanced indexing options.
    Windows 11 advanced indexing options for file types.
    Windows 11 advanced indexing options for file types.
  4. In the Indexing Options window, click or tap the Advanced button.
    Clicking the Advanced button in Windows 11 indexing options.
    Clicking the Advanced button in Windows 11 indexing options.
  5. Go to the Index Settings tab. Under the Index location section, click or tap the Select new button.
  6. Choose a folder or drive (for example, D:) where you want to save the search index. Then, click or tap OK. The search index will be saved in a folder like D:\Search\Data\. The default location is C:\ProgramData\Microsoft\Search\Data\.
  7. Click or tap OK.
  8. Click or tap Close.
  9. You can now close the Settings window.
  10. Restart the Windows Search service to make the changes take effect. You can find instructions on how to restart services in this guide:

Option 2Change Search Index Storage Location Using Registry Editor

  1. Open Registry Editor. You can type regedit.exe in the Windows search bar and press Enter.
  2. In Registry Editor, go to the following location in the left pane: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search
  3. In the right pane, double-click on the value named DataDirectory.
  4. Enter the full path of the location where you want to store the index (for example, D:). Add \Search\Data\ to the end of this path. Then, click or tap OK. The default location is %ProgramData%\Microsoft\Search\Data\.
  5. Close Registry Editor.
  6. Restart the Windows Search service to apply the changes.

Summary

⚠️Warning
This guide shows two ways to change where Windows stores its search index: using the Settings app or by editing the Windows Registry. Both methods require administrator privileges. After changing the location, you need to restart the Windows Search service for the changes to be applied. You can only choose an internal drive for the index location, not external or network drives.

How do I change the location of the Microsoft search index file?

To change where Windows 11 saves its search index, open Settings, go to Privacy & security, then Search. Click Advanced indexing options, then Advanced. Under Index Settings, select Select new and choose a new folder on an internal drive.

How do you modify indexed locations?

To change which folders Windows searches, open Indexing Options. Click the Advanced button. Under Index Settings, you can choose to rebuild the index or select a new location for the index files. You can also customize which folders are included.

How do I move the search index location in Sharepoint?

Moving a SharePoint search index involves adding a new index component to a different server. You then clone the current search setup and add a replica of the index to the new component. Wait for the index data to copy over.

How to reset search indexing?

To reset Windows search indexing, open Indexing Options and click the Advanced button. Under the Index Settings tab, click the Rebuild button. This will remove the current index and create a new one from scratch, which may take some time.

Was this guide helpful?

50% of readers found this helpful (2 votes)

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Enable or Disable Automatically Find Additional Relevant Search Index Locations in Windows 11
Windows How to Enable or Disable Automatically Find Additional Relevant Search Index Locations in Windows 11
How to Enable or Disable Modify Indexed Locations in Indexing Options in Windows 11
Windows How to Enable or Disable Modify Indexed Locations in Indexing Options in Windows 11
How to Enable or Disable Advanced Options in Indexing Options in Windows 11
Windows How to Enable or Disable Advanced Options in Indexing Options in Windows 11
How to Search for Files in Windows 11
Windows How to Search for Files in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *