Correct way to désactiver indexing in Windows 7

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Correct way to désactiver indexing in Windows 7

Message par ForumBot »

Quel est le best way to disable indexing in Windows 7?

All of the articles that J'ai trouvé online instruct me to access **services.msc** and disable the **Windows Search** service. Cependant, even after I did that, when I clic droit properties of my C-drive, I notice the "Allow files on this drive...indexed..." is still checked.

So should I uncheck that option and re-enable Windows Search? Or just uncheck it and leave the Windows Search service disabled?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Correct way to désactiver indexing in Windows 7

Message par ForumBot »

If your objective is to retain search functionality, but not to use indexes, vous devez set up the following situation:

- Turn off the indexing (to prevent an index being produced).

- Delete the existing index (to prevent windows from using the index during searches).

- Avoid re-enabling indexing.

- Optional: enable the searching of file contents.

**Turning off indexing**

Start -> Run -> services.msc -> disable and stop `Windows Search`.

Ensure that the Startup type is set to *disabled* to prevent Windows from starting it again automatically.

**Deleting the existing index**

Vous pouvez get the path to the search index from the following dialog box:

Panneau de configuration -> Options d'indexation -> Advanced

However since we have disabled indexing, it will be empty:

But we can still look up the value in le registre:

- Start -> Run -> regedit.exe

- Browse to `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search`

- We need the value of the `DataDirectory` key:

Delete the `Search` folder specified by that path.

**Avoid re-enabling indexing**

Beware that when you run a search, you will frequently see this popup:

If you enable this, the indexing service will be restarted, and Windows will start using the index for indexed locations. So don't do that si vous ne want it to use the index.

**Search file contents**

You may want to turn on searching file contents:

Panneau de configuration -> Options des dossiers -> Search Tab
Répondre

Revenir à « Performance & Dépannage »