How to Uninstall SharePoint 2013? – Complete Steps!

It’s a pretty common question, and we stuck here often: How to Uninstall SharePoint 2013 completely from the server? Remove Server option From Central Administration >> Servers in Farm page? NO!! You can’t uninstall SharePoint 2013 with this option. The “Remove server” option must be used only when a particular server is no longer available, and you want to remove it from your SharePoint farm.

Follow these steps to uninstall SharePoint 2013:

  • Go to Control Panel (Shortcut: Appwiz.cpl), Pick Microsoft SharePoint Foundation 2013 (or Server!), and click on the “Change” button.uninstall sharepoint server 2013
  •  In the Change your installation of Microsoft SharePoint Server 2013 page, Choose Remove, and then click Continue.how to uninstall sharepoint 2013
  • A confirmation message appears. Click Yes to remove SharePoint 2013.
     uninstall sharepoint 2013 server
  • A warning message appears. Click OK to continue.
     uninstall sharepoint 2013 manually
  • Watch the uninstallation progress…
    how uninstall sharepoint 2013
  • Wait for the “Successfully uninstalled” message.

But wait! When you uninstall SharePoint 2013 with the above steps, most of the files and folders are deleted. However, some objects need our manual intervention.

Clear IIS Sites and Virtual Folders, Remove physical files

We got to manually delete web applications created in IIS and their virtual folders from the file system.
delete iis physical folders and files

Delete Search Index Files:

In search index servers, remove the search index manually. To get search index files location, run these PowerShell cmdlets:

$SearchInstance = Get-SPEnterpriseSearchServiceInstance
$SearchInstance.Components

Delete IIS Log Files:
delete iis logs
Delete 14/15 Hive customizations:
 

Delete the SharePoint Databases from Database Server:

Uninstalling SharePoint 2013 dismounts SharePoint databases from its web applications. But it doesn’t remove any physical file stored in the database server. So, remove them all!

TechNet reference on Uninstall SharePoint 2013: https://technet.microsoft.com/en-us/library/cc262874.aspx

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

3 thoughts on “How to Uninstall SharePoint 2013? – Complete Steps!

  • Can we remove Office Web App & Workflow servers in same way?

    Reply
  • Hi,

    On the step “Delete 14/15 Hive customizations” do you mean delete the folders or is it more complicated then that?

    Greetings,
    George

    Reply
    • If the customizations are deployed to its own folder like “Company.Feature” or something like that, then its fairly easy to remove the folder. Finding and deleting Shared folder customizations could be a tedious task.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *