Configuring Remote Desktop Features

Table Of Contents
Note The definitions of ViewClient_LoggedOn_Username and ViewClient_LoggedOn_Domainname in
Table 57 apply to Horizon Client 2.2 for Windows or later releases.
For Horizon Client 5.4 for Windows or earlier releases, ViewClient_LoggedOn_Username sends the user
name that was entered in Horizon Client, and ViewClient_LoggedOn_Domainname sends the domain
name that was entered in Horizon Client.
Horizon Client 2.2 for Windows is a later release than Horizon Client 5.4 for Windows. Starting with
Horizon Client 2.2, the release numbers for Windows are consistent with the Horizon Client releases on
other operating systems and devices.
Running Commands on Horizon Desktops
You can use the Horizon Agent CommandsToRunOnConnect, CommandsToRunOnReconnect, and
CommandsToRunOnDisconnect group policy settings to run commands and command scripts on Horizon
desktops when users connect, reconnect, and disconnect.
To run a command or a command script, add the command name or the file path of the script to the group
policy setting's list of commands. For example:
date
C:\Scripts\myscript.cmd
To run scripts that require console access, prepend the -C or -c option followed by a space. For example:
-c C:\Scripts\Cli_clip.cmd
-C e:\procexp.exe
Supported file types include .CMD, .BAT, and .EXE. .VBS files will not run unless they are parsed with
cscript.exe or wscript.exe. For example:
-C C:\WINDOWS\system32\wscript.exe C:\Scripts\checking.vbs
The total length of the string, including the -C or -c option, should not exceed 260 characters.
VMware Virtualization Pack for Skype for Business Policy
Settings
The VMware View Agent Configuration ADMX template file (vdm_agent.admx) contains policy settings
related to the VMware Virtualization Pack for Skype for Business.
These settings are in the Group Policy Management Editor in Computer Configuration >
Administrative Templates > VMware View Agent Configuration > VMware Virtualization Pack for
Skype for Business folder.
Configuring Remote Desktop Features in Horizon 7
VMware, Inc. 131