User manual

Table Of Contents
Table 311. Horizon Client Command-Line Options (Continued)
Option Description
-unattended
Runs Horizon Client in a noninteractive mode that is suitable for clients in
kiosk mode. You must also specify:
n
The account name of the client, if you did not generate the account name
from the MAC address of the client device. The name must begin with
the string “custom-” or an alternate prex that you have congured in
ADAM.
n
The password of the client, if you did not generate a password
automatically when you set up the account for the client.
The -unattended option implicitly sets the -nonInteractive,
-connectUSBOnStartup, -connectUSBOnInsert , and
-desktopLayout multimonitoroptions.
-useExisting
Enables you to launch multiple remote desktops and applications from a
single Horizon Client session.
When you specify this option, Horizon Client determines whether a session
with the same username, domain, and server URL already exists and, if it
does, reuses that session instead of creating a new session.
For example, in the following command, user-1 launches the Calculator
application and a new session is created.
vmware-view.exe -userName user-1 -password secret
-domainName domain -appName Calculator
-serverURL view.mycompany.com -useExisting
In the next command, user1 launches the Paint application with the same
username, domain, and server URL, and the same session is used.
vmware-view.exe -userName user-1 -password secret
-domainName domain -appName Paint
-serverURL view.mycompany.com -useExisting
-userName user_name
Species the account name that the end user uses to log in to Horizon Client.
You do not need to specify this option for clients in kiosk mode if you
generate the account name from the MAC address of the client device.
You can specify all options by Active Directory group policies except for -file, -languageId,
-printEnvironmentInfo, -smartCardPIN, and -unattended.
N Group policy seings take precedence over seings that you specify in the command line.
Horizon Client Configuration File
You can read command-line options for Horizon Client from a conguration le.
You can specify the path of the conguration le as an argument to the -file le_path option of the vmware-
view command. The le must be a Unicode (UTF-16) or ASCII text le.
Example: Example of a Configuration File for a Noninteractive Application
The following example shows the contents of a conguration le for a noninteractive application.
-serverURL https://view.yourcompany.com
-userName autouser
-password auto123
-domainName companydomain
-desktopName autodesktop
-nonInteractive
Chapter 3 Configuring Horizon Client for End Users
VMware, Inc. 57