Default System Exclusion Rules
System exclusion rules define which files will be excluded from being indexed. By default, the following folders and files are excluded in Windows 7:
- %SystemDrive%\ProgramData\* (with some exceptions, such as %SystemDrive%\ProgramData\Windows\StartMenu)
- %SystemDrive%\Windows\CSC\* (excludes the CSC for Offline Files)
- %SystemDrive%\Windows.*\* (excludes any old Windows installation directories)
- %SystemDrive%\Windows\* (excludes the Windows directory)
- *\System volume information\*
- *\$Recycle.bin\*
- %SystemDrive%\Windows\*\Temp\*
- C:\Users\username\AppData\* (with an exclusion for the AppData directory under each user profile being added when the user's profile is created, with one explicit exclusion being created for each user on the computer)
- %SystemDrive%\Users\*\AppData\Local\Microsoft\Windows\Temporary Internet Files\* (excludes Windows Internet Explorer temporary files, but note that this exclusion is not updated if you move the location of these files)
- *\Windows.*\*
- *\Dfsrprivate\*
The location of the indexer files is also excluded. This location is %SystemDrive% \ProgramData\Microsoft\Search\Data\* by default, but it is configurable and the exclusion will be updated if the user changes the location.
In addition, beginning with Windows 7, super-hidden files (protected operating system files that have both the hidden and system attributes set on them) and files that have their FILE_ATTRIBUTE_NOT_CONTENT_INDEXED attribute (FANCI bit) set are indexed. However, only basic properties for these types of files, such as file name, size, and date modified, are indexed-IFilter property handlers are not used when indexing these types of files. Note also that because hidden files are marked as hidden in the index, they are displayed in search results only if the user's folder settings are set to Show Hidden Files/Folders.
In this tutorial:
- Managing Search
- Search and Indexing Enhancements
- Search in Windows XP
- Search in Windows Vista
- Search in Windows 7
- Understanding the Windows Search Versions
- Search Versions Included in Windows 7 and Windows Vista
- Search Versions Included in Windows Server 2008
- Search Versions Available for Earlier Versions of Windows
- How Windows Search Works
- Understanding Search Engine Terminology
- Windows Search Engine Processes
- Enabling the Indexing Service
- Windows Search Engine Architecture
- Understanding the Catalog
- Default System Exclusion Rules
- Understanding the FANCI Attribute
- Default Indexing Scopes
- Initial Configuration
- Understanding the Indexing Process
- Modifying IFilter Behavior
- How Indexing Works
- Rebuilding the index
- Viewing Indexing Progress
- Understanding Remote Search
- Managing Indexin
- Configuring the Index
- Configuring the Index Location Using Group Policy
- Configuring Indexing Scopes and Exclusions Using Group Policy
- Configuring Offline Files Indexing
- Configuring Indexing of Encrypted Files
- Configuring Indexing of Encrypted Files Using Control Panel
- Configuring Indexing of Similar Words
- Configuring Indexing of Text in TIFF Image Documents
- Other Index Policy Settings
- Using Search
- Configuring Search Using Folder Options
- Configuring What to Search
- Configuring How To Search
- Using Start Menu Search
- Searching Libraries
- Advanced Query Syntax
- Using Federated Search
- Deploying Search Connectors
- Troubleshooting Search and Indexing Using the Built-in Troubleshooter