User manual

Table Of Contents
Table 311. Horizon Client Command-Line Options (Continued)
Option Description
-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
Example: Example of a Configuration File for a Client in Kiosk Mode
The following example shows a client in kiosk mode whose account name is based on its MAC address. The
client has an automatically generated password.
-serverURL 145.124.24.100
-unattended
Chapter 3 Configuring Horizon Client for End Users
VMware, Inc. 63