Thursday, September 5, 2013

Error message when you try to uninstall SharePoint Foundation 2010 or SharePoint Server 2010: "Microsoft SharePoint 2010 uninstall did not complete successfully"

This one drove me crazy.  Most people can solve the error with these two fixes:

  1. http://davidlimsharepoint.blogspot.com/2010/08/microsoft-sharepoint-server-2010.html
  2. http://support.microsoft.com/kb/981228
Unfortunately, mine was more esoteric.  The real issue was not a registry setting but a failed SQL Express install!

Dug out from my logs:

Can't uninstall Sharepoint Server 2010 - Error: Command: dbwrap.exe' failed with error code: -2068643838. Type: 8::CommandFailed.

Solution:

Uninstall the SQL Server Express !

http://social.technet.microsoft.com/Forums/sharepoint/en-US/7caf3aa0-b3c8-4a52-af7f-1527eee52828/cant-uninstall-sharepoint-server-2010-error-command-dbwrapexe-failed-with-error-code

4 comments:

  1. Additional findings are that two keys are needed in registry

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\

    Add 2 strings

    ServerRole = APPLICATION (FARM) or SINGLE (Standalone)
    SetupType = CLEAN_INSTALLATION

    ReplyDelete
  2. Additional policy setting which can cause issues

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Shared Tools\Web Server Extensions\14.0\SharePoint\DisableInstall

    DisableInstall = 1

    Should be 0 to allow installation

    Source:http://social.technet.microsoft.com/Forums/lync/en-US/1badd5b4-e24f-4fe6-a948-ed22744c707a/sharepoint-2010-uninstalling-error

    ReplyDelete
  3. Final solution was successfully accomplished by taking a copy of the registry of a working sharepoint 2010 install. Restored over the corrupted version of the registry and bingo!

    ReplyDelete