0

Possible Duplicate:
Best way to confidently search files and contents in Windows without using an indexing service?

I use Windows Vista SP2

I was searching for the file I knew existed somewhere on C: drive using Windows Explorer. I started my search from "C:\", drive is not indexed for search. File was not found. Then I searched for the same file name using "dir opends60.lib /s" command (started it in "C:\") and the file was found in subfolder of "Program Files".

Then I pointed Windows Explorer to "C:\Program Files" and searched it - file was found. I detected the same behavior for Windows system folder.

Is this documented somewhere? What are the other folders that are not searched by default? What do you use for search (I am not looking for anything that creates index of any kind)?

Joe Schmoe
  • 729
  • 3
  • 11
  • 26

1 Answers1

1

This MSDN link specifies exactly what is included in, and excluded from, the index:

Folders and Files Excluded

The following folders are excluded by default:

  1. The following %SystemDrive% directories and their contents are not indexed:

    • \Build\
    • \Installed Repository\
    • \ProgramData\ (except the shared Start Menu directory)
    • \Program Files\
    • \Program files (x86)\
    • \Users\Default
    • \Windows\
    • \Windows.000\
    • \Windows.old\
    • \$Recycle Bin\
  2. Default User folders.

  3. Any item marked as Hidden or System.
  4. Removable drives.
  5. Files without extensions or filters. Windows Search does not assume that a file format necessarily contains text.

For info on some alternatives, perhaps check out this SU question:

Best way to confidently search files and contents in Windows without using an indexing service?

Roger
  • 1,447