Home > SharePoint > How to rebuild Search Service Application in SharePoint 2010

How to rebuild Search Service Application in SharePoint 2010

1) Open SharePoint Management Shell as an administrator


Delete the Search Service Application


2) Locate the GUID for the search service application by typing


Get-SPServiceApplication |?{$_.name -eq “<name of the search application>”}


3) Copy the names of the Databases associated with the Search Service Application

4) Run the following stsadm command


Stsadm.exe –o deleteconfigurationobject –id ‘<GUID>’

4 ) Delete the following databases from SQLManagementStudio . The exact names are copied under Step 3.





5) Delete the index files from Program Files\Microsoft Office Servers\14\Data\Office Servers\Applications


6) Go to Central AdministrationàManage Service Applications

7) Click New Search Service Application

8) Provide a name to the application and select the managed account and Click Ok

Wait for the confirmation

Configure the new Search Service Application


9) Add the existing portal address in the content sources and setup Full Crawl and Incremental crawl.

10) Run full crawl





  1. rpd268
    December 14, 2012 at 8:44 pm

    How to delete the index files you mention in step 5? That directory contains a number of different folders (with about 30-character-long names) and sub-folders, but which ones are “index files”? Which ones can be deleted safely?

  2. December 14, 2012 at 9:32 pm

    Delete all of them. It will be recreated again.

    • rpd268
      December 19, 2012 at 8:45 pm

      Great, thanks!

  1. No trackbacks yet.

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 )

Google+ photo

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

%d bloggers like this: