Cookie
FlexiHub Team uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy. Click here to learn more.
Olga Weis Olga Weis Last updated Feb 18, 2026

How to Enable USB Passthrough in Hyper-V

One of the key limitations of Hyper-V is its lack of native USB passthrough support. It can be challenging to connect your virtual machines (VMs) to USB devices such as storage devices, printers, or security keys for activities like software licensing and data transfer. Hyper-V does not provide this capability by default.

This article examines multiple methods of enabling USB passthrough for Hyper-V VMs. We look at the Remote Desktop Protocol (RDP), Discrete Device Assignment (DDA), physical disk passthrough, and Enhanced Session Mode (ESM), each offering different features to meet your usage requirements.

We then present FlexiHub, a simple, comprehensive solution for implementing Hyper-V USB passthrough with minimal configuration.

How to passthrough USB in Hyper-V with RDP

Best used for: Daily remote administration after RDP is enabled on the VM for tasks such as file transfers and managing printers, webcams, and other USB devices.

Remote Desktop Protocol (RDP) lets you redirect local resources to a network-connected Windows virtual machine. RDP supports high-level redirection, optimized by device class, such as cameras or microphones. RDP also supports opaque, low-level redirection for devices that require in-session drives, as well as the raw USB protocol via URBs.

Microsoft recommends using high-level USB redirection whenever possible. Low-level redirection only works with local Windows devices and requires low-latency connectivity for optimal performance. Users control low-level redirection with the usbdevicestoredirect RDP property and Group Policy.

Primary purpose

RDP enables fast access to files and peripheral devices from network-connected VMs. High-level redirection delivers optimal performance and a more satisfying user experience for devices such as webcams. Low-level redirection should be reserved for devices that require special drivers. Admins can configure the device classes eligible for redirection via usbdevicestoredirect and centrally allow or deny redirection by modifying the security policy.

icon pros Pros:

  • Supports most USB devices.
  • Works over LAN/WAN.
  • Users can modify policies and the RDP file for granular control over redirection.

icon cons Cons:

  • Certain device classes require high-level redirection for good performance.
  • Low-level USB redirection only supports Windows clients and is sensitive to network latency.

System requirements

  • Guest: Windows with Remote Desktop must be enabled and reachable over the network.
  • Client: Must be running an RDP client that supports the desired redirections. Low-level USB redirection on the client side is Windows-only.

How to use Remote Desktop for USB pasthrough in Hyper-V

Prerequisites:

• RDP must be enabled on the VM with redirection allowed via the firewall.
• You can modify Group Policy to allow redirection for “other supported RemoteFX USB devices” and device classes.


A. Using the Remote Desktop Connection app

  1. Enable Remote Desktop in the VM: Settings → System → Remote Desktop → Enable Remote Desktop → allow the firewall rule.
  2. Open mstsc on the client by pressing Win+R, typing mstsc, and hitting Enter → Show Options → Local Resources → More….
  3. Select the devices to redirect: Choose and check Drives, Printers, and Other supported USB devices if you need raw USB forwarding with low-level redirection.
  4. Connect: Enter the VM’s hostname or IP address → Connect and sign in. You will see the redirected devices under “Redirected…” resources.

B. Enable low-level USB redirection (optional policy & RDP file)

  1. Modify Client Group Policy: gpedit.msc → Computer Configuration → Administrative Templates → Remote Desktop Services → Remote Desktop Connection Client → RemoteFX USB Device Redirection → Allow RDP redirection of other supported USB devices = Enabled for Admins and Users → reboot the client.
  2. Target specific devices if desired: Save your connection as an .rdp file. Add a line to the file - usbdevicestoredirect:s:* (or class/instance IDs) to define which USB devices can be redirected.

☝ User notes

• Choose high-level redirection whenever possible for cameras, printers, drives, and audio devices. Low-level redirection should only be used when high-level redirection is unavailable for a specific device.
• You can exercise granular device control using Class GUIDs or instance IDs with usbdevicestoredirect.

Enhanced Session Mode (VMConnect)

Best used for: Initial operating system setup, test or development systems, local host operators, and when standard RDP over the network is unavailable.

Enhanced Session Mode (ESM) is VMConnect-embedded RDP functionality that does not require guest network connectivity to tunnel an RDP session to the VM. ESM accomplishes this by opening a connection dialog for resource sharing. After the connection is enabled, you can redirect printers, drives, audio devices, and smart cards to supported Windows guest VMs. ESM provides an easy way to use local devices with a VM. The user experience is improved by features such as a seamless clipboard, HiDPI support, and window resizing. Device support follows the RDP high and low-level redirection model. ESM only supports Windows guest VMs.

Primary purpose

This solution provides a “local console” when the virtual machine lacks network connectivity or an IP address, such as when it is first booted or during system recovery. You get the same redirection capabilities as with mstsc via the VMCOnnect’s dialog. ESM avoids the network exposure associated with RDP while keeping admin workflows on the Hyper-V host.

icon pros Pros:

  • No IP or guest network requirements
  • Fast device sharing
  • Enhanced user console

icon cons Cons:

  • RDP-based solution that may require alternate methods for specific USB devices
  • Windows guests only

System requirements

  • Host: You must turn on Enhanced Session Mode Policy and Settings. Supports VMConnect running on Windows 10/11 or Server 2016+.
  • Guest: Must be running Windows 10/11 or Server 2016+ with Remote Desktop enabled.

How to use Enhanced Session Mode for Hyper-V USB device passthrough

Prerequisites: Enable ESM on the host and turn on Remote Desktop in the guest. For newer builds, disable the “Require Windows Hello sign-in for Microsoft accounts” option before the first ESM sign-in, then reboot the systems and sign out.


A. Hyper-V Manager (host & VM)

  1. Enable ESM on the host: Hyper-V Manager → select the host in the left pane → Actions → Hyper-V Settings → under Server, select Enhanced session mode policy → Allow → OK. Set the Enhanced session mode under User to Use.
  2. Enable Remote Desktop in the VM: Settings → System → Remote Desktop → Enable.
  3. Connect with VMConnect: Right-click the VM → Connect → Show options → Local Resources → More… → select Drives/Printers/Audio/USB devices → Connect.

B. Using PowerShell (host)

  1. Turn on ESM globally:
    Set-VMHost -EnableEnhancedSessionMode $true
  2. Connect with VMConnect and choose local resources.

☝ User notes

If you can only get a “basic session,” verify RD is enabled in the guest VM and that ESM is allowed on the host.

USB Physical Disk Passthrough for Storage in Hyper-V

Best used for: Data migration and recovery without VHDX; quickly connecting a USB disk to a VM.

In this method, you connect a USB drive that has been taken offline from the host directly to the VM as a physical hard disk. This technique is only for storage, as the VM sees the disk as a raw block device. It provides a simple way to connect disks and is helpful for recovery or testing. Users typically use VHDX to connect a drive unless they need access to the raw disk due to the functional limitations of passthrough disks.

Primary purpose

Physical disk passthrough is primarily used to provide a VM with direct, exclusive access to a raw disk without contention from the host.

icon pros Pros:

  • Raw disk, block-device access
  • Simple and effective
  • Does not rely on the guest network

icon cons Cons:

  • Unsuitable for other types of USB peripherals
  • Limitations for activities such as export, backup, and migration
  • It is not recommended for mobile scenarios

System requirements


  1. Hyper-V (Windows 10/11/Server).
  2. An extra disk that can be set offline on the host. It cannot be the host OS disk.

How to use Hyper-V USB device passthrough

Prerequisites: On the host, use Disk Management to verify the target disk and take it offline.


A. Using Hyper-V Manager (host and VM)

  1. Set the USB disk to offline on the host: diskmgmt.msc → right-click the target USB disk → Offline.
  2. Connect the physical disk to the VM: Hyper-V Manager → right-click the VM → Settings → SCSI Controller → Hard Drive → Add → Physical hard disk → choose the offline disk → OK.
  3. In the VM: open Disk Management → bring the disk online if needed → initialize the disk and assign a drive letter.

B. Using PowerShell (host)

  1. Find the USB disk on the host and set it to offline.
    Get-Disk | Where-Object BusType -eq USB
    Set-Disk -Number ❮DiskNumber❯ -IsOffline $true
  2. Attach the offline physical disk using its disk number.
    Add-VMHardDiskDrive -VMName "❮VMName❯" -ControllerType SCSI -DiskNumber ❮DiskNumber❯

(See examples of attaching by -DiskNumber)

☝ User note

Pass-through disks can disrupt backup and checkpoint workflows and cannot be exported or migrated like VHDX devices.

Using Discrete Device Assignment (DDA) to Enable USB Passthrough in Hyper-V

Best used for:
Host servers with a spare add-in USB controller;
Users accessing native driver stacks or time-sensitive or proprietary peripherals.

DDA provides a guest VM with native ownership and driver control over a physical PCIe device. With USB devices, you pass through the entire USB controller rather than individual ports. The device is removed from the host while providing the VM with essentially native performance and compatibility.

This technique results in VM restrictions on features such as live migration, data saving and restoring, and dynamic memory while the guest is attached. DDA does not support some devices or controllers and requires hardware and firmware support. Microsoft’s SurveyDDA tool facilitates dismounting and assigning devices by PCI location path.

Primary purpose

DDA provides near-real USB passthrough by dedicating a PCIe USB controller to a virtual machine, enabling low-level access and vendor drivers. This technique is a viable alternative if RDP redirection cannot meet the USB device's protocol and driver requirements.

icon pros Pros:

  • Near-real hardware passthrough
  • Excellent performance and compatibility for USB devices with a dedicated controller

icon cons Cons:

  • Requires advanced skills
  • No host access to the device
  • Limitations such as no VM save/restore, no live migration, and no dynamic memory

System requirements


  1. OS: Windows Server with Hyper-V (2016/2019/2022/2025).
  2. Hardware: CPU EPT/NPT plus IOMMU with interrupt and DMA remapping (similar to SR-IOV requirements). BIOS/firmware settings must enable these features.

How to use DDA to pass a USB controller to a Hyper-V VM

A. Collect information and prepare the environment (host GUI + requirements)

  1. Confirm DDA requirements: You need Windows Server Hyper-V and hardware that supports IOMMU/ACS and device isolation. Review DDA planning guidance for limitations while attached to the device.
  2. Find the controller’s location path: Open Device Manager on the host→ expand Universal Serial Bus controllers → choose the USB controller to dedicate → Details tab → Property: Location paths → copy the PCIROOT(…) string for use in dismounting the device.

B. Assign the controller with PowerShell (VM off)

  1. (Optional) Size MMIO for the VM
    $vm = "<❮VMName❯"
    Set-VM -Name $vm -LowMemoryMappedIoSpace 3GB -HighMemoryMappedIoSpace 33280MB
  2. Dismount the controller from the host and add it to the VM
    $loc = "❮PCIROOT(...from Device Manager...)❯"
    Dismount-VMHostAssignableDevice -LocationPath $loc -Force
    Add-VMAssignableDevice -VMName $vm -LocationPath $loc
  3. Start the VM and install the vendor driver in the guest as needed.
  4. To revert - Remove-VMAssignableDevice, then
    Mount-VMHostAssignableDevice - to return the controller to the host.

☝ User note

DDA does not work with all controllers and devices. You should verify compatibility with Microsoft’s DDA script or with the vendor's information.

USB Redirection in Hyper-V with FlexiHub

FlexiHub is a USB-over-IP software solution that virtualizes USB and COM ports over a network, enabling VMs to access and use devices as if they were physically connected. The app lets a user share a device physically connected to a server with a client, and ensures security by encrypting all traffic. FlexiHub automatically selects the fastest transmission route from direct, QUIC NAT-traversal, relayed through a tunnel server, or RDP. Teams share access via secure login tokens, eliminating the need for passwords.

Best usage scenarios:

• Admins can use FlexiHub when they require a reliable Hyper-V USB device connection to passthrough devices that RDP redirection cannot handle.
• FlexiHub provides cross-platform OS support and works with systems that lack spare DDA controllers.
• Teams can use FlexiHub to access dongles, programming tools, lab equipment, and other devices from multiple locations.

Primary purpose

FlexiHub offers an excellent solution when RDP or ESM redirection does not support desired device classes, or when the peripheral is located offsite. The virtual USB ports created on the guest allow the VM’s OS to recognize the device natively and load drivers as if it were a local device. FlexiHub provides cross-platform support for Windows, Linux, macOS, Android, and Raspberry Pi across LANs, VPNs, or the Internet. The software centralizes Hyper-V virtual machine USB device management and lets teams exercise granular control over access.

icon pros Pros:

  • Cross–platform support over IP-based networks
  • Requires no Hyper-V host changes
  • Automatic selection from multiple connection modes (Direct, QUIC, RDP, Tunnel)

icon cons Cons:

  • Network performance determines application latency

System requirements


  • • Supported OS for nodes: Windows 7 SP1+ / Server 2008 R2+; macOS 10.14+ (Apple Silicon supported with specific caveats); Linux (Ubuntu/CentOS tested); Android 5.0+; Raspberry Pi OS.
  • • Hyper-V: Works if you install FlexiHub on the host and guest, or on a workstation ↔ VM via RDP/ESM.
  • • Person/Team and Business subscriptions or a free trial.

How to connect USB devices with a Hyper-V VM via FlexiHub

Prerequisites: Install FlexiHub on the “server” (where the USB is physically attached) and on the VM (“client”). Sign in to the software with the same credentials.


A. Hyper-V Host (USB device) → Guest VM (consumer)

Use this procedure when the USB is plugged into the host, and you want to use it with one or more VMs.

  1. Install FlexiHub on the host and the VMs, then sign in on both with the same account credentials or a secure login token. Download FlexiHub for your device
  2. Open FlexiHub on the VM and locate the device listed under the host node → Connect; the VM loads drivers as if the device were local. connect a USB device

Performance tip: You can enable a direct connection by opening TCP 5000 inbound, enabling UPnP, or FlexiHub will automatically select the QUIC/RDP/Tunnel option.


B. Workstation (USB device) → Hyper-V VM over RDP/ESM

Use this procedure when you already use mstsc/ESM, but the device will not redirect natively.

  1. Install and sign in to FlexiHub on the workstation and on the VM with the same credentials.
  2. Connect to the VM with mstsc or ESM, then in the VM’s FlexiHub, click Connect next to the workstation’s device.
  3. You can address low throughput by opening TCP port 5000 on the workstation or by assigning a public IP address to one side of the connection.

C. Remote PC (USB device) ↔ Hyper-V VM (over the Internet)

Use these steps if you want to connect to an off-site device or if the VM is behind a firewall in a data center or the cloud.


  1. Install and sign in on the VM and the remote computer.
  2. Open TCP 5000 for Direct connection and optimal performance. FlexHub uses QUIC or Tunnel automatically if TCP 5000 is closed.
  3. You can deploy a Private Tunnel Server to maintain strict control over routing and meet compliance requirements.

Conclusion

Hyper-V is a popular virtualization platform that does not provide native USB passthrough support. This lack of support can affect productivity by making it difficult for users to connect their VMs to physical devices, such as printers, dongles, and disk drives. We have explored multiple methods for enabling Hyper-V USB passthrough, including native functionality, advanced configuration, and third-party tools.


  • • RDP provides simple USB redirection for devices such as printers and cameras, but its effectiveness can be affected by latency and Windows-only support.

  • • ESM enables local access to USB devices without network connectivity for a seamless user experience.

  • • Physical Disk Passthrough lets users directly attach a USB disk to a VM for storage and recovery activity.

  • • DDA is used to provide high-performance passthrough of USB controllers for specialized hardware, but has some functional limitations.

  • • FlexiHub is an all-in-one, cross-platform USB passthrough solution. It can be instrumental in enabling Hyper-V USB passthrough when RDP or ESM cannot handle the connection, or you need to access a device remotely over a network.

The methods range from simple device management solutions to advanced functionality for specialized hardware. Users should consider these methods and choose the best solution for their needs.

Enable Hyper-V USB Device Passthrough
  • 4.8 overall rank based on 386+ Reviews
  • Requirements: Windows, macOS, Linux, Android and Raspberry Pi.
  • 11.59MB Size.
  • Version 7.0.15580. (11 Feb, 2026).
  • Pricing starts $39 per month billed annually