SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've deployed a farm solution to a test environment by following the Technet Deploy solution packages page - works well. But development continues, and I need to redeploy.

When I follow the process again I get the error

Add-SPSolution: A solution with the same name "awesomewebparts.wsp" or id "[a random identifier string]" already exists in the solution store.

I gather that I need to either remove the existing version before adding the new version, or issuing a different command to update or overwrite the existing version. Can anyone provide any direction on how this should be done?

share|improve this question

Have you tried Update-SPSolution?

share|improve this answer

Use powershell commands:


Uninstall-SPSolution uses some sort of timer job to actually, so it can take 15-45 seconds for the Uninstall to finish.

This guy has a reasonable complicated script for automating this:

share|improve this answer
up vote 1 down vote accepted

One option is to retract and then remove the solution through Central Administration, which allows it to be redeployed.

  • In Central Adminstration, select System Settings.
  • From the Farm Management section, select 'Manage farm solutions'.
  • Select the solution you want to remove.
  • Click 'Retract Solution' and confirm. The solution will retract (undeploy)
  • Click 'Remove Solution' and confirm. The solution will be removed and can be be re-added.

I'm interested to know if there is any other way to redeploy a solution without uninstalling.

share|improve this answer
I'm going with the answer because I need to provide advice to our SharePoint administrators on how to deploy and update, and this is the most 'user friendly' (i.e. simplest) method. – Kirk Broadhurst Jun 12 '12 at 1:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.