Virtual USB Tools - Get access to USB devices connected to a remote computer
Download Virtual USB Tools Hide this button

Client Command-Line Utility

Command-line utility client.cli.exe may be used as a simple API to manage connected USB devices. Command-line utility returns 0 if the requested operation is completed successfully, or non-zero error code (HRESULT). It also prints error description to STDOUT unless the --silent parameter is specified.

Command-line Parameters

The utility supports the following command-line parameters:

ParameterValueDescription
-?, --helpDisplays the list of supported parameters with short description.
--silentDo not display any error or success messages.
Main Commands
-listList local USB devices.
-addAdd shared USB device.
-deleteDelete shared USB device.
Trusted Servers Database Commands
-add-trusted-serverAdd server to trusted server database.
-delete-trusted-serverDelete server from trusted server database.
-list-trusted-serversList trusted servers and their public keys.
-clear-trusted-serversDelete all trusted servers.
Add/Delete Command Parameters
--serverstringRemote server name/address and, optionally, a port number.
--devicestringDevice identifier on the remote computer.
--auth-keystringOptional authentication key.
Trusted Servers Command Parameters
--serverstringRemote server name/address and, optionally, a port number.
--public-keybase64-encoded stringBase-64 encoded server's public key.