How To Install and Configure Adobe PDF iFilter in SharePoint 2010

  1. Download and install the PDF iFilter msi

http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542

  1. Download the PDF file icon. http://www.adobe.com/legal/permissions/icons-web-logos.html
  2. Save the icon file gif to the following location:

C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATEIMAGES

  1. Add the mapping entry to the docIcon.xml file located :Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATEXML

 <Mapping Key=”pdf” Value=”pdficon.gif” OpenControl=””/>

  1. Add the pdf extension to the File Types of the Search Application Service
  2. Using regedit, navigate to:

\HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters

Add the following values to this key:

<REG_SZ> Default = <value not set> <REG_SZ> Extension = pdf <REG_DWORD> FileTypeBucket = 1 <REG_SZ> MimeTypes = application/pdf

You can also use Powershell to create the keys and values:

New-Item -path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters.pdf’ | Out-Null

New-ItemProperty -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters.pdf’ -Name “Extension” -value “.pdf” -PropertyType string | Out-Null

New-ItemProperty -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters.pdf’ -Name “Mime Types” -value “application/pdf” -PropertyType string | Out-Null

New-ItemProperty -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters.pdf’ -Name “FileTypeBucket” -value “1” -PropertyType dword | Out-Null

  1. Using regedit, navigate to:

 \HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupContentIndexCommonFiltersExtension

Right-click the Filters folder and select New key. Enter “.pdf” for the key value and set the default value to {E8978DA6-047F-4E3D-9C78-CDBE46041603}

And again, you can also use Powershell to create the key and value:

New-Item -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupContentIndexCommonFiltersExtension.pdf’ | Out-Null

New-ItemProperty -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupContentIndexCommonFiltersExtension.pdf’ -name “(Default)” -Value “{E8978DA6-047F-4E3D-9C78-CDBE46041603}” -PropertyType string | Out-Null

Restart the SharePoint Search Service

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s