User manual

Table Of Contents
Running Horizon Client from the Command Line
You can run Horizon Client for Windows from the command line or from scripts. You might want to do this
if you are implementing a kiosk-based application that grants end users access to desktop applications.
You use the vmware-view.exe command to run the Horizon Client for Windows from the command line. The
command includes options that you can specify to change the behavior of Horizon Client.
Horizon Client Command Usage
The syntax of the vmware-view command controls the operation of Horizon Client.
Use the following form of the vmware-view command from a Windows command prompt.
vmware-view [command_line_option [argument]] ...
The default path to the vmware-view command executable le depends on your system.
n
On 32-bit systems, the path is C:\Program Files\VMware\VMware Horizon View Client\.
n
On 64-bit systems, the path is C:\Program Files (x86)\VMware\VMware Horizon View Client\.
For your convenience, add this path to your PATH environment variable.
The following table shows the command-line options that you can use with the vmware-view command.
Table 311. Horizon Client Command-Line Options
Option Description
/?
Displays the list of command options.
-appName application_name
Species the name of the application as it would appear in the desktop and
application selection window. This is the display name that was specied for
the application pool in the pool creation wizard.
-args argument
Species command-line arguments to add to remote application launch. For
example: vmware-view.exe --serverURL 10.10.10.10 --appName "My
Notepad++" --args "\"my new.txt\""
-connectUSBOnStartup When set to true, redirects all USB devices to the desktop that are currently
connected to the host. This option is implicitly set if you specify the
-unattended option. The default is false.
-connectUSBOnInsert When set to true, connects a USB device to the foreground desktop when
you plug in the device. This option is implicitly set if you specify the
-unattended option. The default is false.
-desktopLayout window_size
Species how to display the window for the desktop:
fullscreen
Full screen display
multimonitor
Multiple-monitor display
windowLarge
Large window
windowSmall
Small window
length X width
Custom size. For example: 800 X 600
-desktopName desktop_name
Species the name of the desktop as it would appear in the desktop and
application selection window. This is the display name that was specied for
the pool in the pool creation wizard.
I Do not specify this option for clients in kiosk mode. This option
has no eect when in the desktop is run in kiosk mode. For kiosk mode, the
connection is made to the rst desktop in the list of entitled desktops.
Chapter 3 Configuring Horizon Client for End Users
VMware, Inc. 55