Manually removing SharePoint 2010

Problem

It is best practice to always use the SharePoint uninstaller. However, there are times when SharePoint becomes so corrupted that the uninstaller does not work. For example, clicking ‘Uninstall’ doesnt do anything except run the msiexec process in the background, nothing happens. You may also get an error stating that the Uninstaller was unable to complete and the following message gets logged in your setup log file (it is located under C:\Users\<your username>\AppData\Local\Temp\2\SetupExe*.txt).

PSConfig.exe’ failed with error code: -1. Type: 8::CommandFailed

Anyone who has experienced a corrupted install of SharePoint knows how frustrating it can be to reinstall it. I run into this problem quite often on my developers machines.

Here is a quick how-to guide on how to manually uninstall SharePoint 2010 when the uninstall option does not work properly when uninstalling from ‘Programs and Features’.

Solution

  1. Open RegEdit and locate the following key. HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS
  2. Export the key and save it somewhere you can locate it later.
  3. Delete the entire WSS key.
  4. Locate the following key as well and delete: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.OSERVER
  5. Browse to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\ and rename the ’14’ folder to ’14.old’.
  6. Browse to C:\Program Files\Microsoft Office Servers and rename the ‘14.0’ folder to ‘14.0.old’
  7. Start a new installation of SharePoint 2010 from disk, the installer should assume that there is no existing copy of SharePoint on the system.
  8. Once you complete the installation, re-import the key you exported called ‘WSS’ to your registry.
  9. Start the uninstaller from Programs and Features. SharePoint should now uninstall everything completely.
  10. Reinstall SharePoint again.

 

 

Tags:

One Response to “Manually removing SharePoint 2010”

  1. dolman654 November 28, 2013 at 11:03 pm #

    Thanks !

Leave a Reply

%d bloggers like this: