You are currently offline, waiting for your internet to reconnect

Error message when you try to uninstall SharePoint Foundation 2010: "Return code: 8"

You cancel the Configuration Wizard when you upgrade from Windows SharePoint Services 3.0 to Microsoft SharePoint Foundation 2010. Then, you try to uninstall SharePoint Foundation 2010. However, the uninstall fails and you receive the following error message:

Executing command path: '<Drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\PSConfig.exe', args: '-cmd uninstall'
Error: Command: '<Drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\PSConfig.exe' failed with error code: -1. Type: 8::CommandFailed.

Showing completion dialog.
Reboot requested if needed.
No reboot is needed.
Catalyst execution finished: <Date Time>. Return code: 8.
PERF: TickCount=<Number> Name=RunSetup Description=End function
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

To work around this problem, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Secure\ConfigDB
  3. Right-click the Dsn registry entry, click Delete, and then click Yes.
  4. Uninstall SharePoint Foundation 2010.
  5. If you want to use the original Windows SharePoint Services 3.0 farm, restore the farm from a backup file.

Article ID: 979513 - Last Review: 09/12/2011 03:35:00 - Revision: 4.0

  • Microsoft SharePoint Foundation 2010
  • Microsoft SharePoint Server 2010
  • kbexpertiseinter kbtshoot kbsurveynew kbprb KB979513