Administration Guide

Settings App Command-Line Options

Options take the form /NAME or /NAME=value. The option name is matched case-insensitively. A bare switch counts as present, and a value must follow = immediately.

Option Effect
/CONNECTION= Selects a stored connection, by GUID or by name.
/SQLSERVER= Overrides the connection's SQL Server.
/DATABASENAME= Overrides the connection's database.
/WINAUTH= YES or TRUE selects Windows authentication; any other value selects standard authentication.
/USERNAME= (alias /USER=) The login name for standard authentication.
/PASSWORD= The password for standard authentication. The value is decrypted when it is read, so this option does not expect a plaintext password.
/ACCESSKEY= Names the Database Access Key to read from the registry. Combined with an identity, it also forces automatic sign-in.
/AUTOLOGIN Skips the Log in window.
/import-config= Imports a configuration file with no window shown.

/import-config="<file>" runs the import before any window is created. It requires /AUTOLOGIN, /ACCESSKEY=, and either /WINAUTH or /USERNAME=, and it shows no progress window. Add /overwrite to switch the import to complete mode. Errors are written to cli_import_config.log in the program log folder. The exit code tells you the outcome:

Exit code Meaning
0 Success
1 Insufficient parameters
2 File not found
5 SQL connection failure
11 Invalid configuration file
12 Import failure