Uninstall a SharePoint (WSP) Solution Package

In this hint, I will elaborate

How to uninstall a SharePoint (WSP) Solution Package?


Uninstalling a SharePoint Solution from SharePoint farm is performed through two steps:

  • Retract a solution.
  • Remove a solution.

Uninstall a SharePoint Solution via Central Administration.

  • Open Central Administration > System Settings > Manage farm solutions.

Mnaage Farm Solutions In SharePoint

  • In Solution Management > Click on the solution that you need to uninstall it.

Uninstall SharePoint WSP Solutions

  • In Solution Properties > Retract Solution.

Retract SharePoint WSP Solutions

  • Retract Now > Retract From > OK.

Uninstall SharePoint WSP Solutions using PowerShell

  • The solution is now Retracting.

Retracting Solution

  • Wait till the status will be “Not Deployed”

Not Deployed Solution

  • 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

Applies To
  • SharePoint 2013.
  • SharePoint 2016.
  • SharePoint 2010.
See also

How to install and deploy a SharePoint (WSP) Solution Package using PowerShell


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