Use USBSRVCmd.exe console program to configure the program via command line interface.
Note: Command line USBSRVCmd.exe file is created during the program install. You can find it within USB over Network (Server) program folder.
| Key | Description |
|---|---|
| share "USB_device_HWID" [-s "USB_device_serial_number"] | Share USB device |
| unshare ["USB_device_HWID" [-s "USB_device_serial_number"]] | Unshare USB device |
| as [=0|1] | Auto-sharing of USB devices |
| list [-v] | Lists USB devices |
| ao [=0|1] | Admin Only |
| asne [=0|1] | Allow force disconnect of auto-shared USB devices |
| kmas [=0|1] | Allow to share keyboards and mouses in auto-sharing mode |
| ssl [-f] [=0|=1] | Get, enable or disable SSL settings |
| ssl cert [path] | Path to the PEM-encoded Certificate file for the server |
| ssl key [path] | Path to the PEM-encoded Private Key file for the server, Private Key must be unencrypted |
| ssl use_ca [=0|=1] | Get, enable or disable using of Certification Authorities chain file |
| ssl ca [path] | Path to the certification authorities chain file |
| ssl use_auth [-f] [=0|=1] | Get, enable or disable clients authentication |
| ssl auth [path] | Path to the client authentication certificate list file |
| ssl use_rev [-f] [=0|=1] | Get, enable or disable using of certificate revocation list |
| ssl rev [-f] [path] | Path to the certificate revocation list |
| help | Show this help |
Get list of available USB devices:
C:\Program Files\USB over Network (Server)>usbsrvcmd.exe list USB\VID_046d&PID_c040&REV_2430 - USB Human Interface Device - USB-PS/2 Optical Mouse USB\VID_0ac8&PID_0328&REV_0100 - USB Composite Device - USB2.0 Web Camera
To share device, use command "share" and specify it's Hardware ID:
C:\Program Files\USB over Network (Server)>usbsrvcmd.exe share "USB\VID_0ac8&PID_0328&REV_0100" OK
Use "as" key to enable auto-sharing:
C:\Program Files\USB over Network (Server)>usbsrvcmd.exe as =1 OK
To unshare all USB devices use "unshare" key without specifying Hardware ID:
C:\Program Files\USB over Network (Server)>usbsrvcmd.exe unshare OK