init_conf.exe: Server Initial Configuration And Administrator's Personal Info

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.

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:

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:

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:

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

or

init_conf.exe -p -passwd mypassword

--help or -h

 

Displays help on the utility use.

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:

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:

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:

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:

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

-passwd

<password>

Specifies the Plesk administrator’s password.

To set the Plesk administrator's password to sample:

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:

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:

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:

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:

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:

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:

init_conf.exe -u -zip 10292

-send_tech_announce

true|false

Allows/Prohibits sending to the administrator email security-related information and other technical notifications from Plesk.

To subscribe the administrator to security-related information and other technical notifications from Plesk:

init_conf.exe -u -send_tech_announce true

-send_announce

true|false

Subscribes/Unsubscribes Plesk administrator to the Plesk mailing list (announcements on new Plesk products, discounts, etc.).

Is true by default.

To unsubscribe the Plesk administrator from the Plesk mailing list:

init_conf.exe --update -send_announce false

-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:

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:

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:

 

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:

init_conf.exe -u -license_agreed true