Delete Corrupted Service Applications in SharePoint 2013

delete corrupt service application sharepoint 2013

In the process of configuring application services some time we end up with corrupted service applications in SharePoint 2013. Now I would like to walk you through 3 approaches we can follow to delete the corrupted / not used service applications in SharePoint 2013. The same way we can delete corrupted service applications in SharePoint 2016.  If you are new to SharePoint 2016, you can download a FREE SharePoint 2016 PDF Installation guide. Below three different ways:
– Delete from Central Administration
– PowerShell commands
– STSADM commands

Delete Corrupted Service Application from Central Administration:

This approach is simple and straight forward. Follow the below steps to delete the service application from Central administration.
1. Log-on to application server with FARM admin account
2. Open Central Administration and click on “Manage Service Applications” under Application Management

delete corrupt service application sharepoint 2010
delete corrupt service application sharepoint 2010

3. Select the required service application to be deleted (ex: Excel Services Application) and click on delete from the ribbon control.


delete corrupt service application sharepoint 2013
delete corrupt service application sharepoint 2013

4. Select the Checkbox “Delete data associated with the Service Application”.

Note: This will delete all the data associated with it and can’t be restored back

delete corrupt service application sharepoint 2016
delete corrupt service application sharepoint 2016

5. Once the Service Application is deleted it will show you a confirmation message as below. Click on OK / Cancel to close the model dialogue.

sharepoint 2016 delete search service application
sharepoint 2016 delete search service application

Deleted Corrupted Service Applications using PowerShell Commands:

Sometimes the first approach / Central administration will take long time and end up with timeout errors. In this second approach we are deleting Service application using PowerShell Commands referring to GUID of service application. You can run, debug and test PowerShell script using Windows PowerShell ISE.



1. Log-on Application Server
2. Open “SharePoint Management Shell” as administrator
3. Execute the below command to list all the existing service applications with their GUID’s
“Get-SPServiceApplication”

delete search service application sharepoint 2010 powershell
delete search service application sharepoint 2010 powershell

4. Identify the required service application to be deleted as shown in the above screen shot.
5. Execute the below command to delete / remove the service application, this step might take 10 to 15 min time.
“Remove-SPServiceApplication –Identity <GUID>”

remove corrupt search service applications sharepoint 2013
remove corrupt search service applications sharepoint 2013

Deleted Corrupted Service Application using STSADM Commands:

Sometimes the above the 2 approaches might take long time. The last and dirty work around is STSADM commands.
In this approach also we will have to follow step1 to stp4 from 2nd approach to get the service application GUID to delete service application.

Execute the below command to delete the service application.


stsadm -o deleteconfigurationobject –id <GUID>

delete search service application sharepoint 2013
delete search service application sharepoint 2013

Enjoy administration in SharePoint !!!!


You May Also like the Following SharePoint Online Tutorials:

About Krishna Vandanapu

I am Krishna.Vandanapu a SharePoint architect working in IT from last 12 years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019

View all posts by Krishna Vandanapu →