You can read command-line options for Horizon Client from a configuration file.

You can specify the path of the configuration file as an argument to the -file file_path option of the vmware-view command. The file must be a Unicode (UTF-16) or ASCII text file.

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 of a Configuration File for a Client in Kiosk Mode

The following example shows a client in kiosk mode where the account name is based on the client's MAC address. The client has an automatically generated password.

-serverURL 145.124.24.100
-unattended