There are two ways to add a USB flash drive to a free hyper v virtual machine

Mondo Technology Updated on 2024-02-07

Windows integrates Hyper-V, Hyper-V can install Linux, Windows and other virtual machines, which can basically meet the needs of work and experiments. However, many people report that Hyper-V is inconvenient to connect to a USB flash drive, so it is not very convenient to transfer sub-files.

There is a method on the Internet to add a disk in the virtual machine settings, first go to the disk manager of the physical machine to set the U disk offline, and then select the SCSI controller in the settings of the hyper-v virtual machine that needs to be added and then add the hard disk, and then select the physical disk in the settings of the newly added hard disk, this method is suitable for mobile hard disks, but the U disk cannot be set offline, and cannot be added to the virtual machine in this way.

Today, I will introduce how to use a USB flash drive in Hyper-V to facilitate file transfer.

1. Open the Hyper-V Manager, right-click the server name in the main interface and select "Hyper-V Settings". In the list of servers on the left, select Enhanced Session Mode Policy, and then select Allow Enhanced Session Mode.

2. After enabling the enhanced session mode, turn on the virtual machine, select the server in the user list on the left, right-click, and select the "Edit Session Settings" option.

3. Click the "Show Options" button in the pop-up virtual machine connection configuration window, then click "More" in the "Local Resources" tab to select the USB device you want to connect, and then click "Connect" to establish a Hyper-V USB connection, you can easily transfer files.

As described above, if you add a USB flash drive to a Hyper-V VM when connecting to a virtual machine, you can also directly set up a shared USB flash drive and then access shared resources in a virtual machine.

Here's how:

1. Connect the USB flash drive to the computer, right-click on the USB flash drive, and then select"Properties.

2. In the pop-up properties window, switch to the Share tab. If you need a username and password to access, you can add the corresponding user.

3. If you need password-free access, enter the advanced sharing window, tick the "Share this folder" option, and then set full control permissions for everyone users in the permissions.

4. Then the virtual machine can be accessed through network discovery or directly through the path.

The above introduces two ways to add USB flash drive to hyper-V virtual machine, both methods can transfer files between USB flash drive and virtual machine, and the specific method can be selected according to your own habits.

February** Dynamic Incentive Program

Related Pages