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.

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

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