Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Index Location - Change



Index Location - Change

How to Change the Default Index Location in Windows 7 and Windows 8
Published by Brink
18 Jul 2009 - Views: 18048
Published by

How to Change the Default Index Location in Windows 7 and Windows 8

information   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   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)
Name:  Step1.jpg
Views: 3029
Size:  84.9 KB
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)
Name:  Step2.jpg
Views: 3063
Size:  105.6 KB
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.
Name:  Step3.jpg
Views: 2994
Size:  49.6 KB
6. Click/tap on OK. (See screenshot below)
NOTE: Notice the new location that you selected should now be listed.
Name:  Step4.jpg
Views: 3021
Size:  99.5 KB
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


Index Location - Change-index_location_registry-1.png
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   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\

Name:  Index_Location_Registry-2.png
Views: 1953
Size:  13.1 KB
6. Close Registry Editor, and restart the computer to fully apply.


That's it,
Shawn



23 Feb 2014   #1
stsaerox

Windows 7 Home premium x64
 
 

In registry it should be located in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search

But I'm not really sure about this. It is very useful for deployment and ssd maximum life settings, if you need the service to index other normal HDDs


My System SpecsSystem Spec
23 Feb 2014   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello stsaerox,

Yep, the DataDirectory string value in that registry key is what holds the path of the index. I'll add this to the tutorial shortly with full details.

(your path)\Search\Data\

EDIT:
Ok. All added to tutorial.
My System SpecsSystem Spec
1 Week Ago   #3
nisilhum

Win 7 Ulitimate x86
 
 

if i want move to flashdrive/sdd it written like this?
Code:
F:\Microsoft\Search\Data\
and its done moved?
My System SpecsSystem Spec
.


1 Week Ago   #4
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Nisilhum,

At step 4 in Option one, you can select any folder or location for the index. It doesn't matter.

However, 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. This way you don't have to worry about the index breaking if the flash drive got removed. Usually it's best to select to have the index on another internal hard drive.
My System SpecsSystem Spec
1 Week Ago   #5
nisilhum

Win 7 Ulitimate x86
 
 

unfortunately not possible use internal hard drive is there possible use dual hard drive internal?
when i backup the original files can be gone/broken? or just like copying files usually?
what good flashdrive to NTSF? or use harddrive eksternal?

you can help me to fix my problem before http://www.sevenforums.com/general-d...r-windows.html

thks much
My System SpecsSystem Spec
1 Week Ago   #6
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

If you like, you could just disable the index to not have to worry about it, save some space on the drive, and have non-indexed search results.

Index - Enable or Disable
My System SpecsSystem Spec
1 Week Ago   #7
nisilhum

Win 7 Ulitimate x86
 
 

btw brink if sucess move to eksternal drive (ssd, flashdrive.etc) i can move them all to other PC?
My System SpecsSystem Spec
1 Week Ago   #8
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

The index if enabled needs to always be available. That's one reason why it's not a good idea to have it located on a removable drive.
My System SpecsSystem Spec
Comment

 Index Location - Change




Tutorial Tools



Similar help and support threads for2: Index Location - Change
Windows 7 Tutorial Category
Windows Experience Index - Change Score Manually Tutorials
Location - Change Computer Default Location Tutorials
Solved change my network location to its true location Network & Sharing
Where is the index file location? General Discussion
Change default location for "Change Icon..." button? Customization
How to change save location Software
Change Network Location for LAN? Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:58 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33