Article ID: 322896 - Last Review: July 2, 2004 - Revision: 1.1

How To Prevent Scanning Specific File Types in Index Server

This article was previously published under Q322896
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://support.microsoft.com/kb/256986/EN-US/ ) Description of the Microsoft Windows Registry
Expand all | Collapse all

SUMMARY

This article explains how to exclude a particular file type from being scanned and indexed, which can increase indexing performance by reducing the number of files that Index Server has to evaluate.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Index Server has to scan each file in a catalog even though the file may not be ultimately filtered. This can cause performance problems in some environments where a number of files exist that do not have to be scanned, but must remain in the catalog directory.

To exclude certain file extensions from being scanned on a per catalog basis. Note that the catalog must be rebuilt, follow these steps:
  1. Start Regedit.exe.
  2. Select the following key:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ContentIndex\Catalogs\YOURCATALOG\Scopes
  3. Add the following in the Scopes section:
    Name: *.tif
    Data Type: REG_SZ
    Data: ,,4
    					
  4. Stop Indexing Service, and then delete the contents of the Catalog.wci directory for your catalog.
  5. Restart Indexing Service and let the catalog build completely.

REFERENCES

For more information about the Index Server registry format, see the Microsoft Platform Software Development Kit (SDK).

APPLIES TO
  • Microsoft Index Server 2.0
Keywords: 
kbhowto KB322896
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations