Copy and paste do not work when you connect to a Hyper-V virtual machine by using VMConnect Enhanced Session Mode

Applies to: Windows Server 2019, all versionsWindows Server 2016 DatacenterWindows Server 2016 Standard More

Symptoms


You cannot copy and paste files between a system that is running Virtual Machine Connection (VMConnect.exe) and a Hyper-V guest virtual machine when you use Enhanced Session Mode through Remote Desktop Protocol (RDP).

Cause


Enhanced Session Mode enables the transfer of files to and from virtual machines through the Clipboard copy and paste operations. However, if the Do not allow drive redirection policy option is enabled, copying and pasting files through the Clipboard is disabled.

Resolution


To be able to successfully copy files to and from Hyper-V virtual machines when you use VMConnect through Enhanced Session Mode, make sure that the following policy is not enabled:

Policy path:

Computer Configuration\Policies\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Device and Resource Redirection

Note If you use the Local Group Policy Editor, the Policies folder is not part of the node path.

Policy setting:

Do not allow drive redirection

This setting must be set to “Disabled” or “Not Configured” to allow file copy redirection in Remote Desktop Services and Hyper-V Enhanced Session Mode sessions.