You can set policies for many of the same settings used when you run 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 ADMX template file. The template file provides a Computer Configuration and a User Configuration version of each scripting definition setting. The User Configuration setting overrides the equivalent Computer Configuration setting. The settings are in the VMware Horizon Client Configuration > Scripting definitions folder in Group Policy Management Editor.

Table 1. VMware Horizon Client Configuration Template: Scripting Definitions

Setting

Description

Automatically connect if only one launch item is entitled

Automatically connects to the desktop if it is the only one entitled for the user. 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.

Note:

This setting does not apply to published applications.

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.

Note:

This setting does not apply to published applications.

DesktopLayout

Specifies the layout of the 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 Horizon Client uses during login.

Disable 3rd-party Terminal Services plugins

Determines whether Horizon Client checks third-party Terminal Services plugins that are installed as normal RDP plugins. If you do not configure this setting,Horizon Client checks third-party plugins by default. This setting does not affect Horizon-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.

Important:

As a best practice, do not set the resolution higher than the maximum resolution supported for the remote desktop, which is set in Horizon 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 Horizon 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, https://view1.example.com.

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.

Enable Unauthenticated Access to the server

Determines whether users are required to enter credentials to access their applications when using Horizon Client.

When this setting is enabled, the Log in anonymously using Unauthenticated Access setting in Horizon Client is visible, disabled, and selected. The client may fall back to another authentication method if Unauthenticated Access is not available.

When this setting is disabled, users are always required to enter their credentials to log in and access their applications. The Log in anonymously using Unauthenticated Access setting in Horizon Client is hidden and deselected.

When this setting is not configured (the default), users can enable Unauthenticated Access in Horizon Client. The Log in anonymously using Unauthenticated Access setting is visible, enabled, and deselected.

Account to use for Unauthenticated Access

Specifies the Unauthenticated Access user account that Horizon Client uses to log in anonymously to the server if the Enable Unauthenticated Access to the server group policy setting is enabled or if a user enables Unauthenticated Access by selecting Log in anonymously using Unauthenticated Access in Horizon Client.

If Unauthenticated Access is not used for a specific connection to a server, this setting is ignored. When this setting is not configured, users can choose an account. This setting is not configured by default.