How to enable Hyper-V USB passthrough and access USB in Hyper-V

Last updated

Contents

What we gained with the development of virtualization technology is the much-desired ability to create a virtual version of computer hardware, including computing, storage, and networking resources. However, connecting to such physical resources as USB devices can still be a real challenge for users of virtual machines. In this guide, we’ll consider several simple methods to enable Hyper-V USB passthrough so that your VM can work with any USB devices attached to the host computer.

What is Hyper-V USB passthrough


The Hyper-V USB passthrough functionality allows you to access the USB device from within a virtual machine. But what if you need to get access to a USB device plugged into your local PC but find out that the Hyper-V environment doesn’t natively support USB passthrough? Well, as you may know, Hyper-V is a type-1 hypervisor, which means one operating system instance locks a USB port from all other OS instances. Therefore, it may not assign a USB port to a particular guest. Thankfully, there are several popular ways to enable Hyper-V USB support and now we’ll take a closer look at each of them.

How to access USB in Hyper-V - a software method


FlexiHub

Windows, macOS, Linux, Android
4.8 Rank based on 78+ users
FlexiHub employs USB over Ethernet technology to forward traffic from USB devices over a network.
FlexiHub

USB over network is a powerful software app designed to make USB devices accessible from any remote computer, be it a PC working in the next room or a virtual machine running on a computer located miles away. This program can be your indispensable tool to enable Hyper-V USB passthrough on Windows 10, 7, 8, and others.

If you don’t know how to connect to USB in Hyper-V, here are the simple instructions to follow:

  1. First, create an account on the FlexiHub website.
  2. Then, choose the required number of connections you’ll be able to establish at a time and start your free trial. Download the app.
  3. After that, install FlexiHub on the host and guest machines.
  4. Start the app on both systems and log in to your FlexiHub account using the same credentials.
  5. Now, in your Hyper-V VM, you will be able to locate the required USB device in the software interface. All you need to do is click “Connect”.

Once done, you can get full access to the device’s functionality and contents as though it were connected directly to your virtual machine.

It’s also worth mentioning that FlexiHub allows creating cross-platform connections. It can enable Hyper-V USB passthrough from Linux to Windows, from Windows to Mac and in many other combinations.

How to access USB from Hyper-V over a Remote Desktop Connection


In order to connect a USB device within a remote desktop session to VM Hyper-V, just take the following steps:

  1. To begin, you should allow Remote Desktop Connections on your guest system. To do this, connect to your virtual machine and find “System and Security” settings in the Control Panel. Select “Allow remote access”. connect usb hyperv
  2. You will see the System Properties window. In the “Remote” tab, check the “Allow remote assistance connections to this computer” box. Also, make sure that the “Allow remote connections to this computer” option is selected. Hit OK. hyperv remote access
  3. Now, if you want to access a Hyper-V USB device, you should initiate a Remote Desktop session.

  4. To do this, execute the mstsc.exe command, click “Show options” in the Remote Desktop Connection window and go to the “Local Resources” tab. Click “More” in the section “Local devices and resources”. redirect usb hyperv
  5. Check the “Other supported plug-and-play devices” box in the menu that will open. Hit OK. enable usb passthrough hyperv
  6. Click “Connect” to start your Remote Desktop session.

It’s also worth mentioning that in this scenario it’s required that the host and guest machines are connected to the same network.

How to enable USB device in Hyper-V with the Enhanced Session Mode


The Enhanced Session Mode makes it possible to redirect USB device to Hyper-V on Windows 10 and 8.1 (available by default), Windows Server 2012 R2 and Windows Server 2016 (can be enabled manually). This mode allows you to forward local resources to your Hyper-V VM using the Virtual Machine Connection tool. What’s important is that this method requires only the host computer to be connected to the network and doesn’t need network connectivity to the guest OS.

Here’s how it works:

  1. On a host computer, you go to the Hyper-V Manager, right-click the name of the host and choose Hyper-V Settings. configure usb passthrough hyperv
  2. In the Setting window, you will see the Server and User sections. Select Enhanced Session Mode Policy in the Server section and allow the enhanced session mode by checking the corresponding box.  hyperv usb passthrough
  3. Now, choose “Enhanced Session Mode” in the User section and check the “Use enhanced session mode” box. hyperv usb support
  4. Click OK and the changes will be saved.

What you should do next is select a local resource to connect to. These can be printers, smart cards, USB drives, etc. To allow Hyper-V access to attached USB devices, take the following steps:

  1. Start the Hyper-V Manager and double-click the name of your virtual machine.
  2. In the pop-up window, click “Show Options” to configure your VM’s future connections.
  3. After that, go to the tab “Local resources” and click “More” in the section “Local devices and resources”.
  4. Then, check the boxes “Other supported Plug and Play devices” and “Devices that I plug in later”. Hit OK.
  5. If you want this configuration to be saved for all future connections, check the corresponding box in the “Display” tab. Click “Connect” to implement the changes.

FlexiHub

Requirements: Windows XP/2003/2008/Vista/7/8/10/Server 2012
Size: 6.93MB
Version: 3.6.12038 ()
User rating: (4.8 based on 78+ users )