Zero Hour Sleep
10May/113

Exchange 2010 SP1 fails with: Setup previously failed while performing the action “Uninstall”.

While installing Microsoft Exchange 2010 SP1, the setup might fail with the following error

Setup previously failed while performing the action "Uninstall". You can't resume setup by performing the action "BuildToBuildUpgrade".

The error will look like the below depending if you are using the GUI or CLI

Sp1Error

Sp1Error1

To solve this problem you will need to edit the registry using regedit tool

Disclaimer: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. ZeroHourSleep cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

On the Exchange server you are having trouble open open regedit and browse to HKLocalMachine\Software\Microsoft\ExchangeServer\V14 and check the roles Keys, MailboxRole in my case, and delete the Action and Watermark keys.

Sp1Error2

You should be fine to roll now

Enjoyed the post, what is next?

Grab our FULL RSS feed! or Email Updates then share it

About Antoine Khater

I have been working in IT consultancy and solution integration since 1998 and I consider myself lucky to be, one in a few, making a living out of my passion. I am also member of the famous Experts Exchange (profile here) online community where I try my best to share what I have learned along the road.
  • Mrehman

    thanks it helped.

  • http://www.davidmarkley.com farewelldave

    thanks, this fixed my ability to uninstall the Hub Transport Role on a failed Exchange 2010 installation. The “Action” and “Watermark” entries were inside the “HubTransportRole” key for my unique issue, so I would assume that whichever role was giving you a problem uninstalling/installing that’s the key to look under.

  • Moss

    solved my problem, thanks