Hyper-V USB Passthrough and How Does It Work
Here you will find out:
- what is Hyper-V USB passthrough
- what do you need to use Hyper-V USB passthrough
- when DiskInternals can help you
Are you ready? Let's read!
About Hyper-V USB passthrough
There are situations when you may need to connect to physical resources, such as a USB device, inside a virtual machine. For this purpose, Hyper-V USB Passthrough was developed, thanks to which you can copy and paste any files to and from a virtual machine. In order to use Hyper-V USB passthrough on Windows 10, you need to know the basic approaches to this:
- As an option, you can turn on the advanced session mode.
- You can also open a Remote Desktop Protocol (RDP) session.
The following two options for using Hyper-V USB passthrough require the installation of certain software; namely, the installation of network or software solutions for USB drives.
What do you need to use Hyper-V USB passthrough
The following are the prerequisites for implementing Hyper-V USB:
- Be sure to enable the advanced session mode policy and advanced session mode settings. Therefore, the VM should be a second-generation model, since the advanced session mode is supported only on second-generation virtual machines.
- Supported operating systems on the computer include Windows 8.1, Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows Server 2012, Windows 8.
- The virtual machine must be running Windows Server 2016, Windows Server 2012 R2, Windows 8.1, or Windows 10.
- On the VM, Remote Desktop Services must be activated.
About host-level Hyper-V USB passthrough
This process is not as simple as in VMware, so you have to work at it a little.
In general, it’s better, of course, to use a USB flash drive only just for a one-time file transfer.
Insert your USB drive into the Hyper-V server. Thus, the host operating system recognizes this USB drive as available storage. However, the whole problem is that only a USB stick can have direct access to only one OS. In this case, you just have to disconnect the USB drive so that it becomes inaccessible to the operating system.
This can be done using the DISKMGMT.MSC command on the server command line. In the new window, find your drive and right-click on it. Now activate the offline mode to take the USB drive offline.
After that, open Hyper-V Manager. Select your VM with the right mouse button and select the “Settings” tab. Next, click on the SCSI controller, and then on “Hard disk”. Click on the “Add” button and select “Physical Hard Disk”. From your list, select your USB drive.
After these steps, the USB device will become available for use in the virtual machine.
Hyper-V USB passthrough: two connection cases
- 1. The first option is to remotely connect to the desktop.
Download the VM and go to the “Control Panel”. Here, click on "System and Security" and then select "Allow Remote Access." In the next window, enable the “Allow remote connections to this computer” option and click “OK”.
Now turn on the RDP session and connect to the USB device.
Here, you will need the MSTSC.EXE command, which will open the Remote Desktop Connection window. In this window, in the "Show Settings" tab, select "Local Resources" and then the "Advanced" button. Check the box next to the “Plug and Play device” category and click OK. Next, click on the Connect button.
- 2. The second option is an advanced session mode.
If you have Windows 10 or Windows 8.1, then Hyper-V USB passthrough will be available by default. If you have Windows Server 2012 R2 or Windows Server 2016, you will have to configure it manually.
To do this, connect to the VM and start Hyper-V Manager. Next, right-click the hostname and select “Hyper-V Settings”. In the “Server” tab, click “Advanced Session Policy” and select the option "Allow advanced session mode". Then click “OK”.
After these steps, determine the local resources to which you want to connect (these can be local drives, printers, audio devices, and USB drives, etc.). As soon as you open your virtual machine, a configuration window will appear, where you will need to select “Show options”. Next, go to the “Local Resources” section and click on “Advanced”.
Also, check the box “Other supported devices Plug and Play (PnP)” and then click on “OK”.
RAID Recovery: the solution for the array safety
DiskInternals RAID Recovery can recover all possible data stored on damaged and inaccessible hard drives in RAID array. It also automatically checks the status of the array, after which, recovery of available files takes place. The application also offers a free preview of these files before you need to purchase a license.
To use the program, first, download and install it, and then open it on your computer.
If necessary, connect via SSH or proceed to the next step.
Open the disk with the left mouse.
After the scanning process, find the necessary files, then mount them.
Check the file's integrity.
To complete the process, buy a license on the site for this product and complete the export of data to any storage device.
If there is an issue with file recovery on Hyper-V, do not hesitate and communicate with DiskInternals support.
- VMware Horizon and its components
- Want to increase VirtualBox disk size? Here is a guide on how to do it safely!
- VMFS UNMAP: What is It?
- VMFS Recovery software as a solution for NFS data repair
- VMFS Recovery™ for VMware Data Recovery
- Restore a VMDK file
- Restore VMware VM with snapshot(delta.vmdk) files
- repair VMDK files in VMware | DiskInternals VMFS Recovery™
- Restore VMware virtual machine from VMDK file
- VMware vMotion storage: What do You Need to Know
- VMware vs Hyper-V Comparison
- VMFS Block Size: How to Choose
- What is the difference between VMware HA vs vMotion
- What is ESXi Recovery Mode
- How to Fix/Repair Corrupted VMDK Files Effortless
- VMware RAW Device Mapping and File Recovery
- Difference between ESX vs ESXi
- Thick vs Thin Provisioning: All You Wanted to Know
- How to Upgrade VMFS from 3 to 5th version
- Virtualization technology: what is it and how does it work?
- VMware vMotion: all you need to know
- What is VMware HA?
- VMware Fault Tolerance: what is it and how does it work?
- VMware: clone and data recovery
- What is VMware DRS?
- VMware vMotion requirements: for VMs and for hosts
- VMware vMotion vs storage vMotion: all you wanted to know
- VMware FT vs VMware HA: what the difference?
- VMware Workstation and Its Uses
- ESX Partitions: All You Wanted to Know
- What is Space Reclamation and How to Perform It
- What is VMware vSphere
- VMkernel and Its Interactions with Storage
- VMware Infrastructure: What Components are Used
- What is VMware vCenter Server and How Does It Works
- How to Manage VMware ESXi
- Virtualization: How Does It Work?
- VMkernel Ports and Networking Layers
- VMware Cold and Hot Migration: What Is It
- What is Virtual Desktop Infrastructure(VDI)?
- The importance of snapshots in VMWare
- What is vVol and How Does That Work
- What is a VM Cluster and How to Create It
- What is VM Host Server
- Find Your Reason for a Virtual Machine Usage
- Mounting Hard Drives (vmdk files) of a Virtual Machine Running on a ESX Server
- What is Thin Provisioning?
- iSCSI LUN and Data Recovery
- What is VMware vCloud Suite
- VMware Template vs VMware Clone: the differences and common
- VirtualBox: "No bootable medium found" issue
- VM: Hyper-V Integrated Services
- Hyper-V Checkpoint and Its Importance for VM
- Hyper-V Export VM: How Does It Work
- ESXi Free Limitations: Pros and Cons
- Convert VMware to Hyper-V Fast and Safe
- What is Hyper-V VDI and Its Benefits
- VMware: Workstation Pro vs Workstation Player
- Convert VHD to VMDK
- What is VMware vSphere and vCenter
- What is NVRAM? Are these files important?
- VMware vs VirtualBox: What Is The Difference
- VMware Content Library: What Is It and How Does It Work
- Recover Deleted VMDK from Datastore Today
- Is VMware virtual machine inaccessible? Fix it!
- Recover VM from flat VMDK - The Best Solutions
- Mounting Server Disks
- What is VMware VDS and How It Works
- How to Use VirtualBox Correctly
- P2V vs VMware: What is Better for You?
- How to Install Kali Linux VMware
- How to install Kali Linux on VirtualBox
- VMware ESXi Root and Default Password
- What is VMware networking?
- VHDX Files and How to Mount Them on Windows
- What is Asynchronous Replication
- Disaster Recovery Checklist: You Need A Plan
- How to open VMDK files
- VMware EVC Mode
- Comparison VDI vs Citrix
- VMware NFS vs VMFS
- NSX-T and NSX-v
- AWS EBS Snapshots
- Hyper-V Nested Virtualization
- About VirtualBox full screen
- About VirtualBox network settings
- About VMware home lab
- Install VirtualBox Extension Pack
- Physical and virtual servers
- Hyper-V Virtual SAN
- VMware Player and VMware Workstation
- Thick and thin provisioning
- Install ESXi from a USB
- Steps to update VirtualBox
- Update ESXi
- ESXCLI commands
- Install Ubuntu on VirtualBox
- Remote control an Ubuntu
- Setting up VirtualBox
- About VMware Host Profile
- Create a Virtual Machine
- VMware vSphere 7
- About vSphere Web Client
- About VMware Data Protection
- About VMware vRealize Orchestrator
- The VM session was closed before any attempt to power it on: error code 0x80004005
- Virtual Desktop Infrastructure and VMware Horizon
- The comparison of Citrix and VMware
- 3-2-1 Backup Strategy for Data Safety
- Hyper-V Networking: How to Manage It
- VMware vSwitch
- VMware Network Adapter settings
- VMware snapshot best practices
- Hyper-V NIC Teaming
- VMware vSphere Replication
- Intel VT-x in BIOS: how to enable it?
- VMware Cloud Foundation
- How to use a shared folder properly: VirtualBox, VMware Workstation Player?
- Virtual Disk Service error occurs: your actions
- Result code: e_invalidarg (0x80070057) — how to deal with this error
- Fix: unable to finish connecting to Virtual Disk Service
- What should you do in case of ‘The hardware virtualization is enabled in the acceleration section’ issue?
- The best solutions for Virtual Machine in Windows 10