The server_pref.exe
utility is used to manage server-wide settings.
Using this utility, one can perform the following operations:
- Set up default Plesk control panel interface preferences, such as
locale, skin and interface template. - Retrieve lists of available locales, skins and interface templates.
- Set up host name for the Plesk server.
- Set up server-wide preferences for traffic and disk space usage
statistic. - Set up server-wide database preferences.
- Allow/prohibit users to create DNS subzones in other users’ DNS
zones. - Include customer password in files which keep WebMatrix publication
settings.
Location
%plesk_cli%
Usage
server_pref.exe <command> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
Example
The following command sets the Plesk server host name to
host.example.com, includes mailboxes in the disk
space usage calculation, and includes only outbound traffic
in the traffic calculation.
plesk bin server_pref.exe --update -hostname host.example.com -include-mailboxes true -traffic-direction out
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--set-default or -sd |
Sets default server-wide parameters. Requires |
To set Plesk default locale to English (United States) and plesk bin server_pref.exe --set-default -locale en-US -skin "Aqua Compact" or …
|