One of the recurring questions on the hotline is how to start a Q-DAS product directly without logging in.
This best practice article shows how to prepare a batch file so that the user can start a Q-DAS product by double-clicking. It also covers the required configurations, the special settings when using CMM, and above the settings to bypass the user login.
Starting Parameters
To start a Q-DAS application, at least the start parameter with the application path and the product INI file are required.
Application path: \\<UNC path of server provisioning>\Q-DAS\Share\<PLANT>\<architecture>\<major version>\<minor version>\qs_STAT.exe
Product INI file: -I=\\<UNC path of server provisioning>\Q-DAS\Share\INI\<PLANT>\<Product INI file>
Specified module: -k=<Module abbreviation>
User to login: -startloginuser=<username>
For example, to start the MCA/CMM Reporting module for the O-QIS product and log in as user "Supervisor", the command line contains the following parameters:
"\\<UNC path of server provisioning>\Q-DAS\Share\<PLANT>\<architecture>\<major version>\<minor version>\qs_STAT.exe" "-I=\\<UNC path of server provisioning>\Q-DAS\Share\INI\<PLANT>\<Product INI file>" "-k=CM" "-startloginuser=Supervisor"
The required combination of parameters can be used by entering them at a command prompt. However, if saved as a batch file, it can be run by double-clicking on it.
All start parameters are explained in a separate topic. Link to: Starting Parameters
Required configuration
To
bla bla