Plesk comes with a limited trial license key which is installed
automatically. Therefore, to fully use Plesk as you need, you should
obtain a license key from Plesk or one of its resellers and install it
to your Plesk.
Once you purchase a Plesk license key at the Plesk online store, you
will receive an activation e-mail with your activation code and a
license key file. You can install a Plesk license key either by entering
the activation code or by uploading the file from this e-mail. In both
cases, you should use the license.exe
utility. You may also use this
utility for installing additional license keys that allow using Plesk
additional features (add-ons) like Acronis True Image, Kaspersky
Antivirus, and so on. Note that the license.exe
utility supports the
installation of additional keys through an activation code only.
Location
%plesk_cli%
Usage
license.exe <command> [<option_1> [<param>][<option_2> [<param>]]
Example
The following command installs an additional license key:
plesk bin license.exe -i AB1C23-4DEF56-7GHI89-JK1L23-MNP456 -additional-key true
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--install or -i
|
<filename | activation code> |
If a filename is provided, installs a license key from the specified file. If a code is provided, installs a license key that is associated with the code. |
To install a license key from the file: plesk bin license.exe -i key.xml To install a license key by using the activation code: plesk bin license.exe -i AB1C23-4DEF56-7GHI89-JK1L23-MNP456 |
--check-installed-license or -c
|
Checks the validity of the installed license key (returns the 0 exit code if the key is valid and 1 if it is invalid) |
To check the validity of the installed license: plesk bin license.exe -c |
|
--retrieve |
Retrieves the installed license keys. |
To retrieve the installed license keys: plesk bin license.exe --retrieve |
|
--help or -h
|
Displays help on the use of the utility. |
To view help on the use of this utility: plesk bin license.exe -h |
Options
Option | Parameter | Description | Example |
---|---|---|---|
-additional-key |
true|false |
Specifies whether the provided activation code is for an additional license key. You can skip this option in case you are installing a Plesk’s main license key. |
To install an additional license key: plesk bin license.exe -i AB1C23-4DEF56-7GHI89-JK1L23-MNP456 -additional-key true |