If you need to access USB in Hyper-V, you should read more about Enhanced session mode in Hyper-V.
Enhanced Session Mode connects VMConnect.exe with Hyper-V host’s VMBus component. For those unfamiliar with VMConnect.exe, it’s an application that creates a direct connection to the console of a (client computer’s) Hyper-V guest.
For example: when “Connect” is selected from a virtual machine’s (in Hyper-V) context menu, communication between the guest and host operational virtual environments are enabled.
Hence, VMConnect.exe utilizes numerous tech features within the Remote Desktop Client machine, adding efficiency and convenience.
Quite simply, Enhanced Session Mode elevates VMConnection.exe in such a way that it closely resembles a Remote Desktop Client session.
If you are a Linux user, you can find instructions on how to set up Enhanced Session on Linux in this guide.
If you want to enable a session enhanced by Hyper-V with the help of PowerShell, follow these steps:
Set-VM -VMName -EnhancedSessionTransportType HvSocket
Individuals with frequently used Client Hyper-V virtual machines will significantly benefit from Enhanced Session Mode.
In situations where a quick test is required, utilizing Enhanced Session Mode is not necessary.
But... When users spend extended periods of time viewing through the small window and walled garden, sessions can feel claustrophobic and limiting.
It would be easy to go on and on about the plethora of reasons why Enhanced Session Mode vastly improves the Client Hyper-V experience (like its development and testing environments, for example). However, these are things that users can come to learn at their leisure.
Instead, the following use cases create a clear and vibrant example regarding standard sessions vs enhanced sessions.
Review the two use case scenarios below to learn more about the benefits of Enhanced Session Mode.
If you use a network firewall on your VM or host machine, you must reset the firewall rules. This will ensure that the enhanced session mode is working correctly.
Let’s discuss some of the firewall things you can consider