How to register Filter Pack IFilters with Exchange Server 2007

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
INTRODUCTION
This article describes how to register Microsoft Filter Pack IFilters with Microsoft Exchange Server 2007. By registering the IFilters, you enable additional file types to be indexed by a server that is running Exchange Server 2007. To register the IFilters, you must modify the registry.

This article describes how to modify the registry manually. It also describes how to use the Exchange_reg.vbs script to modify the registry automatically.
MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

How to register the Filter Pack IFilters by modifying the registry manually

To do this, follow these steps:
  1. Install the Microsoft Filter Pack.

    Note The architecture of the Filter Pack should match the architecture of the operating system (x64 or x86). For more information about how to install the Microsoft Filter Pack, visit the following Microsoft Web site:
  2. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\MSSearch\CLSID\
    For this subkey, add the following subkeys and values.
    SubkeyValue
    {5A98B233-3C59-4B31-944C-0E560D85E6C3}drive:\Program Files\Common Files\Microsoft Shared\Filters\offfiltx.dll
    {DDFE337F-4987-4EC8-BDE3-133FA63D5D85}drive:\Program Files\Common Files\Microsoft Shared\Filters\offfiltx.dll
    {F90DFE0C-CBDF-41FF-8598-EDD8F222A2C8}drive:\Program Files\Common Files\Microsoft Shared\Filters\offfiltx.dll
    {20E823C2-62F3-4638-96BD-90F4F6784EBC}drive:\Program Files\Common Files\Microsoft Shared\Filters\offfiltx.dll
    {312AB530-ECC9-496E-AE0E-C9E6C5392499}drive:\Program Files\Common Files\Microsoft Shared\Filters\offfiltx.dll
    {B8D12492-CE0F-40AD-83EA-099A03D493F1}drive:\Program Files\Common Files\Microsoft Shared\Filters\ONIFilter.dll
    {FAEA5B46-761B-400E-B53E-E805A97A543E}drive:\Program Files\Common Files\Microsoft Shared\Filters\VISFilt.DLL
  3. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\MSSearch\Filters
    For this subkey, add the following subkeys and values.
    SubkeyValue
    .docm{5A98B233-3C59-4B31-944C-0E560D85E6C3}
    .docx{5A98B233-3C59-4B31-944C-0E560D85E6C3}
    .pptm{DDFE337F-4987-4EC8-BDE3-133FA63D5D85}
    .pptx{DDFE337F-4987-4EC8-BDE3-133FA63D5D85}
    .xlsm{F90DFE0C-CBDF-41FF-8598-EDD8F222A2C8}
    .xlsx{F90DFE0C-CBDF-41FF-8598-EDD8F222A2C8}
    .xlsb{312AB530-ECC9-496E-AE0E-C9E6C5392499}
    .zip{20E823C2-62F3-4638-96BD-90F4F6784EBC}
    .one{B8D12492-CE0F-40AD-83EA-099A03D493F1}
    .vsd{FAEA5B46-761B-400E-B53E-E805A97A543E}
    .vss{FAEA5B46-761B-400E-B53E-E805A97A543E}
    .vst{FAEA5B46-761B-400E-B53E-E805A97A543E}
    .vdx{FAEA5B46-761B-400E-B53E-E805A97A543E}
    .vsx{FAEA5B46-761B-400E-B53E-E805A97A543E}
    .vtx{FAEA5B46-761B-400E-B53E-E805A97A543E}
  4. Stop and then restart the Exchange Search service. To do this, follow these steps:
    1. Click Start, click Run, type cmd in the Open box, and then click OK.
    2. At the command prompt, type net stop msftesql-exchange, and then press ENTER.
    3. At the command prompt, type net start msexchangesearch, and then press ENTER.
    4. Type exit, and then press ENTER to exit the command prompt.

How to register the Filter Pack IFilters by modifying the registry automatically

You can use the Exchange_reg.vbs script to modify the registry automatically. To do this, follow these steps:
  1. Install the Microsoft Filter Pack.

    Note The architecture of the Filter Pack should match the architecture of the operating system (x64 or x86). For more information about how to install the Microsoft Filter Pack, visit the following Microsoft Web site:
  2. Copy the following text, and then paste it into a Notepad file.
    ' Copyright (c) 2007 Microsoft Corporation. All rights reserved.'' THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK' OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.' This is a filter registration script to configure Exchange Server 2007 to index 2007 Office attachments.' The script generates a .reg file that adds the required registry keys.Const ForWriting = 2Set FSO   = CreateObject("Scripting.FileSystemObject")Set Shell = CreateObject ("WSCript.shell")Set Env   = Shell.Environment("Process")wscript.echo "Creating ExchangeFilterRegistration.reg in the current directory"Set file = FSO.OpenTextFile("ExchangeFilterRegistration.reg", ForWriting, True)commonFiles = Env("CommonProgramFiles")commonFiles = Replace(commonFiles,"\","\")officeFilterLocation  = commonFiles & "\Microsoft Shared\Filters\offfiltx.dll"onenoteFilterLocation = commonFiles & "\Microsoft Shared\Filters\ONIFilter.dll"visioFilterLocation   = commonFiles & "\Microsoft Shared\Filters\VISFilt.DLL"docxGuid    ="{5A98B233-3C59-4B31-944C-0E560D85E6C3}"pptxGuid    ="{DDFE337F-4987-4EC8-BDE3-133FA63D5D85}"xlsxGuid    ="{F90DFE0C-CBDF-41FF-8598-EDD8F222A2C8}"zipGuid     ="{20E823C2-62F3-4638-96BD-90F4F6784EBC}"xlsbGuid    ="{312AB530-ECC9-496E-AE0E-C9E6C5392499}"onenoteGuid ="{B8D12492-CE0F-40AD-83EA-099A03D493F1}"vsdGuid     ="{FAEA5B46-761B-400E-B53E-E805A97A543E}"exchangeClsidKey   = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\MSSearch\CLSID"exchangeFilterKey  = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\MSSearch\Filters"file.WriteLine "Windows Registry Editor Version 5.00"   file.WriteLine   file.WriteLine "[" & exchangeClsidKey & "]"  file.WriteLine OutputCLSIDKey exchangeClsidKey, docxGuid, officeFilterLocation OutputCLSIDKey exchangeClsidKey, pptxGuid, officeFilterLocation OutputCLSIDKey exchangeClsidKey, xlsxGuid, officeFilterLocation OutputCLSIDKey exchangeClsidKey, zipGuid,  officeFilterLocation OutputCLSIDKey exchangeClsidKey, xlsbGuid, officeFilterLocation OutputCLSIDKey exchangeClsidKey, onenoteGuid, onenoteFilterLocation OutputCLSIDKey exchangeClsidKey, vsdGuid, visioFilterLocation file.WriteLine "[" & exchangeFilterKey & "]"file.WriteLine OutputFilterKey exchangeFilterKey, "docm", docxGuidOutputFilterKey exchangeFilterKey, "docx", docxGuidOutputFilterKey exchangeFilterKey, "pptm", pptxGuidOutputFilterKey exchangeFilterKey, "pptx", pptxGuidOutputFilterKey exchangeFilterKey, "xlsm", xlsxGuidOutputFilterKey exchangeFilterKey, "xlsx", xlsxGuidOutputFilterKey exchangeFilterKey, "xlsb", xlsbGuidOutputFilterKey exchangeFilterKey, "zip",  zipGuidOutputFilterKey exchangeFilterKey, "one",  onenoteGuidOutputFilterKey exchangeFilterKey, "vsd",  vsdGuidOutputFilterKey exchangeFilterKey, "vss",  vsdGuidOutputFilterKey exchangeFilterKey, "vst",  vsdGuidOutputFilterKey exchangeFilterKey, "vdx",  vsdGuidOutputFilterKey exchangeFilterKey, "vsx",  vsdGuidOutputFilterKey exchangeFilterKey, "vtx",  vsdGuidwscript.echo "Created ExchangeFilterRegistration.reg for this server."wscript.echo "Run ExchangeFilterRegistration.reg to enable Exchange Search indexing of 2007 Office attachments."wscript.echo "then run ""net stop msftesql-exchange"" followed by ""net start msexchangesearch """Public Function OutputCLSIDKey(base,guid,location)	file.WriteLine "[" & base & "\" & guid & "]"	file.WriteLine "@=""" & location & """" 	file.WriteLine    End FunctionPublic Function OutputFilterKey(base,extension,guid)	file.WriteLine "[" & base & "\." & extension & "]"	file.WriteLine "@=""" & guid & """" 	file.WriteLine    End Function
  3. Save the file that is named Exchange_reg.vbs, and then double-click the file. This procedure creates an ExchangeFilterRegistration.reg file.
  4. Double-click the ExchangeFilterRegistration.reg file, and then follow the prompts to set the correct registry values.
The following file name extensions are supported by the Filter Pack:
  • .docm
  • .docx
  • .one
  • .pptm
  • .pptx
  • .vdx
  • .vsd
  • .vss
  • .vst
  • .vsx
  • .vtx
  • .xlsb
  • .xlsm
  • .xlsx
  • .zip
Exchange 2007 SP1 Office-12 filters
Properties

Article ID: 944516 - Last Review: 09/10/2011 16:08:00 - Revision: 3.0

Microsoft Exchange Server 2007 Standard Edition, Microsoft Exchange Server 2007 Enterprise Edition

  • kbhowto kbexpertiseinter KB944516
Feedback