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.

To uninstall a SharePoint Solution from SharePoint farm via Central Administration.

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

Manage Farm Solution

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

Farm Solution List

  • In Solution Properties > Retract Solution.

Retract Solution

  • Retract Now > Retract From > OK.

Retract Solution 1

  • 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

To uninstall a SharePoint Solution from SharePoint farm via SharePoint Management Shell.

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.
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 )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s