Virtualbox USB Passthrough Guide


Contents

  1. How to access local USB in VirtualBox
  2. Software solution to forward USB to virtual machine
  3. VirtualBox USB passthrough in different OS

How to access local USB in VirtualBox


You may have heard that VirtualBox 5.0 comes with USB passthrough support. Here we provide a simple instruction on how to use USB in VirtualBox.

  1. As an option, (to take advantage of USB 3.0 speeds) you can install the free VirtualBox Extension Pack.
  2. Once installed, start your virtual machine (be it Windows, Linux, or some other supported guest OS).
  3. Plug the required USB device in a USB port of your host computer.
  4. Now, head to Devices -> USB, and click on ‘USB device to share’.
VirtualBox 5.0

As VirtualBox enables USB connection, the shared USB device will appear in your guest OS. The virtual machine will recognize the USB device and you’ll be able to get full access to device’s functionality from your guest OS. This way, you will be able to connect USB to VirtualBox remotely.

One thing you should remember is that only one machine can access a USB device at a time.

VirtualBox USB passthrough software

Considering that many virtualization apps offer limited or no support for local USB devices, the software solution, USB Network Gate, seems to be a real sigh of relief for many users.
USB Network Gate logo

USB Network Gate

Share USB over Ethernet on Windows
4.9 Rank based on 179+ users, Reviews(72)
Download 14-day trial, You can share only 1 local USB-device
USB Network Gate

How VirtualBox USB Support Functions On Multiple Operating Systems


For current VirtualBox USB users, they recognize that their USB-reliant virtual machines must be ‘enabled’ in order to function. While otherwise convenient, VirtualBox USB software elicits frustration because VirtualBox USB support isn’t enabled by default.

Regardless of how much we’d like to connect to USB in VirtualBox (or updated versions) right off the bat, developers haven’t created a USB functionality that works at the moment.

However, VirtualBox USB support is NOT an impossibility- or even that difficult to enable in the first place. That being said, we’ll show you exactly how to connect to USB in VirtualBox for Mac and how to open a USB on Ubuntu VirtualBox (AKA: on Linux OS).

VirtualBox USB Windows solution


VirtualBox offers remote display of a virtual machine. That means, started on one computer, a guest OS can be displayed on another PC and controlled from there too. To do this, VirtualBox uses VRDP, VirtualBox Remote Display Protocol, which is backwards compatible with Microsoft’s RDP protocol. The VRDP support makes VirtualBox an optimal solution for those who want to access their virtual machine over RDP Connection.

What about VirtualBox remote USB access? Well, displayed on a remote computer as VRDP data, VirtualBox guest OS is able to access USB devices of that remote computer in the same way as local USB peripherals of VM’s real host. VRDP is a simple way to remotely access USB in VirtualBox.You can access USB dongle in VirtualBox or get access to local printer from virtual environment.

VirtualBox Mac USB Support | Understanding VirtualBox Mac USB Functionality


This section is for Mac users who are using a VirtualBox machine to run Windows.

VirtualBox Mac USB devices can “pass through” a Mac operating system and- instead- function on the virtual machine running Windows OS.

Follow the steps below to bypass Mac OS X and access a USB plugged into a USB port in your WINDOWS “Virtual Machine”.

  1. Open VirtualBox and ensure Windows VM isn’t running

  2. Click the “Settings” option

  3. Select “Ports” (3rd option in the top-right icon menu)

  4. It will appear by default as “Serial”- click the “USB” option

    Note: choose the USB 2.0, as it is much faster than using the USB 1.1 option.

  5. Physically connect the USB device you want to bypass Mac OS X.

    Quick Explanation: we’re now specifying the selected USB device to pass through to Windows VM(Virtual Machine) on this screen. Once established, as long as the Windows VM is running, the USB device will function on Windows VM whenever the USB device is plugged in.

    If the VM is closed when the USB is plugged in, it will function on the normal Mac OS X.

  6. Click the green “plus” icon and see a list of USB devices eligible for passthrough. For this example, we’re selecting “SanDisk Cruzer Blaze”

  7. Click/Select it

    It should now be listed under “USB Device Filter”

    In the above screenshot, you can see that the USB controller was moved to USB 3.0. Go ahead and ignore that because USB 3.0 does not currently work on Windows 7 VMs.

  8. Return to the main VirtualBox screen

  9. Safely eject & remove the USB device from your computer

  10. Start Windows Virtual Machine

(If this is your first time selecting “USB 2.0”, you’ll most likely see the screen shown above, so don’t be alarmed.)

From here, you can freely connect your USB device to your Mac, and it will behave as if physically plugged into a Windows computer.

Not too bad, right?

Note: when you look in the Mac OS X “Finder”, you won’t see the USB device anymore. However, if you close the virtual machine and reinsert the USB device, it will appear as normal on your Mac OS X.

VirtualBox USB Linux Support | Understanding VirtualBox Linux USB Functionality


If you’re a Linux user, then your VirtualBox USB support set-up will be a bit different. So, if you’ve ever wondered how to access USB on VirtualBox Ubuntu, we’ll show you exactly how to open a USB on Ubuntu VirtualBox below.

  1. Install the VirtualBox Extension Pack.

    Note (1): By default, VirtualBox only supports .x1 USB devices. The VirtualBox Extension Pack includes USB 2.0 and USB 3.0 support, as well as intel cards for VirtualBox RDP and PXE boot.

    VirtualBox Extension Pack

    Note (2): You MUST install the VirtualBox Extension Pack On The SAME VERSION of your currently installed VirtualBox.

  2. (After download is complete) navigate as follows:

  3. FIle -> Preferences -> Extensions

  4. Click the “add” button to implement the VirtualBox Extension Pack to your hard disk.

  5. Select the appropriate extension pack

  6. Click “Install”

    Note: By checking the description, you’ll see the features and functions added to your VM

  7. After reading the VirtualBox licensing terms and conditions, click “Agree”

Let’s add your “User” to the “vboxusers” Group


Your user must appear in the “vboxuser” group in order for VirtualBox to “see” your USB devices.

  1. Open up a Terminal Window (Ctrl+Alt+T)

  2. Run the following command

  3. Insert your real username in place of the current username

    “sudo gpasswd -a yourusername vboxusers”

  4. Log out and in again to see the changes reflect

  5. See what group your user account belongs to by running:

    “groups yourusername”

Now it’s time to Enable USB Control & Add New USB Filters


  1. Select “Settings” for The Specified VM(Virtual Machine)

  2. On The Left Pane, Click “USB”

    Note: Choose either USB 2.0 Controller or USB 3.0 Controller (FYI: only one controller type can be enabled

  3. Insert your USB device

  4. Click the “add” button (this lets you ‘add’ a new USB filter)

    “virtualbox add new usb filter”

  5. Locate and select your USB device

  6. Click “OK”

Last But Not Least


Run your Virtual Machine to see your USB devices in the “Guest” OS. Don’t forget that host Operating systems can’t see a USB device if VirtualBox is using it.

How To Unmount USB Devices From Guest Operating Systems.

  1. Select “Devices” -> “USB”
  2. Uncheck the USB device you want to unmount

Note: If you want to mount the USB in VirtualBox again, just go to your “Devices” list and reselect the USB device.

As you can see, enabling VirtualBox USB support can be accomplished in just a few easy steps. From VirtualBox mac USB support to how to access USB on VirtualBox ubuntu (Linux), your preferred USB devices will always be within reach.

USB Network Gate

Requirements for Windows (32-bit and 64-bit): XP/Vista/7/8/10, Windows Server 2003/2008/2012/2016/2019
Also available on macOS, Linux OS and Android , 5.4MB size
Version 9.0.2236 (8 May, 2020) Release notes
Category: Network Software