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 file depends on your system.
- On 32-bit systems, the path is C:\Program Files\VMware\VMware Horizon View Client\.
- 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.
|/?||Displays the list of command options.|
|-appName application_name||Specifies the name of the application as it would appear in the desktop and application selection window. This is the display name that was specified for the application pool in the pool creation wizard.|
|-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||Specifies how to display the window for the desktop:
|-desktopName desktop_name||Specifies the name of the desktop as it would appear in the desktop and application selection window. This is the display name that was specified for the pool in the pool creation wizard.
Important: Do not specify this option for clients in kiosk mode. This option has no effect when in the desktop is run in kiosk mode. For kiosk mode, the connection is made to the first desktop in the list of entitled desktops.
|-desktopProtocol protocol||Specifies the desktop protocol to use as it would appear in the desktop and application selection window. The protocol can be PCOIP or RDP.|
|-domainName domain_name||Specifies the NETBIOS domain that the end user uses to log in to Horizon Client. For example, you would use mycompany rather than mycompany.com.|
|-file file_path||Specifies the path of a configuration file that contains additional command options and arguments. See Horizon Client Configuration File.|
|-h||Shows help options.|
|-hideClientAfterLaunchSession||(Available for Horizon Client 3.1 and later) When set to true, hides the remote desktop and application selector window after launching a remote session.|
|-languageId Locale_ID||Provides localization support for different languages in Horizon Client. If a resource library is available, specify the Locale ID (LCID) to use. For US English, enter the value 0x409.|
|-logInAsCurrentUser||When set to true, uses the credential information that the end user provides when logging in to the client system to log in to the View Connection Server instance and ultimately to the View desktop. The default is false.|
|-nonInteractive||Suppresses error message boxes when starting Horizon Client from a script. This option is implicitly set if you specify the -unattended option.|
|-noVMwareAddins||Prevents loading of VMware-specific virtual channels such virtual printing.|
|-password password||Specifies the password that the end user uses to log in to Horizon Client. The password is processed in plain text by the command console or any scripting tool. You do not need to specify this option for clients in kiosk mode if you generate the password automatically. For improved security, it is recommended that you do not specify this option. Users can enter the password interactively.|
|-printEnvironmentInfo||Displays the IP address, MAC address, and machine name of the client device.|
|-serverURL connection_server||Specifies the URL, IP address, or FQDN of the View Connection Server instance.|
|-singleAutoConnect||Specifies that if the user is entitled to only one remote desktop or application, after the user authenticates to the server, the desktop or application is automatically connected and the user is logged in. This setting spares the user from having to select the desktop or application from a list that contains only one item.|
|-smartCardPIN PIN||Specifies the PIN when an end user inserts a smart card to login.|
|-standalone|| Supported for backwards compatibility purposes. This is the default behavior for this client. Specifying -standalone is not necessary. Launches a second instance of the Horizon Client that can connect to the same or a different View Connection Server.
For multiple desktop connections to the same server or to a different server, using the secure tunnel is supported.
Note: The second desktop connection might not have access to local hardware, such as USB devices, smart, cards, printers, and multiple monitors.
|-unattended||Runs Horizon Client in a noninteractive mode that is suitable for clients in kiosk mode. You must also specify:
The -unattended option implicitly sets the -nonInteractive, -connectUSBOnStartup, -connectUSBOnInsert , and -desktopLayout multimonitoroptions.
|-userName user_name||Specifies 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.|
Options that you specify on the command line or in the configuration file take precedence over any global system policies that you have defined, which in turn override user policies.
You can specify all options by Active Directory group policies except for -file, -languageId, -printEnvironmentInfo, -smartCardPIN, and -unattended.