The init_conf.exe utility serves to perform the initial configuration of Plesk, and to change personal information of Plesk Administrator. The utility provides the following:

  • setting up host name
  • defining shared IP addresses
  • specifying Plesk administrator’s personal information
  • creating a client account for the administrator

Location

%plesk_cli%

Usage

init_conf.exe <command> [
<option 1> [<param 1>,...,<param n>]
[<option 2> [<param 1>,...,<param n>]]
... [<option N> [<param 1>,...,<param n>]]
]

Example

The following command sets IP address 192.0.2.0 as shared, sets the host name to host.example.com and sets the administrator’s name to Administrator and the administrator’s password to MyPass.

plesk bin init_conf.exe --init -shared_ips add:192.0.2.0 -hostname host.example.com -name Administrator -passwd MyPass

Commands

Command Parameter Description Example
--init   Initializes Plesk Server Administrator. Can be applied to the non-configured Plesk Server Administrator only. See Example above.
--update or -u   Changes the administrator’s contact info.

To set the administrator’s email address to admin@example.com:

plesk bin init_conf.exe --update -email admin@example.com

--check-configured or -c   Checks whether Plesk is configured. Returns 0 on success, 1 otherwise.

To check if Plesk is configured:

plesk bin init_conf.exe --check-configured

or

init_conf.exe -c

--set-admin-password or -p  

Changes the Plesk administrator’s password on an already initialized Plesk.

Sets administrator’s password on a non-initialized Plesk without initialization.

To set the administrator’s password to mypassword:

plesk bin init_conf.exe --set-admin-password -passwd mypassword

or

plesk bin init_conf.exe -p -passwd mypassword

--help or -h   Displays help on the utility use.

plesk bin init_conf.exe -h

Options

Option Parameter Description Example
-shared_ips add:<ip_1>,<ip_2>,...,<ip_n>

Sets the IP addresses specified by the parameters as shared.

Used with --init only.

To set 192.0.2.0 as shared IP address:

plesk bin init_conf.exe --init -shared_ips add:192.0.2.0

-hostname <FQDN>

Sets the full host name of the server.

Used with --init only.

To set the host name to host.example.com:

plesk bin init_conf.exe --init -hostname host.example.com

-company <string> Defines the Plesk administrator’s company name.

To set the Plesk administrator’s company to MegaCompany:

plesk bin init_conf.exe --update -company "MegaCompany"

-name <string> Specifies the Plesk administrator’s contact name.

To set the Plesk administrator’s contact name to John Doe:

plesk bin init_conf.exe --init -name "John Doe"

-passwd <password> Specifies the Plesk administrator’s password.

To set the Plesk administrator’s password to sample:

plesk bin init_conf.exe --init -passwd sample

-phone <number> Specifies the administrator’s phone number.

To set the Plesk administrator’s phone number to 3453456:

init_conf.exe --update -phone 3453456

-fax <number> Specifies the administrator’s fax number.

To set the Plesk administrator’s fax to 423-3333:

plesk bin init_conf.exe --update -fax 423-3333

-email <string> Specifies the administrator’s email address.

To set the Plesk administrator’s email address to Admin@example.com:

plesk bin init_conf.exe --update -email Admin@example.com

-address <string> Specifies the administrator’s street address.

To set the Plesk administrator’s street address to 181 Main Street:

olesk bin init_conf.exe --update -addr "Main Street 181"

-city <string> Specifies the city of the administrator’s address.

To set the Plesk administrator’s city to New York:

plesk bin init_conf.exe --update -city "New York"

-state <string> Specifies the state/province of the administrator’s address.

To set the Plesk administrator’s state to NY:

plesk bin init_conf.exe --update -state NY

-zip <string>

Specifies the Plesk administrator’s postal/zip code.

Required with the --init.

To set the Plesk administrator’s zip code to 10292:

plesk bin init_conf.exe -u -zip 10292

-send_announce true|false Allows/Prohibits sending to the Plesk administrator newsletters from Plesk. They may contain security-related, technical, and general product information.

To subscribe the Plesk administrator to newsletters from Plesk:

plesk bin init_conf.exe --update -send_announce true

-country <string> Specifies the country of the administrator’s address in the format of an upper-case two-letter code derived from ISO 3166.

To set the Plesk administrator country to Australia:

plesk bin init_conf.exe --update -country AU

-admin_info_not_required true|false

Defines whether Plesk Administrator’s personal info (except for email) is marked as Required or not.

Is false by default.

To initialize Plesk server so that the Plesk Administrator after entering his credentials to freshly-installed Plesk got directly to Administrator’s desktop skipping all ‘first-login configuration’ screens:

plesk bin init_conf.exe -u -admin_info_not_required true

-license_agreed true|false

Defines whether the Plesk license agreement is accepted.

Is false by default.

To initialize Plesk server so that Plesk Administrator after entering his credentials to freshly-installed Plesk automatically agrees the license agreement:

plesk bin init_conf.exe -u -license_agreed true

-sb_sync true|false

Creates a Presence Builder user for the default customer.

Is true by default.

To initialize Plesk

server so that a Presence Builder user is created for the default customer:

plesk bin init_conf.exe -u -license_agreed true

-trial_license true|false Allows/Prohibits installation of a full-featured trial license. Requires to provide an email to install a trial license (the -email option).

To allow installing a full-featured trial license:

plesk bin init_conf.exe --init -trial_license true -email admin@example.com

Note: By using the trial_license option, you authorize Plesk to collect, store, process, and use your personal data (name and email), including cross-border processing, in accordance with the applicable data protection laws currently in effect, for issuing your trial license as a part of a licensing contract between you and Plesk.