You can set group policies for many of the same settings that you can configure when you run Horizon Client from the command line, including the remote desktop window size, login user name, and login domain name.

The following table describes the scripting definition settings in the VMware Horizon Client Configuration ADMX template file. This 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 appear 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 If a user is entitled to only one remote desktop, connect the user to that remote desktop. This setting prevents the user from having to select a remote desktop from a list that contains only one remote desktop.
Connect all USB devices to the desktop or remote application on launch

Determines whether all the available USB devices on the client system are connected to the remote desktop or published application when the remote desktop or published application starts.

Connect USB devices to the desktop or remote application when they are plugged in

Determines whether USB devices are connected to the remote desktop or published application when the devices are plugged in to the client system.

DesktopLayout

Specifies the layout of the Horizon Client window that users see when they log 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 remote 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 If the display is used on one monitor, specifies the screen resolution of the remote desktop. This setting does not work if you set the remote desktop display to All Monitors.

After you enable this 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.

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 Console.
  • If 3D is enabled, up to two monitors are supported at a resolution of up to 1920x1200.
  • If 3D is not enabled, up to four monitors are supported at a resolution of up to 2560x1600.

In practice, this client-side setting is 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 remote desktop is set to 1920x1200 in Horizon Console, 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, 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 group policy.

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

Disconnected application session resumption behavior

Determines how running published 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 the published application reconnection behavior in Horizon Client.

When this setting is disabled, end users can configure published 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 published applications when they use 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 can 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 published applications. The Log in anonymously using Unauthenticated Access setting in Horizon Client is hidden and deselected.

Users can enable Unauthenticated Access in Horizon Client by default. 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. Users can select an account by default.

Use existing client instance when connect to same server

Determines whether a connection is added to the existing Horizon Client instance with which the user is already connected to the same server.

This setting is disabled by default when not configured.