User manual

Table Of Contents
Table 311. Horizon Client Command-Line Options (Continued)
Option Description
-unauthenticatedAccessEnabled
Species Unauthenticated Access behavior:
n
true enables Unauthenticated Access. The client may fall back to another
authentication method if Unauthenticated Access is not available. The
Log in anonymously using Unauthenticated Access seing is visible,
disabled, and selected in Horizon Client.
n
false requires you to enter your credentials to log in and access your
applications. The Log in anonymously using Unauthenticated Access
seing is hidden and deselected in Horizon Client.
If you do not specify this option, you can enable Unauthenticated Access in
Horizon Client. The Log in anonymously using Unauthenticated Access
seing is visible, enabled, and deselected.
-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
Using VMware Horizon Client for Windows
64 VMware, Inc.