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 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
It is recommended that the startup behaviour for Q-DAS application is set to "Do not allow multiple start". A user can only log in once and each subsequent launch will block an additional licence. By blocking multiple starts, these problems are avoided. Detailed information on startup behaviour is covered in a separate topic. Link to: System Configuration Intern
Special settings when using CMM
Launching O-QIS MCA/CMM Reporting does not mean starting the upload within the application. Enable the "Start MCA/CMM Reporting automatically" option to automatically run the MCA/CMM reporting when the application is launched.
Ribbon bar <Setting> | <Configuration MCA/CMM Reporting> | < Configuration 1>
How to bypass a user login
Automatic login without further input is only possible if the user is not configured to enter a password. This requires disabling the "with password" option and enabling the "Registration without password allowed" option.
<File> | <Configurations> | <User management> | <Login dialogue configuration>
Note: All users of the configuration database in use are affected by the configuration of these options. |