Plesk for Windows uninstallation

Created:

2016-11-16 13:04:29 UTC

Modified:

2017-04-24 11:02:15 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Plesk for Windows uninstallation

Applicable to:

  • Plesk 10.3 for Windows
  • Plesk 10.4 for Windows
  • Plesk Onyx for Windows

Uninstall feature is natively supported in Plesk 11.

Who needs it

This article may be useful for a small business that has important third-party software, other than Plesk, installed on its server. If only Plesk is installed on your server, it would be better and faster to reinstall Windows and then Plesk. In addition, the article will be useful for those who wish to remove specific Plesk components.

Full Plesk uninstallation

For complete Plesk uninstallation, use the corresponding attached .bat file for the 10.3.1 or 10.4.4 version.

**NOTE:** Check this script before uninstallation to be sure that you need to remove all components this script removes. If you do not want to uninstall a certain component, simply remove the corresponding line from the script.

Several steps must be completed after uninstallation by hand:

  1. To uninstall MSSQL 2005/2008 servers, use Add or Remove Programs on Windows 2003 or Programs and Features on Windows 2008.

  2. Clean hosting (IIS configuration, "%plesk_vhosts%" ). To clean IIS configuration use IIS Manager. You will need to remove:

    • PleskControlPanel site
    • Sqladmin site
    • Webmail site
    • PleskControlPanel application pool
    • Plesk(default) pools if your sites will not use it anymore
    • Plesk Extensions
    • Python Extensions
    • Perl Extensions

    NOTE: Customers' sites are located in "%plesk_vhosts%" , so be careful when deleting.

    a. To stop IIS, use this command:

        iisreset /STOP

    b. If you want to completely uninstall IIS:

    On Windows 2008:

    Uninstall Web Server role by using Server Manager.

    On Windows 2003:

    Use Add or Remove Programs Add/Remove Windows Components.

  3. Clean "%plesk_dir%" by hand.

    NOTE: mailboxes, DNS settings, databases, and other data is located here, so be careful.

  4. Run regedit.exe and remove keys:

    HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\[Wow6432Node]\\\\Plesk
    HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\[Wow6432Node]\\\\Mail Enable

    (if you have uninstalled the MailEnable component)

    [Wow6432Node] is needed if you use x64 platform.

  5. Remove Plesk autoinstaller caching folder: "%SystemDrive%\\\\ParallelsInstaller".

  6. Reboot.

Uninstallation of Plesk 10.3.1 components

1\. Plesk core components

NOTE : Removing these components will completely disable Plesk installation.

1.1. Uninstall packages.

 Plesk-backup:

msiexec /x {87791106-538B-42DB-B3BB-44E6666FFB1C}

Spaw:

msiexec /x {129B6D57-CAA6-4CAF-AE4C-F2D42458E6AC}

Plesk-skins:

msiexec /x {770E42E3-1A92-46BC-9905-6F42A9699139}

Upgrade-assist:

msiexec /x {B7CB39AA-9FEC-4253-B14C-98BFD310F508}

Panel:

msiexec /x {5A5C890E-0E9B-4DFA-865F-23036EAA49D2}

Plesk:

msiexec /x {1C997F30-CE19-4221-BC94-989E9A73AD74}

MySQL admin:

net stop PleskSQLServer
sc delete PleskSQLServer
msiexec /x {1583AC5C-1F05-40F0-8126-1E7A2D8F2FDC}

Plesk-engine:

msiexec /x {F67847AD-4094-4B21-9B0E-2AE6E92BA3D2}

1.2. Restart IIS:

        iisreset

1.3. Clean hosting (IIS configuration, "%plesk_vhosts%" ). To clean IIS configuration, use IIS Manager.

1.4. Clean "%plesk_dir%" by hand.

1.5. Run regedit.exe and remove key:

    HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\[Wow6432Node]\\\\Plesk

`[Wow6432Node]` is needed if you use x64 platform.

1.6. Reboot.

2\. AWStats

    msiexec /x {17020144-C6BB-4bdd-802E-5459BBCB070A}
defpackagemng.exe --get --force
defpackagemng.exe --fix

3\. MailEnable mail server

NOTE: Plesk cannot work without a chosen mail server.

3.1. Run:

     “%plesk_dir%\\ Mail Servers\\Mail Enable\\Bin\\UNWISE.EXE” /S “%plesk_dir%\\ Mail Servers\\MailEnable\\Bin\\INSTALL-STANDARD.LOG”

3.2. Run regedit.exe and remove key:

    HKEY\\_LOCAL\\_MACHINE\\\\SOFTWARE\\\\[Wow6432Node]\\\\Mail Enable

`[Wow6432Node]` is needed if you use x64 platform.

3.3. Run:

         defpackagemng.exe --get --force
defpackagemng.exe --fix

4\. BIND DNS Server

NOTE: Plesk cannot work without a chosen DNS server.

msiexec /x {19E548B1-DBC2-4bfc-BA3D-715D83424BB8}
defpackagemng.exe --get --force
defpackagemng.exe --fix

5\. Perl script engine

NOTE: The SpamAssasin component will not work after uninstallation:

msiexec /x {F7B9B60F-DBB3-4116-967B-BA93E278331E}
defpackagemng.exe --get --force
defpackagemng.exe --fix

6\. Python script engine

NOTE: The Python component is a part of Plesk core functionality.

msiexec /x {B3E48353-D9BF-4c66-8331-385070F655BB}
defpackagemng.exe --get --force
defpackagemng.exe --fix

7\. PHP4 script engine

msiexec /x {A8A9FE13-E0F6-4584-8F22-8E6E8AF4DFC3}
defpackagemng.exe --get --force
defpackagemng.exe --fix

8\. PHP5 script engine

NOTE: These components will not work after uninstallation:

  • Horde
  • AtMail
  • PHPMyAdmin
    msiexec /x {977B9493-3538-48d8-8BE3-1331F7F015EB}
    defpackagemng.exe --get --force
    defpackagemng.exe --fix

9\. SpamAssassin

msiexec /x {86DE3C8F-9143-44f4-BAB3-9F3E7D152182}

10\. Perl modules:

msiexec /x {32A24916-A53B-4776-BF6A-7E04B9520A0C}
defpackagemng.exe --get --force
defpackagemng.exe --fix

11\. MySQL server

NOTE: These components will not work after uninstallation:

  • Sitebuilder
  • Billing
  • Horde
  • Atmail
    msiexec /x {B0F6AB4A-26D1-4832-AE6D-C3E1093340EC}

    MySQL-server-configurator:
    msiexec /x {015CC3CB-A212-4557-9DEA-1EFEEFBDE11F}

    defpackagemng.exe --get --force
    defpackagemng.exe –fix

    rmdir /S /Q "%plesk_dir%\\Databases\\MySQL"

12\. PHPMyAdmin

msiexec /x {BA0CA192-3A10-4A4B-B20D-219BB20BC3D1}
defpackagemng.exe --get --force
defpackagemng.exe --fix

13\. myLittleAdmin

msiexec /x {90DE4BED-32F1-4cd9-92D3-8BA4D9D573D9}
defpackagemng.exe --get --force
defpackagemng.exe --fix

14\. Webalizer

msiexec /x {D76A41DA-AD93-4BFF-A74F-BEFD0797BD23}
defpackagemng.exe --get --force
defpackagemng.exe --fix

15\. MySQL ODBC driver

msiexec /x {C0EED196-57F3-46B7-AC3B-B2DD45B01A43}

16\. MSSQL 2005 server

Programs and Features > Uninstall

defpackagemng.exe --get --force
defpackagemng.exe --fix

rmdir /S /Q "%plesk_dir%\\Databases\\MSSQL.1"

17\. MSSQL 2008 server

Programs and Features > Uninstall

defpackagemng.exe --get --force
efpackagemng.exe --fix

rmdir /S /Q "%plesk_dir%\\Databases\\MSSQL10_50.MSSQLSERVER2008"`

18\. Horde webmail

  1. Uninstall package:

    msiexec /x {0C552849-DFEE-4d05-8412-C55551BD9435}
  2. Remove database and user:

    a. Get client’s MySQL admin password:

    dbclient --direct-sql --sql="select * from databaseservers"

    b. Login to client’s MySQL:

    %plesk_dir%\\Databases\\MySQL51\\mysql -uadmin -p********

    c. Execute SQL:

    drop user 'horde'@'localhost';
    drop database horde;

19\. Atmail

  1. Uninstall package:

    msiexec /x {86774763-0CD3-4152-93B9-272BA8B17A0D}
    defpackagemng.exe --get --force
    defpackagemng.exe --fix
  2. Remove database and user.

    a. Get client’s MySQL admin password:

    dbclient --direct-sql --sql="select * from databaseservers"

    b. Login to client’s MySQL:

    %plesk_dir%\\Databases\\MySQL51\\bin\\mysql -uadmin -p********

    c. Execute SQL:

    drop user 'atmail'@'localhost';
    drop database atmail;

20\. Plesk Premium Antivirus

msiexec /x {75C19997-DA57-4139-95C8-32C3972ECA97}
defpackagemng.exe --get --force
defpackagemng.exe --fix

21\. Kaspersky Antivirus

msiexec /x {2381B128-CD47-4264-974C-07BA9F081CE3}
defpackagemng.exe --get --force
defpackagemng.exe –fix

22\. ASP.NET Enterprise Manager

msiexec /x {4EEFCCB1-93FC-4f05-A28A-9A4D4A3BC3F3}
defpackagemng.exe --get --force
defpackagemng.exe --fix

23\. Plesk Migration Manager

 msiexec /x {1B55D303-4EFC-43c9-86DB-1FAD93EB264F}  
defpackagemng.exe --get --force
defpackagemng.exe --fix

24\. Plesk SSL Wrapper

 msiexec /x {E7168ED3-B6FB-495a-AA65-0ED033A815D5}
defpackagemng.exe --get --force
defpackagemng.exe --fix

25\. Apache Tomcat Java server

msiexec /x {611F370A-9B1C-48fd-B6C9-768BFAFF5160}

Java-SDK (optional):

msiexec /x {32A3A4F4-B792-11D6-A78A-00B0D0150010}

Java-JRE (optional) :

 msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0150100}
defpackagemng.exe --get --force
defpackagemng.exe --fix

26\. System Health Monitor

 msiexec /x {D2D90AD4-9836-4748-BBBA-5CBD0C499C41}
defpackagemng.exe --get --force
defpackagemng.exe --fix

27\. SiteBuilder

NOTE : The SiteBuilder component is a part of Panel core functionality.

a\. Uninstall package:

msiexec /x {AF3311C9-50F4-477d-8D2F-20C8C6057DC8}  
defpackagemng.exe --get --force
defpackagemng.exe –fix

b\. Remove database and user.

1\. Get client’s MySQL admin password:

dbclient --direct-sql --sql="select * from databaseservers"

2\. Login to client’s MySQL:

        %plesk_dir%\\Databases\\MySQL51\\bin\\mysql -uadmin -p********

3\. Execute SQL:

drop user 'sitebuilder'@'localhost';
drop database sitebuilder5

28\. Customer & Business Manager

  1. Use this KB article to remove Plesk registration in Customer & Business Manager.

Do not forget to disable SSO:

    "%plesk_dir%/bin/sso” --disable
  1. Uninstall packages.

SSO:

    msiexec /x {C6BBAF8C-5AD9-4f1f-934B-6B9A3F253CB1}

Customer & Business Manager Plugins:

msiexec /x {45E810DF-BDCF-435B-AEFB-EE13254A1172}

Customer & Business Manager:

msiexec /x {6E66E82A-031D-4f68-9386-00EB63B766D6}

defpackagemng.exe --get --force
defpackagemng.exe --fix

c. Remove database and user.

i. Get client’s MySQL admin password:

`dbclient --direct-sql --sql="select * from databaseservers"

  ii. Login to client’s MySQL:

%plesk_dir%\\Databases\\MySQL51\\bin\\mysql -uadmin -p********

  iii. Execute SQL:

`drop user 'billing'@'localhost';`

`drop database billing;`

d. Remove SSO database: remove or rename file "_%plesk\\_dir%\\\\db\\\\sso.db."_

Uninstallation of Plesk 10.4.4 components

1\. Plesk core components

NOTE: Removing of these components will completely disable Plesk installation.

a. Uninstall packages.

Plesk-backup:

msiexec /x {66CB1058-7562-41A0-89B0-00E263C11B46}

Spaw:

msiexec /x {129B6D57-CAA6-4CAF-AE4C-F2D42458E6AC}

Plesk-skins:

msiexec /x {BDF1FE65-FDB9-4DA2-AEDE-E1FDA247C6EE}

Upgrade-assist:

msiexec /x {B7CB39AA-9FEC-4253-B14C-98BFD310F508}

Panel:

msiexec /x {1E71E3F4-1099-4B82-A97D-11D23C7405DB}

Panel-desktop:

msiexec /x {6FEA8D36-059B-42E0-B4B2-CE962A344275}

Panel-management:

msiexec /x {77116B24-92A0-497B-9AE5-D0DF844DAAB2}

Panel-vhosts:

msiexec /x {70F8AC72-1526-48A8-9A6A-5C168820B44E}

Plesk:

msiexec /x {69DE0C26-A7EC-44F2-9311-84673E790F9F}

MySQL admin:

net stop PleskSQLServer
sc delete PleskSQLServer
msiexec /x {1583AC5C-1F05-40F0-8126-1E7A2D8F2FDC}

Plesk-engine:

msiexec /x {6A8964CA-96C8-4DDD-B514-60F9CA8C364B}

b. Restart IIS:

iisreset

c. Clean hosting (IIS configuration, "%plesk\\_vhosts%"). To clean IIS configuration, use IIS Manager.

d. Clean "%plesk\\_dir%" by hand.

e. Run "regedit.exe" and remove key:

HKEY\_LOCAL\_MACHINE\\SOFTWARE\\[Wow6432Node]\\Plesk

[Wow6432Node] is needed if you use x64 platform.

f. Reboot.

2\. AWStats

msiexec /x {17020144-C6BB-4bdd-802E-5459BBCB070A}
defpackagemng.exe --get --force
defpackagemng.exe --fix

3\. MailEnable mail server

NOTE: Plesk cannot work without a chosen mail server.

a. Run:

“%plesk_dir%\\ Mail Servers\\Mail Enable\\Bin\\UNWISE.EXE” /S “%plesk_dir%\\ Mail Servers\\Mail Enable\\Bin\\INSTALL-STANDARD.LOG”

b. Run "regedit.exe" and remove key:

HKEY\_LOCAL\_MACHINE\\SOFTWARE\\[Wow6432Node]\\Mail Enable

[Wow6432Node] is needed if you use x64 platform.

c. Run:

defpackagemng.exe --get --force
defpackagemng.exe –fix

4\. BIND DNS Server

NOTE: Plesk cannot work without a chosen DNS server.

For BIND 9.8.1:

msiexec /x {6E745032-6E51-453F-95A3-4FAF32CF2047}

For BIND 9.8.1-P1 (later release):

msiexec /x {6DAD7C34-7DF7-4e4f-8E90-747273227D42} defpackagemng.exe --get --force
defpackagemng.exe --fix

5\. Perl script engine

NOTE: The SpamAssasin component will not work after the uninstallation: SpamAssasin.

Perl-conf:

msiexec /x {71D29A0B-8D58-4AA4-A570-093C3FCEBE2E}

Perl:

msiexec /x {F7B9B60F-DBB3-4116-967B-BA93E278331E} defpackagemng.exe --get --force
defpackagemng.exe --fix

6\. Python script engine

NOTE: The Python component is a part of Panel core functionality.

Python-conf:

msiexec /x {D844A4F9-EF5D-491D-8595-71CAEAA1842C}

Python:

msiexec /x {B3E48353-D9BF-4c66-8331-385070F655BB} defpackagemng.exe --get --force
defpackagemng.exe --fix

7\. PHP4 script engine

msiexec /x {A8A9FE13-E0F6-4584-8F22-8E6E8AF4DFC3}
defpackagemng.exe --get --force
defpackagemng.exe --fix

8\. PHP5.2 script engine

NOTE: These components will not work after the uninstallation: Horde, AtMail, PHPMyAdmin

msiexec /x {4E175F63-A685-4442-8135-FECF40A8AF4B}
defpackagemng.exe --get --force
defpackagemng.exe --fix

9\. PHP5.3 script engine

msiexec /x {627B1C48-BEF3-4A25-89D6-0DAAF10AFCD8}
defpackagemng.exe --get --force
defpackagemng.exe --fix

10\. SpamAssassin

msiexec /x {86DE3C8F-9143-44f4-BAB3-9F3E7D152182}

Perl modules:

msiexec /x {32A24916-A53B-4776-BF6A-7E04B9520A0C} defpackagemng.exe --get --force
defpackagemng.exe --fix

11\. MySQL server

NOTE: These components will not work after the uninstallation: Sitebuilder, Billing, Horde, Atmail.

msiexec /x {B0F6AB4A-26D1-4832-AE6D-C3E1093340EC}

MySQL-server-configurator:

msiexec /x {015CC3CB-A212-4557-9DEA-1EFEEFBDE11F}
defpackagemng.exe --get --force
defpackagemng.exe –fix

Remove folder "%plesk\_dir%\\Databases\\MySQL" by hand.

12\. PHPMyAdmin

msiexec /x {98DF88D4-D5F6-427B-BF2E-94944E10BB19}
defpackagemng.exe --get --force
defpackagemng.exe --fix

13\. myLittleAdmin

msiexec /x {90DE4BED-32F1-4cd9-92D3-8BA4D9D573D9}
defpackagemng.exe --get --force
defpackagemng.exe --fix

14\. Webalizer

msiexec /x {D76A41DA-AD93-4BFF-A74F-BEFD0797BD23}
defpackagemng.exe --get --force
defpackagemng.exe --fix

15\. MySQL ODBC 3.51 driver

msiexec /x {C0EED196-57F3-46B7-AC3B-B2DD45B01A43}

16\. MySQL ODBC 5.1 driver

msiexec /x {69733CDD-2AB0-44B7-979E-4753D810B103}

17\. MSSQL 2005 server Programs and Features > Uninstall

defpackagemng.exe --get --force
defpackagemng.exe --fix

Remove folder "%plesk\_dir%\\Databases\\MSSQL.1" by hand.

18\. MSSQL 2008 server. Programs and Features > Uninstall

defpackagemng.exe --get --force
defpackagemng.exe –fix

Remove folder "%plesk\_dir%\\Databases\\MSSQL10\_50.MSSQLSERVER2008" by hand.

19\. Horde webmail

a. Uninstall package:

`msiexec /x {09B99EAB-2930-4911-94D9-D42EB3CD21AB}`

b. Remove database and user.

i. Get client’s MySQL admin password:

`dbclient --direct-sql --sql="select * from databaseservers"

ii. Login to client’s MySQL:

`%plesk_dir%\\Databases\\MySQL51\\mysql -uadmin -p********`

iii. Execute SQL:

`drop user 'horde'@'localhost';
drop database horde;`

20\. Atmail

a. Uninstall package:

`msiexec /x {86774763-0CD3-4152-93B9-272BA8B17A0D}

defpackagemng.exe --get --force

defpackagemng.exe --fix`

b. Remove database and user.

i. Get client’s MySQL admin password:

`dbclient --direct-sql --sql="select * from databaseservers"

ii. Login to client’s MySQL:

`%plesk_dir%\\Databases\\MySQL51\\bin\\mysql -uadmin -p********`

iii. Execute SQL:

`drop user 'atmail'@'localhost';
drop database atmail;`

21\. Plesk Premium Antivirus

 msiexec /x {75C19997-DA57-4139-95C8-32C3972ECA97}
defpackagemng.exe --get --force
defpackagemng.exe --fix

22\. Kaspersky Antivirus

 msiexec /x {2381B128-CD47-4264-974C-07BA9F081CE3}
defpackagemng.exe --get --force
defpackagemng.exe --fix

23\. ASP.NET Enterprise Manager

 msiexec /x {4EEFCCB1-93FC-4f05-A28A-9A4D4A3BC3F3}
defpackagemng.exe --get --force
defpackagemng.exe --fix

24\. Plesk Migration Manager

 msiexec /x {C5BC1CCF-7281-46C3-9C2F-0B068E4A72C3}
defpackagemng.exe --get --force
defpackagemng.exe --fix

25\. Plesk SSL Wrapper

 msiexec /x {E7168ED3-B6FB-495a-AA65-0ED033A815D5}
defpackagemng.exe --get --force
defpackagemng.exe --fix

26\. Apache Tomcat Java server

msiexec /x {611F370A-9B1C-48fd-B6C9-768BFAFF5160}

Java-SDK (optional):

msiexec /x {32A3A4F4-B792-11D6-A78A-00B0D0150010}

Java-JRE (optional) :

 msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0150100}`
defpackagemng.exe --get --force
defpackagemng.exe --fix

27\. System Health Monitor

 msiexec /x {CC41AFC6-C0F8-4B3B-91FA-9456EA10BD5C}
defpackagemng.exe --get --force
defpackagemng.exe --fix

28\. SiteBuilder

NOTE: The SiteBuilder component is a part of Panel core functionality.

  1. Uninstall package:

     msiexec /x {5FE87FDB-905D-46CD-A2BF-DAB435C73709}
    defpackagemng.exe --get --force
    defpackagemng.exe –fix
  2. Remove database and user.
    2.1. Get client’s MySQL admin password:

    C:\\> dbclient --direct-sql --sql="select * from databaseservers"

    2.2. Login to client’s MySQL:

    C:\\> %plesk_dir%\\Databases\\MySQL51\\bin\\mysql -uadmin -p********

2.3. Execute SQL:

    drop user 'sitebuilder'@'localhost';
drop database sitebuilder5;

29\. Customer & Business Manager
1. Use KB to remove Plesk registration in Customer & Business Manager .

Do not forget to disable SSO:

C:\\> %plesk_dir%/bin/sso --disable

2. Uninstall packages.

SSO:

msiexec /x {6AA56D30-7FFF-4438-B778-834B493A7378}

Customer & Business Manager Plugins:

msiexec /x {49299893-636C-443F-924C-388A99B7CE40}

Customer & Business Manager:

msiexec /x {ED9090B8-8394-46A7-94C7-9A13411065D9} defpackagemng.exe --get --force
defpackagemng.exe --fix

c. Remove database and user.

i. Get client’s MySQL admin password:

dbclient --direct-sql --sql="select * from databaseservers"

   ii. Login to client’s MySQL:

%plesk_dir%\\Databases\\MySQL51\\bin\\mysql -uadmin -p********

iii. Execute SQL:

drop user 'billing'@'localhost';

drop database billing;

d. Remove SSO database: remove or rename file: "_%plesk\\_dir%\\\\db\\\\sso.db."_

Additional information

Result code values:

· 0 -- Success.

· 1605 (or 3 for MailEnable) -- Package is not installed.

· 1618 -- Another installation is already in progress. Complete that installation before proceeding with this install.

In the article Plesk for Linux uninstall script , you can find information on the uninstall procedure for Plesk for Linux.

Have more questions? Submit a request
Please sign in to leave a comment.