Share via

getting copy paste to work in hyper v, linux vm

chloe johnson 0 Reputation points
2026-01-23T15:32:08.8833333+00:00

hello, i am trying to copy paste between my host machine and a vm in in hyper v, its running debian, i have been trying to do this for a couple days now, and i cannot get it to work, i even tried rdp, and still no working, i think i have the options set in hyper v for enhanced session and all that, the two tick boxes documented everywhere, and i have clipboard checked in rdp, or is it rdc? anyways im using "remote desktop connection" and have clipboard checked. why no working? is this not possible in this confugration?

[Moved from Windows for home | Windows 10 | Accessibility]

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Harry Phan 15,915 Reputation points Independent Advisor
    2026-01-24T03:46:18.3166667+00:00

    Hello chloe johnson

    Copy/paste between a Windows host and a Linux guest in Hyper‑V is not supported the way it is with Windows VMs. Enhanced Session Mode in Hyper‑V relies on the integration components that Microsoft ships only for Windows guests. Debian and other Linux distributions do not have those integration services, so features like clipboard sharing, drive redirection, and direct copy/paste simply do not work. That is why even with the “Enhanced Session” boxes checked, you cannot get clipboard functionality inside your Debian VM.

    Using RDP is also not straightforward here. The built‑in “Remote Desktop Connection” client on Windows can redirect clipboard, but only if you are connecting to an RDP server inside the guest. Debian does not ship with an RDP server by default, so unless you install and configure something like xrdp inside Debian, the host’s RDC client has nothing to connect to. Even then, clipboard redirection works only within the RDP session, not through the Hyper‑V console window.

    If your goal is to move text or files between host and guest, the supported approaches are: set up a network share between host and VM, use SSH with scp/rsync, or install xrdp in Debian and connect via Remote Desktop with clipboard enabled. Hyper‑V itself will not provide native clipboard integration for Linux guests.

    I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!

    Harry.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.