5.0

Table Of Contents
Table 19-1. View Client Command-Line Options (Continued)
Option Description
-unattended
Runs View 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 prefix that you have configured 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, and -connectUSBOnInsert options.
-userName user_name Specifies the account name that the end user uses to log in to View 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 -checkin, -checkout, -file,
-languageId, -localDirectory, -printEnvironmentInfo, -rollback, -smartCardPIN, and
-unattended.
View Client Configuration File
You can read command-line options for View Client from a configuration file.
You can specify the path of the configuration file as an argument to the -f option of the wswc command. The
file must be a Unicode (UTF-16) or ASCII text file.
Example: Example of a Configuration File for a Noninteractive Application
The following example shows the contents of a configuration file 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
View Client Registry Settings
You can define default settings for the View Client in the Windows registry instead of specifying these settings
on the command line.
Table 19-2 shows the registry settings for View Client. All the settings are located under HKLM\Software\VMware,
Inc.\VMware VDM\Client\ in the registry.
Policy entries take precedence over registry settings, and command-line settings take precedence over policy
entries.
Chapter 19 Running View Client from the Command Line
VMware, Inc. 361