How to Uninstall SharePoint Solution WSP?

In this post, we’ll learn how to retract and delete WSP solution to completely uninstall SharePoint Solution from your SharePoint farm.

Applies To

  • SharePoint 2019.
  • SharePoint 2016.
  • SharePoint 2013.
  • SharePoint 2010.

You might also like to read deploy SharePoint solution powershell


Uninstall SharePoint Solution (WSP)

Uninstall SharePoint Solution (WSPs) from SharePoint farm is performed through two steps:

  • Retract SharePoint solution.
  • Remove SharePoint solution.

Uninstall SharePoint Solution Using Central Administration

Retract SharePoint solution Using Central Administration

Retract SharePoint Solution helps you to undeploy SharePoint Solution without removing the solution from the farm.

Once you retract SharePoint solution, the SharePoint solution status will be “Not Deployed”.

Steps
  • Open Central Administration.
  • Click on System Settings.
  • Below “Farm Management”, click on “Manage farm solutions”.
Manage Farm Solutions In SharePoint
  • In Solution Management > Click on the SharePoint solution that you need to uninstall it.
SharePoint WSP Solutions list
  • In Solution Properties, click on “Retract Solution” to undeploy SharePoint solution.
Retract SharePoint WSP Solutions
  • Retract Now > Retract From > OK.
Uninstall SharePoint WSP Solutions using PowerShell

As you prefer, you can retract the SharePoint solution for specific web application or from all web application.

  • The solution is now Retracting.
Retract SharePoint solution
  • Wait till the status will be “Not Deployed”
Undeploy SharePoint solution

Remove SharePoint Solution Using Central Administration

To completely remove SharePoint solution from the SharePoint farm, you should after retract the solution remove it as mentioned below:

Steps
  • Again, Click on the solution name > Click Remove.
Remove Solution

Uninstall a SharePoint Solution via SharePoint PowerShell

To remove a sharePoint solution from a farm, you must first retract it using the below Cmdlet:

Retract a SharePoint Solution

Uninstall-SPSolution -Identity contoso_solution.wsp

Remove a SharePoint Solution

After retracting the Sharepoint solution, you can now remove it via the below Cmdlet:

Remove-SPSolution -Identity contoso_solution.wsp

See also

Leave a Comment

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

Scroll to Top