By Alison / Last Updated April 2, 2022

What is Hyper-V USB passthrough

If you want to use a USB device to transmit large amounts of data to a Hyper-V VM, then the Hyper-V USB passthrough is exactly what you need.

Hyper-V USB passthrough refers to direct access to USB devices from inside a Hyper-V VM. There are 3 proven ways to enable Hyper-V USB passthrough access:

  • Take USB device Offline and attach to Hyper-V VM
  • Access USB device in Enhanced Session Mode
  • Enable Hyper-V USB passthrough via Remote Desktop Protocol (RDP)

Their operations are not simple as the built-in VMware feature, since the host and VM cannot access the USB drive at the same time.

If you want an easier way, you can perform P2V data transfer using AOMEI Centralized Backupper.

4 ways to transfer USB data to Hyper-V VM

Way 1: Take the USB disk offline and attach to a Hyper-V VM

1. Open Disk Management console using diskmgmt.msc command.

diskmgmt.msc

2. Right-click on the USB disk and select Offline.

Take the usb disk offline

3. Launch Hyper-V Manager, right-click on the VM that needs access to the USB drive, and select Settings.

Open Hyper-V VM settings

4. Navigate to SCSI Controller, select Hard Drive option you want to attach to the controller and click Add.

Note: You can only add drive to IDE controller while the VM is powered off, but you can add drive to SCSI controller whether the VM is off or on.

Hyper-V VM add hard drive

5. Navigate to SCSI Controller > Hard Drive from the left dropping menu, select Physical hard disk option and specify the USB disk to attach. Click OK to save.

Hyper-V VM add physical hard-disk

Note: If you want to remove the USB drive, navigate to SCSI Controller > Hard Drive, select the USB drive attached and click Remove.

Way 2: Access USB device in Hyper-V VM in Enhanced Session Mode

Note: If your Hyper-V host is a Windows 8.1 or Windows 10 computer, you can skip this step because Enhanced Session Mode is enabled by default.

1. Launch Hyper-V Manager, right-click on the host name and select Hyper-V Settings…

Open Hyper-V host settings

2. Navigate to Enhanced Session Mode Policy from the left Server inventory, and check the Allow enhanced session mode option.

Hyper-V Manager Allow Enhanced Session Mode

3. Navigate to Enhanced Session Mode from the left User inventory, and check the Use enhanced session mode option. Click OK to save.

Hyper-V Manager use Enhanced Session Mode

4. Power on the VM, a VMConnect configuration window will pop up. Click Show Options.

VMconnect show options

5. Navigate to Local Resources tab, and click More to select the USB devices you want to attach, click OK to save.

VMconnect more local resources

6. Back to Local Resources tab, click Connect to attach the USB devices.

Way 3: Enable Hyper-V USB passthrough via Remote Desktop Protocol

1. Power on the VM and navigate to Control Panel > System > Allow remote access.

2. In the pop-up window, check the Allow Remote Assistance connections to this computer and Allow remote connections to this computer options. Click OK to save.

Allow remote assistance connections to this computer

3. Open Remote Desktop Connection window using mstsc command. Click Show Options to expand.

Remote desktop connection show options

4. Navigate to Local Resources tab, click More.

Remote desktop connection more local resources

5. Expand Drives and select the USB devices you want to connect, click OK to save.

Remote desktop connection select drive

6. Navigate to General tab and type the VM’s IP address and Username, click Connect to start remote desktop connection.

Remote desktop connection general tab

Way 4: P2V data transmission via AOMEI Centralized Backupper

In addition to above 3 built-in methods of Hyper-V USB passthrough, you can use AOMEI Centralized Backupper to implement P2V data transfer.

It works by installing agents on physical and virtual machines, not only backup and restore files or folders to the Hyper-V VM, but also the entire USB drive, operating systems, partitions, and volumes. In addition, you can convert physical to Hyper-V virtual machines.

Steps to backup USB drive to Hyper-V VM

1. Launch AOMEI Centralized Backupper, navigate to Computers tab, select the physical machine and the Hyper-V VM (with a static IP) and click Request Control.

There will be a request window pop up on these machines. Once you are authorized you can backup and restore whenever you want.

Request Control

2. Navigate to Tasks > New Task> Disk Backup to create a backup task. Specify the computer, the USB drive attached, and a Share or NAS device to store the backup.

Select disk

3. When restoring, click Advanced > Restore on the right top of the task to specify the Hyper-V VM you want to restore to.

Restore to another computer

Summary

You may find that your Hyper-V VM does not recognize the USB drive, since it cannot be accessed by the host and VM at the same time. Then you need to perform Hyper-V USB passthrough.

In this article, I introduced what Hyper-V USB passthrough is, and shared 3 proven ways to access USB drive from inside the Hyper-V VM. In these ways, not only you can transmit data from USB drive to your Hyper-V VM, but also attach other USB devices to the VM such as printers.

If you still have needs to backup your Hyper-V VMs, you can try AOMEI Cyber Backup, a professional backup software that capable of backing up multiple VMs with 2 concise steps.