How to configure SharePoint 2010 Search to crawl files in share folder

How to configure SharePoint 2010 Search to crawl file servers? 
SharePoint 2010 allows you to setup a search documents in file Share. Flowing steps will guide you to setup SharePoint 2010 search to access network file share

1. Go to Central Administration  Search Service Application: Manage Content Sources

Adding new content source in SharePoint 2010

2. Use this page to add, edit, or delete content sources, and to manage crawls. Click on New Content Source


Type a name to describe this content source.

Content Source Type

Select what type of content will be crawled.
Note: This cannot be changed after this content source is created because other settings depend on it.

Start Addresses

Type the URLs from which the search system should start crawling.
This includes all SharePoint Server sites and Microsoft SharePoint Foundation sites.

Configure File Shares for SharePoint 2010 Search

Crawl Settings

Specify the behavior for crawling this type of content.
Selecting to crawl everything under the hostname will also crawl all the SharePoint Sites in the server.

Caution: After you select crawl settings for a SharePoint content source, you cannot change crawling behavior unless you re-create the content source. Verify that you select the option that best suits your needs

Crawl Schedules

Select the crawl schedules for this content source.


Start Full Crawl

Select "Start full crawl of this content source" and click "OK" to start a full crawl of this content source.

Crawl the folder and subfolders in SharePoint 2010

Click Ok to perform a full crawl of this content source




3. Let’s go and create Search Scopes for External File Share

Use this page to view and manage search scopes. The order in which the search scopes appear in this list is the order in which they will appear in the search scope list next to the Search box.

Central Administration  Search Service Application: View Scopes 

Create Search Scopes in SharePoint 2010

Add your scopes and click OK

4. Now click on your new scope which you created  and add rules

Add rules to Search Scope

Scope Rule Type

Scope rules define what is in or not in a scope. Use different types of rules to match items in various ways



Web Address

Web Address scope rules can be used to create search scopes that include content in web sites, the shares, exchange public folders, or any other content in the search index that has a URL.

Folder rules will include items in the folder and subfolders of the indicated path.
Domain or hostname rules include all items within the specified domain or hostname.


Decide how this rule should be applied to the overall scope. The scope-wide filter is used when combining the items matching all rules to determine what is in the scopes overall.


Select Content Source and from the drop down list select File Share

Content Source in SharePoint 2010

Step 2 : Create a SharePoint Enterprise Search Center

1. Go to Central Administration | Application Management | Create Site Collection

Create Enterprise Search Center in SharePoint 2010

Select Enterprise search center template to create Search Center


2. Copy your new Search Center URL and go to your SharePoint Site

The new top-level site was created successfully with the specified URL. If you have permission to view the Web site, you can do so in a new browser window by clicking the URL. To return to SharePoint Central Administration, click OK .

SharePoint 2010 Search Center URL

Site Actions | Site Settings | Site Collection Administration | Search Settings

SharePoint 2010 Search Settings


Past your Search Center URL and Enable Custom Scopes

Site Collection Search Center

To enable sites to search custom scopes (such as "All Sites"), you must define a Search Center URL.

Once enabled, Search Boxes will show custom scopes to the user in the scopes dropdown.  Custom scopes can be defined in either this Site Collection or the Search Service scopes pages.  Queries will be sent to the Search Center URL with the scope’s results page appended.
By checking the "Use site level defaults" web part property, the search box will send custom scope queries to the Search Center defined in this "Site Collection Search Center" property.


Enable Custom Scopes in SharePoint 2010

Site Collection Search Dropdown Mode

Use this setting to configure the dropdown mode for search boxes in this site collection.  The dropdown can include Contextual or Custom Scopes.  The dropdown can show in the interface, or it can not show and simply direct searches to a default scope.
By default, a Search Box will use the "Dropdown Mode" property in the web part.  By checking the "Use site dropdown mode" property, the search box will use this "Site Collection Search Dropdown Mode" setting instead.


Site Collection Search Results Page

Use this setting to configure the search results page used for contextual searches (such as "This Site").  This page will not be used for custom scopes.
By default, a Search Box will use the "Target Results Page" property in the web part. By checking the "Use site level defaults" property, the search box will use this "Site Collection Target Results Page" setting instead.


Step 3 : Create a SharePoint Enterprise Search Center

Site Actions | Site Settings | Site Collection Administration | Search Settings | Search Scopes

Search Scopes  SharePoint 2010


Under unused scopes you can see File Share. Now click on Display Groups

Display Groups Scope


Click on Search Dropdown

Search dropdown in SharePoint 2010


Select your File Share
Scopes in this group will appear with the search box in the scopes dropdown.

Search Dropdown


This will enable File Share in Search dropdown and allow you to search files with in the shared folder.
I had to restart IIS to see this



Let’s go and search some files in the File Share folder. These are the files which I have in the Shared Folder

Searching Files from Shared Folder using SharePiont 2010


I am going to search “ ERP Data”

Shared Folder Search in SharePoint 2010


Results: All the files are coming from my Shared Folder.

Search Results from Shared Folder in SharePoint 2010

Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

8 thoughts on “How to configure SharePoint 2010 Search to crawl files in share folder

  1. hola oye muy buen tema acerca de la configuracion de la busqueda pero yo tengo una duda si nada mas quiero que me busque en la carpeta que tengo compartida, y no en los sitios. que tengo por que hasta ahorita si me busca en la carpeta pero tambien me busque en los sitios y me traae informacion de sitios que ya tengo creados. me podrias orientar de que debo hacer en ese caso.


  2. Hello!
    I have some wierd problem with search in public folder. My steps for set up search settings was absolutly the same. After full crawl completed 15 items were indexed, but in search scopes (in the site settings) shows 0 items, and search resaults empty too ( Have you any idea why this could happen?

    1. Yes, we had this, too, maybe same case: in case you give permissions via local group memberships the items will not be displayed.

  3. Take care with your user account connected to the central admin, it should have rights to the shared files. Scopes doesn’t use the Search account to show you how many items are available.

  4. Hi,
    i have configured search service using farm account and query web account/content crawl using different account(has full read permission on shared folder). Crawl works fine,shows scope items in search admin site; but doesn’t show items in search center scope and also search from site collection/search center doesn’t works. My login account has full permission in CA and file share. Any help is highly appreciated. thanks

  5. Hai

    i am trying to searching for local file in SharePoint 2010.

    I follow the same process

    I can search for local files it will display results perfectly in EnterPrise Search Center site And Basic Search Center BUT

    It don’t display results in SharePoint Home.aspx

    It is possible to search local file in normal site(Home.aspx)

    Please provide any information to get the results of Local files in sharepoint 2010


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: