Article ID: 944516 - Last Review: March 17, 2008 - Revision: 2.0
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
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
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.
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:
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: Locate the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\MSSearch\CLSID\
For this subkey, add the following subkeys and values.
Collapse this table Expand this table
Subkey Value {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
Locate the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\MSSearch\Filters
For this subkey, add the following subkeys and values.
Collapse this table Expand this table
Subkey Value .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}
Stop and then restart the Exchange Search service. To do
this, follow these steps:
Click Start , click
Run , type cmd in the
Open box, and then click OK . At the command prompt, type net stop
msftesql-exchange , and then press ENTER. At the command prompt, type net start
msexchangesearch , and then press ENTER. 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:
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: 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 = 2
Set 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", docxGuid
OutputFilterKey exchangeFilterKey, "docx", docxGuid
OutputFilterKey exchangeFilterKey, "pptm", pptxGuid
OutputFilterKey exchangeFilterKey, "pptx", pptxGuid
OutputFilterKey exchangeFilterKey, "xlsm", xlsxGuid
OutputFilterKey exchangeFilterKey, "xlsx", xlsxGuid
OutputFilterKey exchangeFilterKey, "xlsb", xlsbGuid
OutputFilterKey exchangeFilterKey, "zip", zipGuid
OutputFilterKey exchangeFilterKey, "one", onenoteGuid
OutputFilterKey exchangeFilterKey, "vsd", vsdGuid
OutputFilterKey exchangeFilterKey, "vss", vsdGuid
OutputFilterKey exchangeFilterKey, "vst", vsdGuid
OutputFilterKey exchangeFilterKey, "vdx", vsdGuid
OutputFilterKey exchangeFilterKey, "vsx", vsdGuid
OutputFilterKey exchangeFilterKey, "vtx", vsdGuid
wscript.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 Function
Public Function OutputFilterKey(base,extension,guid)
file.WriteLine "[" & base & "\." & extension & "]"
file.WriteLine "@=""" & guid & """"
file.WriteLine
End Function
Save the file that is named Exchange_reg.vbs, and then
double-click the file. This procedure creates an ExchangeFilterRegistration.reg
file. 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 APPLIES TO Microsoft Exchange Server 2007 Standard Edition Microsoft Exchange Server 2007 Enterprise Edition kbhowto kbexpertiseinter KB944516
Provide feedback on this information
Did this information solve your problem?
Was this information relevant?
What can we do to improve this information?
To protect your privacy, do not include contact information in your feedback.
Thank you! Your feedback is used to help us improve our support content. For more assistance options, please visit the
Help and Support Home Page .