
Out of the box, VirtualBox has limited USB passthrough support. You can improve it with the Extension Pack and the Guest Additions. However, this doesn’t solve the problem of passthrough to remote VM sessions over RDP.
In this article, you will learn how to set up the Extension Pack, how to access USB in a virtual machine, and also how to use USB Network Gate to redirect your devices to a remote VirtualBox RDP session.
The Extension Pack is a downloadable addition to VirtualBox. Unlike the base package, which is licensed under GPLv3, the extensions are licensed under PUEL, which restricts their use significantly. However, it’s necessary for proper USB passthrough support. Here’s how to use USB in VirtualBox.
First off, you’ll need to add your user to the vboxusers group. Do this by running the command “adduser [username] vboxusers” as root, and then restarting the computer.
Next, download the Extension Pack. It can be found on the VirtualBox download page. Open VirtualBox, and go to Tools > Extensions. Click the “+” button and select the downloaded file.
After you authenticate the installation and agree to the terms and conditions, the process is complete and you can add USB to VirtualBox.
Note: Mouse input and general performance can also be improved by installing Guest Addons on the VM of your choice.
If you failed to attach usb device, VirtualBox may require you to install the Extension Pack, may not support the specific device, or VirtualBox USB filters that disallow it may be enabled for the virtual machine.
Do you want to use your USB device on a remote VRDP virtual machine? Or is it an exotic device, such as a 3D sculpting mouse, that VirtualBox USB extensions don’t support? In either case, USB Network Gate is the solution for you. It’s a utility that allows any USB device connected to one machine to be shared to another on the same network, and this includes VMs.
In addition to supporting a variety of hardware - printers, webcams, and dongles - connections created by USB Network Gate allow for a lot of security, with options for encryption, password protection, and automatic disconnect. It also works through NAT. USB Network Gate is both versatile and easy to use, never requiring complicated setup to access any of its features. A Free Trial is available to let you experiment and decide before buying.