Running the Expert console via command line interface

Last updated on Jul 01, 2024

You can run the Expert console via Command Prompt using the new-connection command which allows you to start a new support session with specific parameters.

Command format:

tinExpertDesktopApplication.exe new-connection --name <name> --notes <notes> --open-remote-desktop control|view 

If the Expert console is currently running, the New connection dialog will open.

The following optional parameters can be specified:

  • name <name> - specify Connection name.
  • notes <notes> - specify Connection notes.
  • open-remote-desktop <control|view> - start controlling or viewing the remote desktop upon session start.

Example:

tinExpertDesktopApplication.exe new-connection --name "Test Client_123" --notes "start connection via command line" --open-remote-desktop control
The command execution will be aborted if there's a running update or another dialog is currently open in the Expert console, such as Settings or Edit unattended device.

After executing this command:

  1. The New connection dialog will open.
  2. Connection name will be specified as Test Client_123.
  3. start connection via command line will be added to Connection notes.
  4. Upon session start, the remote desktop window will open in control mode.

A full path to the tinExpertDesktopApplication.exe file must be specified in order for the command to run correctly. There are two ways to do that:

Option 1: environment variable:

"%ProgramFiles(x86)%\Techinline Ltd\SetMe Expert\tinExpertDesktopApplication.exe"

Option 2: direct file path (specify the drive your OS is installed on):

"C:\Program Files (x86)\Techinline Ltd\SetMe Expert\tinExpertDesktopApplication.exe"