How to Change the Default Index Location in Windows 7 and Windows 8
Information
The Index keeps track of the files on your computer and stores information about the files, including the file name, date modified, and properties like author, tags, and rating. The index is used to make searching for files in Windows much faster. Instead of looking through your entire hard disk for a file name or file property, Windows scans the index, which allows most results to appear in a small fraction of the time that a search without the index would take.
This tutorial will help show you how to change the default index location to be saved where you like in Windows 7 and Windows 8.
You must be logged in as an administrator to be able to do the steps in this tutorial.
Note
The default
Search index storage location is in the
hidden system folder
C:\ProgramData\Microsoft with the full path of:
%ProgramData%\Microsoft\Search\Data
OPTION ONE
To Change Index Location in Indexing Options
1. Open the
Control Panel (icons view) in
Windows 7 or
Windows 8, and click/tap on the
Indexing Options icon.
2. Click/tap on the
Advanced button. (See screenshot below)
3. If prompted by UAC, then click/tap on
Yes.
4. In the Index location box, click/tap on the
Select new button. (See screenshot below)
5. Select the drive or folder that you want to store the index in, and click/tap on
OK. (See screenshot below)
NOTE: When you change the index location, you should choose a location on a non-removable hard disk that is formatted using the NTFS file system.
6. Click/tap on
OK. (See screenshot below)
NOTE: Notice the new location that you selected should now be listed.
7. The
Windows Search service will now automatically be restarted, and the change will not go into effect until the restart is complete. It should only take a short bit.
NOTE: You will notice the mouse pointer displaying the busy spinning circle over the Indexing Options windows until it is finished.
8. When it's finished, click/tap on
Close. (See screenshot below)
OPTION TWO
To Change Index Location in Registry Editor
1. Press the
Windows + R keys to open the Run dialog, type
regedit, and click/tap on
OK.
2. If prompted by UAC, then click/tap on
Yes.
3. In Registry Editor, navigate to the location below. (see screenshot below)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search
4. In the right pane of
Windows Search, double click/tap on the
DataDirectory string value to modify it. (see screenshot above)
5. Type in the full path of the location (ex: E:\Microsoft) you want the index to be saved at, add
\Search\Data\ to the end of your path, and click/tap on
OK. (see screenshot below)
Note
Substitute (your location full path) in the path to be the full path of any location you want to have the index saved to.
The index will always be saved into a Search\Data folder in whatever location you specify, and why it needs to be included below.
(your location full path)\Search\Data\
For example: If I wanted to change the index location to be in a
Microsoft folder on my
E: drive (
E:\Microsoft), I would type this below exactly.
E:\Microsoft\Search\Data\
Default Index Location: %ProgramData%\Microsoft\Search\Data\
6. Close Registry Editor, and
restart the computer to fully apply.
That's it,
Shawn