Connect SharePoint 2010 Search to File Shares
Use SharePoint Enterprise Search to Index and Query Windows File Shares1. I created a service account to use as the content access account. Example: svc.search.content.
2. Ensure file types are correct.
Note: By Default SharePoint search does not include all file types. I ran a PowerShell command to query the set:
Get-SPEnterpriseSearchServiceApplication | Get-SPEnterpriseSearchCrawlExtension | Sort-Object FileExtension
Then I ran this command to add new file types:
$FileExt = "jpg"
Get-SPEnterpriseSearchServiceApplication | New-SPEnterpriseSearchCrawlExtension -Name $FileExt
3. Ensure the default content access account in Search has Share Permissions of: Read. Security Permissions of: Read & execute, List folder contents, and Read.
4. I created a new content source so that I can set a different schedule for indexing. Our corporate file shares are very large so the indexing takes 160+ hours for an incremental.