You can set policies for many of the same settings used when you run VMware Horizon Client from the command line, including desktop size, name, and domain name, among others.

The following table describes the scripting definition settings in the VMware Horizon Client Configuration ADM template file. The template provides a Computer Configuration and a User Configuration version of each scripting definition setting. The User Configuration setting overrides the equivalent Computer Configuration setting.

Table 1. VMware Horizon Client Configuration Template: Scripting Definitions



Automatically connect if only one launch item is entitled

(Automatically connects to the desktop if it is the only one entitled for the usr. This setting spares the user from having to select the desktop from a list that contains only one desktop.

Connect all USB devices to the desktop on launch

Determines whether all of the available USB devices on the client system are connected to the desktop when the desktop is launched.

Connect all USB devices to the desktop when they are plugged in

Determines whether USB devices are connected to the desktop when they are plugged in to the client system.


Specifies the layout of the VMware Horizon Client window that a user sees when logging into a remote desktop. The layout choices are as follows:

  • Full Screen

  • Multimonitor

  • Window - Large

  • Window - Small

This setting is available only when the DesktopName to select setting is also set.

DesktopName to select

Specifies the default desktop that VMware Horizon Client uses during login.

Disable 3rd-party Terminal Services plugins

Determines whether VMware Horizon Client checks third-party Terminal Services plugins that are installed as normal RDP plugins. If you do not configure this setting,VMware Horizon Client checks third-party plugins by default. This setting does not affect View-specific plugins, such as USB redirection.

Locked Guest Size

Specifies the screen resolution of the remote desktop if the display is used on one monitor. That is, this setting does not work if you set the remote desktop display to All Monitors.

After you enable the setting, remote desktop autofit functionality is disabled. The minimum screen size is 640x480. The maximum screen size is 4096x4096. This setting applies only to PCoIP connections and does not apply to RDP connections.


As a best practice, do not set the resolution higher than the maximum resolution supported for the remote desktop, which is set in View Administrator:

  • If 3D is enabled, up to 2 monitors are supported at a resolution of up to 1920x1200.

  • If 3D is not enabled, up to 4 monitors are supported at a resolution of up to 2560x1600.

In practice, this client-side setting will be ignored if it is set to a higher resolution than is possible, given operating system version, amount of vRAM, and color depth of the remote desktop. For example, if the resolution for the desktop is set to 1920x1200 in View Administrator, the resolution shown on the client might not be higher than 1920x1200, depending on the capabilities of the remote desktop.

Logon DomainName

Specifies the NetBIOS domain that Horizon Client uses during login.

Logon Password

Specifies the password that Horizon Client uses during login. The password is stored in plain text by Active Directory. For improved security, it is recommended that you do not specify this setting. Users can enter the password interactively.

Logon UserName

Specifies the password that Horizon Client uses during login. The password is stored in plain text by Active Directory.

Server URL

Specifies the URL that Horizon Client uses during login, for example,

Suppress error messages (when fully scripted only)

Determines whether Horizon Client error messages are hidden during login.

This setting applies only when the login process is fully scripted, for example, when all the required login information is prepopulated through policy.

If the login fails because of incorrect login information, the user is not notified and the Horizon Client process is terminated.

Disconnected application session resumption behavior

Determines how running applications behave when users reconnect to a server. The choices are as follows:

  • Ask to reconnect to open applications

  • Reconnect automatically to open applications

  • Do not ask and do not automatically reconnect

When this setting is enabled, end users cannot configure application reconnection behavior on the Settings page in Horizon Client.

When this setting is disabled, end users can configure application reconnection behavior in Horizon Client. This setting is disabled by default.