Tuesday, September 30, 2014

Windows 2012 Server Core: How To Uninstall A Program?

We would like to uninstall a program but we are not able to do it as Server Core does not have the add/remove program feature.

To uninstall a program in Server Core, we have to do the following steps:

1.     Open Editor (Start > Run > regedit).

2.     Navigate to 
             HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\UNINSTALL

or
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\MICROSOFT\WINDOWS\CURRENTVERSION\UNINSTALL.  

3.     Search through the registry entries to look for the program you intend to uninstall.

4.     Look for the “UninstallString” and note down the registry value.  This value will be used as commandline.

5.     Open a command prompt and run the above copied registry value.  It will start to uninstall the intended program.

6.     Navigate back to the registry keys mentioned in step and you will notice that the registry entries you found earlier are no longer there.  Those program files residing in the hard-disk are also gone.

7.     Exit Registry Editor.

No comments:

Post a Comment