Monday, November 9, 2009

Manually Uninstalling MOSS 2007

I tried to install MOSS SP2 on top of MOSS SP1 on my development machine. Unfortunately I encountered so many errors while running the Sharepoint Product and technologies. So I decided to uninstall the exisiting installation and re-install a SP2 Slipstreamed version of MOSS 2007. When I go to add/remove programs and run the uninstaller it exited without prompting any error. After trying several steps I had to manually uninstall the existing MOSS 2007 installation.

Following are the steps I followed to uninstall MOSS 2007 Manually

Note: Before performing these operations make sure you backup all Share Point databases and create a backup of the registry.

a) Disable and Stop the following services

-Microsoft Single Sign-on Service
-Office SharePoint Server Search
-Windows SharePoint Services Administration
-Windows SharePoint Services Search
-Windows SharePoint Services Timer
-Windows SharePoint Services Tracing
-Windows SharePoint Services VSS Writer

b) Note the following registry keys:

From HKLM\Software\Microsoft\Office Server\12.0
-Install Path (default is C:\Program Files\Microsoft Office Servers\12)

From HKLM\Software\Microsoft\Shared Tools\
Web Server Extensions\12.0
-Location (default is C:\Program Files\Common Files\Microsoft Shared
\Web Server Extensions\12)

c) Delete the following registry hives:

HKLM\Software\Microsoft\Office Server\12.0
HKLM\Software\Microsoft\Shared Tools
\Web Server Extensions\12.0

[x32] – HKLM\Software\Microsoft\Windows
\CurrentVersion\Uninstall\OSERVER
[x64] – HKLM\SOFTWARE\Wow6432Node\Microsoft
\Windows\CurrentVersion\Uninstall\OSERVER

d) Delete the following folders:
The value of the InstallPath key
The value of the Location key
C:\%CommonProgramFiles%\Microsoft Shared\SERVER12
Restart the server and perform an installation as normal.
Before running the configuration wizard, follow the steps as follows
You need to restore the Server Language registry value by
creating the following .reg file (open notepad and paste the following):

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
\Shared Tools\Web Server Extensions\12.0 \ServerLanguage]
“1033″=”"

-Save this as fixlanguage.reg and upload it to your server.
Double click the file and say yes to the prompts.




1 comment:

err0r678 said...

You can just run stsadm -o uninstall and let it take care of all the above manual leg work for you, then run the uninstall from add/remove programs.