Command Line Interface

Use usbsrvcmd.exe console program to configure the program via command line interface.

Command line usbsrvcmd.exe file is created during the program installation. You can find it in USB for Remote Desktop program folder.

Key Description
list [-a] Get the list of active sessions and their IDs.
-a - show devices also.
connect <srvID> <devID> Connect the device devID to the server srvID.
disconnect <srvID> <devID> Disconnect the device devID from the server srvID.
lickey [ [-f] <key file path> ] usbsrvcmd.exe lickey - display license information.
usbsrvcmd.exe lickey <key file path> - enter the license key.
usbsrvcmd.exe lickey -f <key file path> - enter the license key even if any key was entered earlier.
help Shows this help.

Command Line Usage Examples:

List active sessions and devices:

C:\Program Files\USB for Remote Desktop>usbsrvcmd.exe list -a
srvID:0  -  sessionID:1
        devID:0 - Wacom Co.,Ltd. STU-300  (shared)
        devID:1 - USB camera  (shared)
        devID:2 - USB DISK 2.0  (shared)

Connect the device:

C:\Program Files\USB for Remote Desktop>usbsrvcmd.exe connect 0 1
Device is connected.