How to enable Hyper-V Enhanced Session Mode (Full Screen, Clipboard, Drive Access, etc)

Vikesh Yadav
3 min readApr 27, 2021

--

If you are a developer who is unable to enable Hyper-V VM in full-screen mode or else the clipboard is not working, this article is for you.

Picture A: A new VM named ubuntu-vm1 is created

Start the VM and click on connect, Enhanced Session Settings should pop up

Picture B: Enhanced Session Setting

This setting wizard gives you the following options :

  • Display (with resolution control [full screen])
  • Audio
  • USB devices
  • Plug-and-play devices
  • Smart card
  • Printers

If you are unable to see the Enhanced setting wizard, you need to install XRDP manually in your VM also you need to configure transport type in the host machine.

Follow the following steps to enable Enhanced Session Mode manually, for that On VM, open terminal and run following command to install XRDP manually

Picture C: install.sh has run successfully

Please follow the instructions carefully, you will need to run this script two times. Once the installation is successful, shut the VM down and follow the next step.

Now we need to set the Enhanced session transport type in the host machine, to set it run following command

set-vm -VMName ubuntu-vm1 -EnhancedSessionTransportType HvSocket

Picture D: Enable enhanced session transport type in the host machine

Once you are done with the above steps, simply restart the VM and you should see the Enhanced session mode pop-up to control your screen resolution, clipboard, etc

Restart VM and set the screen resolution to max and XRDP comes into action to make you feel as if you are working on the same machine.

Picture E: XRDP comes into action
Picture F: Fullscreen of VM and clipboard starts working.

Video tutorial of this article:

--

--

Vikesh Yadav
Vikesh Yadav

No responses yet