Share via


Registrar IFilters de Filter Pack con Exchange 2010

Se aplica a: Exchange Server 2010

Última modificación del tema: 2009-11-11

La búsqueda de Exchange usa IFilters para indizar el contenido del texto en diferentes formatos de archivo. Microsoft Filter Pack incluye filtros para formatos de archivo de Microsoft Office 2007. La instalación de Filter Pack es un requisito previo de Exchange 2010. En Filter Pack se admiten las siguientes extensiones de nombres de archivo: .docm, .docx, .one, .pptm, .pptx, .vdx, .vsd, .vss, .vst, .vsx, .vtx, .xlsb, .xlsm, .xlsx, .zip. Para obtener más información, consulte Convertidor de 2007 Office System: Microsoft Filter Pack.

Tras instalar Filter Pack, se registran los IFilters incluidos en Windows Search. Para habilitar la indización de los formatos de archivo de Office 2007 por parte del servicio de búsqueda de Exchange, debe registrar los IFilters instalados en Exchange 2010 mediante la modificación del registro. Debe llevar a cabo este paso tras haber instalado Exchange 2010 en el servidor.

¿Qué desea hacer?

  • Registrar IFilters de Microsoft Filter Pack manualmente
  • Registrar IFilters de Microsoft Filter Pack de forma automática

Registrar IFilters de Microsoft Filter Pack manualmente

Advertencia

La edición incorrecta del Registro puede causar graves problemas que pueden hacer necesario volver a instalar el sistema operativo. Es posible que los problemas derivados de una edición incorrecta del Registro no se puedan solucionar. Antes de editar el Registro, realice una copia de seguridad de los datos importantes.

  1. Inicie el Editor del Registro (regedit).

  2. Busque la siguiente subclave del Registro: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\MSSearch\CLSID
    Agregue a esta subclave las subclaves y los valores que aparecen en la siguiente tabla.

    Subclave Valor

    {5A98B233-3C59-4B31-944C-0E560D85E6C3}

    unidad:\Archivos de programa\Archivos comunes\Microsoft Shared\Filtros\offfiltx.dll

    {DDFE337F-4987-4EC8-BDE3-133FA63D5D85}

    unidad:\Archivos de programa\Archivos comunes\Microsoft Shared\Filtros\offfiltx.dll

    {F90DFE0C-CBDF-41FF-8598-EDD8F222A2C8}

    unidad:\Archivos de programa\Archivos comunes\Microsoft Shared\Filtros\offfiltx.dll

    {20E823C2-62F3-4638-96BD-90F4F6784EBC}

    unidad:\Archivos de programa\Archivos comunes\Microsoft Shared\Filtros\offfiltx.dll

    {312AB530-ECC9-496E-AE0E-C9E6C5392499}

    unidad:\Archivos de programa\Archivos comunes\Microsoft Shared\Filtros\offfiltx.dll

    {B8D12492-CE0F-40AD-83EA-099A03D493F1}

    unidad:\Archivos de programa\Archivos comunes\Microsoft Shared\Filtros\ONIFilter.dll

    {FAEA5B46-761B-400E-B53E-E805A97A543E}

    unidad:\Archivos de programa\Archivos comunes\Microsoft Shared\Filtros\VISFilt.DLL

  3. En cada una de las subclaves que ha creado en el Paso 2, cree el siguiente valor de cadena.

    Nombre del valor Tipo Información del valor

    ThreadingModel

    Cadena (REG_SZ)

    Ambos

  4. Busque la siguiente subclave del Registro:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\MSSearch\Filters
    Agregue a esta subclave las subclaves y los valores que aparecen en la siguiente tabla.

    Subclave Valor

    .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}

  5. Reinicie el servicio Microsoft Search (Exchange) mediante la consola de servicios o escribiendo el siguiente comando en el Shell de administración de Exchange.

    Stop-Service msftesql-Exchange -Force; Start-Service MSExchangeSearch
    

Registrar IFilters de Microsoft Filter Pack de forma automática

  1. Pegue el texto siguiente en un archivo del Bloc de notas.

    # Copyright (c) 2009 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 2010 to index Office 2007 file formats. 
    $DLLPath = $env:CommonProgramFiles + "\Microsoft Shared\Filters"
    $CLSIDKey = "HKLM:\SOFTWARE\Microsoft\ExchangeServer\V14\MSSearch\CLSID"
    $FiltersKey = "HKLM:\SOFTWARE\Microsoft\ExchangeServer\v14\MSSearch\Filters"
    # Filter DLL Locations
    $officeFilterLocation = $DLLPath + "\offfiltx.dll"
    $onenoteFilterLocation = $DLLPath + "\ONIFilter.dll"
    $visioFilterLocation = $DLLPath + "\VISFilt.DLL"
    # Filter GUIDs
    $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}"
    # Create CLSIDs
    Write-Host "Creating CLSIDs..."
    New-Item -Path $CLSIDKey -Name $docxGuid -Value $officeFilterLocation -Type String
    New-Item -Path $CLSIDKey -Name $pptxGuid  -Value $officeFilterLocation -Type String
    New-Item -Path $CLSIDKey -Name $xlsxGuid  -Value $officeFilterLocation -Type String
    New-Item -Path $CLSIDKey -Name $zipGuid  -Value $officeFilterLocation -Type String
    New-Item -Path $CLSIDKey -Name $xlsbGuid -Value $officeFilterLocation -Type String
    New-Item -Path $CLSIDKey -Name $onenoteGuid -Value $onenoteFilterLocation -Type String
    New-Item -Path $CLSIDKey -Name $vsdGuid  -Value $visioFilterLocation -Type String
    # Set Threading model
    Write-Host "Setting threading model..."
    New-ItemProperty -Path "$CLSIDKey\$docxGuid" -Name "ThreadingModel" -Value "Both" -Type String
    New-ItemProperty -Path "$CLSIDKey\$pptxGuid" -Name "ThreadingModel" -Value "Both" -Type String
    New-ItemProperty -Path "$CLSIDKey\$xlsxGuid" -Name "ThreadingModel" -Value "Both" -Type String
    New-ItemProperty -Path "$CLSIDKey\$zipGuid" -Name "ThreadingModel" -Value "Both" -Type String
    New-ItemProperty -Path "$CLSIDKey\$xlsbGuid" -Name "ThreadingModel" -Value "Both" -Type String
    New-ItemProperty -Path "$CLSIDKey\$onenoteGuid" -Name "ThreadingModel" -Value "Both" -Type String
    New-ItemProperty -Path "$CLSIDKey\$vsdGuid" -Name "ThreadingModel" -Value "Both" -Type String
    # Create Filter Entries
    Write-Host "Creating Filter Entries..."
    # Uncomment these if you wish to index these uncommonly exchanged formats
    #New-Item -Path $FiltersKey -Name ".docm" -Value $docxGuid -Type String
    #New-Item -Path $FiltersKey -Name ".pptm" -Value $pptxGuid -Type String
    #New-Item -Path $FiltersKey -Name ".xlsm" -Value $xlsxGuid -Type String
    #New-Item -Path $FiltersKey -Name ".vss" -Value $vsdGuid   -Type String
    #New-Item -Path $FiltersKey -Name ".vst" -Value $vsdGuid   -Type String
    #New-Item -Path $FiltersKey -Name ".vsx" -Value $vsdGuid   -Type String
    #New-Item -Path $FiltersKey -Name ".vtx" -Value $vsdGuid   -Type String
    # These are the entries for commonly exchange formats
    New-Item -Path $FiltersKey -Name ".docx" -Value $docxGuid -Type String
    New-Item -Path $FiltersKey -Name ".pptx" -Value $pptxGuid -Type String
    New-Item -Path $FiltersKey -Name ".xlsx" -Value $xlsxGuid -Type String
    New-Item -Path $FiltersKey -Name ".xlsb" -Value $xlsbGuid -Type String
    New-Item -Path $FiltersKey -Name ".zip" -Value $zipGuid  -Type String
    New-Item -Path $FiltersKey -Name ".one" -Value $onenoteGuid -Type String
    New-Item -Path $FiltersKey -Name ".vsd" -Value $vsdGuid   -Type String
    Write-Host "Registry subkeys created."
    Write-Host "Please restart Microsoft Search  (Exchange) service from the Services console, or by running stop-service msftesql-Exchange -Force ; start-service MSExchangeSearch "
    
  2. Asigne al archivo el nombre RegisterMicrosoftFilterPack.ps1 y, a continuación, guárdelo.

  3. Inicie Windows PowerShell o el Shell de administración de Exchange.

  4. Ejecute el script RegisterMicrosoftFilterPack.ps1.

    Importante

    Que Windows PowerShell o el Shell de administración de Exchange le permitan ejecutar secuencias de comandos viene determinado en la directiva de ejecución. Para obtener más información, consulte Seguridad de scripts.

  5. Reinicie el servicio Microsoft Search (Exchange) mediante la consola de servicios o escribiendo el siguiente comando en el Shell de administración de Exchange.

    Stop-Service msftesql-Exchange -Force; Start-Service MSExchangeSearch