Runtime command lines

You can launch the UbiquityRuntimeCli program by entering some comman lines in your command prompt.

The UbiquityRuntimeCli is available for UBIQUITY Runtime starting from version 11.10. Use the UbiquityRuntime.exe file for Runtime versions older than 11.10.
Note: See Runtime command lines - Legacy version for more information on this subject.
Note: Command line parameters are only supported on the following systems: Linux Ubuntu 22 and Windows, except for Windows CE and Windows XP.
Note: Returned code legend:
  • Standard output: Output information following a comman line entry.
  • Exit status: The command entered in the UbiquityRuntimeCli file was run successfully and is printed in the Logs.
Parameters Description
--connect

Connect Runtime to the UBIQUITY servers when Runtime is already running but disconnected. Runtime connects automatically by default, unless you have not entered the --disconnect command line.

--disconnect

Disconnect Runtime from the UBIQUITY servers. Connection to the remote assistance service is not possible.

--showChat

Open the assistance chat window.

--hideChat

Hide the assistance chat window.

--showKeyboard

Open the system keyboard.

--hideKeyboard

Close the system keyboard.

--openWebUI

Open Windows Runtime through a web page.

--remoteAccessServiceConnected

See the Runtime connection status.

Standard output:
  • 0: Runtime is not connected to the server
  • 1: Runtime is connected to the server
Exit status:
  • 0: The command entry is successful
  • 1: The connection to the Runtime is unsuccessful
--remoteAccessSessionCount

See the quantity of remote supervisors that are connected to the Runtime from UBIQUITY.

Standard output:
  • N: Number of supervisors connected to the Runtime from UBIQUITY
Exit status:
  • 0:The command entry is successful
  • 1: The connection to the Runtime is unsuccessful
--getanonymousID

View the ID and password required to register a Runtime device to a domain.

Exit status:
  • 0: The command entry is successful
  • 1: The connection to the Runtime is unsuccessful
  • 2: Runtime is not connected to the UBIQUITY servers
  • 3: The device is already registered to a domain.
--requestAssistance

Enable an assistance request. If The user must provide contact details when assistance is requested is enabled, you must provide three additional parameters that correspond to the fields <name>, <contact>, and <description>.

Exit status:
  • 0: The command entry is successful
  • 1: The connection to the Runtime is unsuccessful
  • 2: Runtime is not connected to the UBIQUITY servers
  • 3: The assistance request cannot be opened.
--closeAssistance

Close an assistance request.

Exit status:
  • 0: The command entry is successful
  • 1: The connection to the Runtime is unsuccessful
  • 2: Runtime is not connected to the UBIQUITY servers
  • 3: The assistance request cannot be closed.
--getRequestAssistanceStatus

See an assistance request status.

Standard output:
  • 0: An assistance request has been sent.
  • 1: No assistance is currently requested.
Exit status:
  • 0: The command entry is successful
  • 1: The connection to the Runtime is unsuccessful
  • 2: Runtime is not connected to the UBIQUITY servers
--canRequestAssistance

Check if an assistance request can be opened.

Standard output:
  1. 0: The Runtime cannot open a request for assistance
  2. 1: The Runtime can open a request for assistance
Exit status:
  1. 0: The command entry is successful
  2. 1: The connection to the Runtime is unsuccessful
  3. 2: Runtime is not connected to the UBIQUITY servers
--exportConnectionLog
Export connection logs. Indicate the logs parameters --fromDate, --toDate and --outputDirectory.
Note: If you select an invalid date range, the exported logs return zero results.
Exit status:
  1. 0: The command entry is successful
  2. 1: The connection to the Runtime is unsuccessful
  3. 2: The connection logs export is unsuccessful
--setRuntimePassword followed by the <password> that you want to set up.

Configure a password to access Windows Runtime.

Note: See Ubuntu 22 Runtime installation and configuration for further information on how to configure a password.
Exit status:
  1. 0: The password setup is successful
  2. 1: You do not have the user rights to change the password
  3. 2: The password does not meet the security compliance standards
--unsetRuntimePassword

Remove a previously set password to access Windows Runtime

Exit status:
  1. 0: The password is successfully removed
  2. 1: You do not have the user rights to change the password
--quit

Disconnect Runtime when it is running.

--version

See the Runtime version.

-h, --help

See the list of the currently available commands.

Examples

The path identifies the Runtime installation path. For example: C:\Program Files (x86)\ASEM\Ubiquity\Runtime\.

Parameters Description
"<path>\UbiquityRuntimeCli" --connect

Connect Runtime to the UBIQUITY servers when Runtime is already running but disconnected. Runtime connects automatically by default, unless you have not entered the --disconnect command line.

"\UbiquityRuntimeCli" --disconnect

Disconnect Runtime from the UBIQUITY servers. Connection to the remote assistance service is not possible.

"<path>\UbiquityRuntimeCli" --showChat

Open the assistance chat window.

"<path>\UbiquityRuntimeCli" --hideChat

Hide the assistance chat window and disconnect Runtime from the remote assistance service.

"<path>\UbiquityRuntimeCli" --showKeyboard

Open the system keyboard.

"<path>\UbiquityRuntimeCli" --hideKeyboard

Close the system keyboard.

"<path>\UbiquityRuntimeCli" --openWebUI

Open Windows Runtime through a web page.

"<path>\UbiquityRuntimeCli" --remoteAccessServiceConnected

See the Runtime connection status.

"<path>\UbiquityRuntimeCli" --remoteAccessSessionCount

See the quantity of remote supervisors that are connected to the Runtime from UBIQUITY.

"<path>\UbiquityRuntimeCli" --getanonymousID

View the ID and password required to register a Runtime device to a domain. The following example shows how to query the Runtime through the --getAnonymousID parameter by using .NET:

var process = new Process();
process.StartInfo.FileName = @"C:\Program Files (x86)\ASEM\Ubiquity\Runtime\UbiquityRuntimeCli.exe";
process.StartInfo.Arguments = "--getAnonymousID";
process.StartInfo.CreateNoWindow = true;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.UseShellExecute = false;
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process.Start();
process.WaitForExit();
Console.WriteLine("AnonymousID, Password: " + process.StandardOutput.ReadToEnd());
Console.WriteLine("exit code: " + process.ExitCode);
Console.ReadLine();
"<path>\UbiquityRuntimeCli" --requestAssistance

Enable an assistance request. If The user must provide contact details when assistance is requested is enabled, you must provide three additional parameters that correspond to the fields Name, Contact information, and Description.

Example: "<path>\UbiquityRuntimeCli" --requestAssistance --name "John Doe" --contact "john.doe@email.com" --description "A brief description of the problem"

"<path>\UbiquityRuntimeCli" --closeAssistance

Close an assistance request.

"<path>\UbiquityRuntimeCli" --getRequestAssistanceStatus

See an assistance request status.

"<path>\UbiquityRuntimeCli" --canRequestAssistance

Check if an assistance request can be opened.

"<path>\UbiquityRuntimeCli" --exportConnectionLog

Export connection logs. Indicate the logs parameters --fromDate, --toDate and --outputDirectory.

Example: "<path>\UbiquityRuntimeCli" --exportConnectionLog --fromDate "2020-06-06" --toDate "2020-06-07" --outputDirectory "/tmp"

"<path>\UbiquityRuntimeCli" --setRuntimePassword

Configure a password to access Windows Runtime. For example:

"<path>\UbiquityRuntimeCli" --setRuntimePassword <password>
"<path>\UbiquityRuntimeCli" --unsetRuntimePassword Remove a previously set password to access Windows Runtime.
"<path>\UbiquityRuntimeCli" --quit

Disconnect Runtime when it is running.

"<path>\UbiquityRuntimeCli" --version

See the Runtime version.

"<path>\UbiquityRuntimeCli" -h, \UbiquityRuntimeCli" --help

See the list of the currently available commands.