How to Change Windows 11 Search Index Location
- 16 steps
- Needs administrator rights
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%\
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.
To change the Windows 11 search index location, open Settings, go to Privacy & security Search Advanced indexing options, click Advanced, then under Index location on the Index Settings tab, click Select new and choose a folder on an internal drive. Restart the Windows Search service to apply it. USB and network locations are not supported.
Option 1Change Search Index Storage Location in Settings
- Open Settings. You can press the Win+I on your keyboard.

Windows 11 Start menu with Settings gear icon highlighted. - 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. - Look for Related settings and click or tap on Advanced indexing options.

Windows 11 advanced indexing options for file types. - In the Indexing Options window, click or tap the Advanced button.

Clicking the Advanced button in Windows 11 indexing options. - Go to the Index Settings tab. Under the Index location section, click or tap the Select new button.

- 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 isC:\ProgramData\Microsoft\Search\Data\.
- Click or tap OK.
- Click or tap Close.
- You can now close the Settings window.
- 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
- Open Registry Editor. You can type
regedit.exein the Windows search bar and press Enter. - In Registry Editor, go to the following location in the left pane:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search - In the right pane, double-click on the value named DataDirectory.
- 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\.
- Close Registry Editor.
- Restart the Windows Search service to apply the changes.
Summary
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.
Have a question about this guide?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
Did this guide fix your problem?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!