SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to enable PDF crawling for Foundation Search V4, but have only been able to find resources for PDF crawling for the complete versions of 2010 - Some of the instructions and procedures vary between these versions, so I suspect the problem is regarding these differences.

Has anyone had any success getting PDF Search Crawling spun up on foundation 2010, and if so, how did you go about it?


share|improve this question
up vote 2 down vote accepted

Yes you can enable it on Foundation 2010 using PowerShell

    function AddExtention([string] $extension){ 

    if ($extension -eq $null) { 
        Write-host "No extention Found" 
        Write-host "Activating extension $extension" 

        $gadmin = new-object -comobject "SPSearch4.GatherMgr.1" -strict 

        Foreach ($application in $gadmin.GatherApplications) 
            write-host "application name is $" 
            Foreach ($project in $application.GatherProjects) 
                write-host $project.Extensions 


function AddPdfRegKey(){ 

    $pdfKey = "HKLM:\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf" 

    $pdfguid = "{E8978DA6-047F-4E3D-9C78-CDBE46041603}" 

    if (Test-Path $pdfKey) {   
        write-host "Pdf registry key already exists"  

        $key = Get-Item $pdfKey 
        $values = Get-ItemProperty $key.PSPath 
        foreach ($value in $key.Property) { $value + "=" + $values.$value } 
    else {   
        Write-host "creating key $pdfKey" 

        #create key 
        New-Item -Path $pdfKey 

        #Set default value to good guid 
        $defaultKeyName = "(default)" 
        Set-ItemProperty -Path $pdfKey -Name $defaultKeyName -Value $pdfguid 


AddExtention "pdf" 

& net stop SPSearch4 
& net start SPSearch4 

Write-host "running a fullcrawlstart..." 
&stsadm -o spsearch -action fullcrawlstart 

taken from Blog

I never personally tried it but I am sure it will effect your server performance as if you have hundred and hundred of sites :)

hope it helped !

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.