Monday, April 4, 2011

How to Uninstall Plesk 10.x From Windows 2008 Server - Manually Uninstall Plesk

Alright... Plesk sucks and with their extreme engineering, they forgot to put uninstaller there! Whatever that means, I don't get the idea of giving customers "15 Days Demo" when you have to trash the server if you don't like Plesk. Here is how I manually uninstalled Plesk from Windows 2008. The process is more or less the same for Windows 2003. Feel free to add comments so this can ultimately become a comprehensive installer.

Summary of the steps is as follows:
  • Stop All Plesk Services
  • Try to unisntall each individual application via Windows Installer Cleanup Utuility (by microsoft)
  • Delete All Plesk Services
  • Kill All the Plesk Processes
  • Remove the Websites
  • Remove the additional files under Program Files
  • Delete the Plesk Directories
----------------------
1) Stop Services related to plesk (anything starts with plesk, plus drcom, MysQL, mailenable)
2) Download Microsoft Cleanup Utility . Unfortunately, the tool is no longer available by microsoft so feel free to search for  MSICUU2.exe  ( I found one website that has it http://www.geekstogo.com/forum/files/file/397-msicuu2exe/   ).
3) Uninstall the apps in MSICUU2.exe . this will also remove the registry entires associated.
4) Check Serices and delete any remaining


To Delete Services:


 use the "SC Delete" and name of service. you can see list of services in the Server Manager. Here is what i found :

C:\Users\Administrator>sc delete ParallelsHealthMonitor
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete ParallelsHealthNotifier
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete PleskSQLServer
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete PopPassD
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete plesksrv
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete mysql5
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete drwebcom
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete mysqlserver
[SC] OpenService FAILED 1060:

The specified service does not exist as an installed service.


C:\Users\Administrator>sc delete mysql
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete pleskcontrolpanel
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete ParallelsHealthMonitor
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete ParallelsHealthNotifier
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete PleskSQLServer
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete PopPassD
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete plesksrv
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete mysql5
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete drwebcom
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete mysql
[SC] DeleteService SUCCESS

C:\Users\Administrator>sc delete pleskcontrolpanel
[SC] DeleteService SUCCESS

----------------
Next, Go  to Task Manager

Select column, choose COMMAND NAME

Make sure there is no process under c:\PLESK DIRECTORY

If there is, kill it

Remove the Websites in IIS

Then go to your plesk directory and rename the folder. At this point, ti should let you delete or rename the directory. If not, go back to task manger and service manager make sure you have killed/stopped/deleted everything
 .
Reboot the server.

You should have uninstalled all the stuff.