You dont have javascript enabled! Please enable it!

Cannot copy files into VM with Allow Enhanced Session Mode in Hyper-V 2012 R2

2 Min. Read

Hello Folks,

I came across a weird issue today where I was not able to copy files into a guest VM 2012 R2 with Allow Enhanced Session Mode in Hyper-V 2012 R2.

The resolution is easy if you understand the underlying architecture behind Enhanced Session Mode.

Here is the definition:

Hyper-V uses the Virtual Machine Connection tool to connect to virtual machines by using RDP. Prior to Windows Server 2012 R2, the Virtual Machine Connection tool provided only basic redirection of the virtual machine screen, keyboard, and a mouse, such as a Keyboard Video Mouse switch over IP. The tool also provided limited Copy and Paste functionality, which was limited to text and did not support any other content such as graphics or files.

In Windows Server 2012 R2, you still use the same method to connect to virtual machines, but Hyper-V also supports enhanced session mode. Enhanced session mode utilizes the Remote Desktop Services component in virtual machines, and establishes full Remote Desktop sessions over VMBus. This means that even if the virtual machine has no network connectivity (and there is network connectivity to the Hyper-V host on which the virtual machine is running), you can connect to the virtual machine by using the Virtual Machine Connection tool using enhanced session mode.

For additional information, see Virtual Machine Connection – Enhanced Session Mode Overview.

The first is as follows:

Let’s check the Hyper-V Server settings – Enhanced Session Mode Policy:

Enhanced Session Mode Policy











Great, it’s enabled

Let’s check the VM settings under Integration Services – Guest Services:

Guest Services











Again, it’s enabled, mmmm… :(

The second resolution is as follows:

Since the Enhanced session mode utilizes the Remote Desktop Services component in virtual machines, let’s check the Remote Desktop Services service inside the virtual machine.

Open Services:











As you can see the Remote Desktop Services service is not started…

Let’s turn it on…

net startTermService

Here you go, the Virtual Machine disconnects and reconnects again using RDP over VMBus.

I was able to start copying files to simply drag and drop them to the virtual machine, even if the virtual machine does not have network connectivity :)

Enhanced session mode and full Remote Desktop are available even when virtual machines are running on Hyper-V on Server Core or Hyper-V Server 2012 R2.

Hope this will help someone facing a similar issue.

Enjoy the day!


Photo of author
About the Author
Charbel Nemnom
Charbel Nemnom is a Senior Cloud Architect, Swiss Certified ICT Security Expert, Certified Cloud Security Professional (CCSP), Certified Information Security Manager (CISM), Microsoft Most Valuable Professional (MVP), and Microsoft Certified Trainer (MCT). He has over 20 years of broad IT experience serving on and guiding technical teams to optimize the performance of mission-critical enterprise systems with extensive practical knowledge of complex systems build, network design, business continuity, and cloud security.

Related Posts


Simultaneous Shared-Nothing Live Migration with PowerShell

MeasureVM Error when using pass-through disks


Let me know what you think, or ask a question...

error: Alert: The content of this website is copyrighted from being plagiarized! You can copy from the \'Code Blocks\' in \'Black\' by selecting the Code. Thank You!