How to force enhanced session mode on Hyper V

hariton000 0 Reputation points
2023-05-12T20:35:38.69+00:00

Before posting, i read from learn.microsoft about Hyper-V, i have also read most of "Introduction to Hyper-V on Windows 10" pdf as well.

However i am missing something..

The thing goes like this:

I have a Win10 Pro desktop. and want to use Hyper-V to install linux OS.

From the Hyper-V Manager, under the Hyper-V settings, the enhanced session mode and the enhanced session policy are activated.

Moreover, the remote desktop is also enabled.

As far as i know the prerequisites from the Microsoft/Hyper-V side are all checked.

However this is not the case as in the VM (when the linux OS is already installed and running) i cannot see the USB devices that are connected to the host (Mouse, keyboard and internet connection are working however).

In the begining i though it was the linux OS fault and thus i tried 3 different distributions (32 and 64 bit). the results however were the same, local resources could not be used.

I was running Hyper-V in basic mode.

On top of that, i noticed that in the VMconnect window (in all my tries) the enhanced session under the View tab was greyed out.

Thus now i'm thinking maybe the fault is on the Hyper V side.

Can anyone help me out please.

Is there more information that i can give you so that you can help me out?

Thank you in advance!

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,536 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2023-05-12T20:50:31.21+00:00

    Something here could help. Maybe linux has some equivalent.

    https://www.altaro.com/hyper-v/hyper-v-usb/

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. hariton000 0 Reputation points
    2023-05-14T22:56:20.35+00:00

    So i have found a solution.

    Albeit someone showed me the solution in another forum.

    Specifically i wanted to use Hyper-V and not any other program.

    In short for this to work, VM tools should have been configured in the linux OS firstly.
    And then as i though, Enhanced Session Mode should have been forced, via powershell in the Win10 Pro OS.

    A detailed guide, that was showed to me from Debian forum, shows step by step how to do it:

    https://www.nakivo.com/blog/install-ubuntu-20-04-on-hyper-v-with-enhanced-session/

    0 comments No comments

  3. Dave Patrick 426.1K Reputation points MVP
    2023-05-14T23:10:54.0633333+00:00

    Sure, integration services is a prerequisite for any guest operating system. Windows 2008 and newer is a built-in component.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments