Possible Duplicate:
when i use remote desktop i can't copy and paste in my remote desktop session

Recently I have been working with Remote Desktop. I use it to access a virtual machine implemented through Hyper-V.

I have had many problems with the simple operation of cut-and-paste from my machine to the virtual one. The link between my clipboard and the remote clipboard is often broken. It is usual that this happens, when I copy/cut in the remote machine and then copy in my computer and then paste in the remote machine,

How to fix this?

(this is an auto-answering question, it is known that this can be done)

link|improve this question
1  
"it is known that this can be done" - still does not make it a programming question. – leppie Dec 1 '08 at 12:48
I have erased C# tag (this is because i work with visualstudio, and i thought would interest people developing with this tool) but it is about remote-desktops and problems you can have programming. in fact, SO has a remote-desktop tag and the questions are of this type. – netadictos Dec 1 '08 at 12:52
feedback

migrated from stackoverflow.com Dec 10 '10 at 5:23

This question came from our site for professional and enthusiast programmers.

closed as exact duplicate by studiohack Mar 2 at 18:15

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

3 Answers

I have learnt how to solve it from this article:

http://brennan.offwhite.net/blog/2007/01/18/fixing-copypaste-for-remote-desktop-sessions/

To make it short: You have to stop the application called rdpclip.exe in your remote machine. Then you go to Run, and write rdpclip.exe to restart this app. The link between the clipboards is recovered.

Reason: The clipboard implements what is called " clipboard viewer chain " and is application-controlled, that is to say, that every application that is added to this chain is responsible of passing on notification messages to the next viewer in the chain, there are apps that don't pass the messages and this causes the problem (in Vista is solved).

(there is a wider explanation here: http://blogs.msdn.com/ts/comments/1089729.aspx )

link|improve this answer
Under Windows 7 I have also experienced rdpclip.exe process just stopping right in the middle of copy/pasting data to/from my session. – glenneroo Jan 23 '11 at 20:37
feedback

I've had a similar problem where copy/paste stops working and I couldn't even copy & paste on my local machine while Remote Desktop (RDP) Sessions were running. If I shut down RDP sessions then copy/paste functionality returned so it definitely appeared linked to remote desktop connections.

I found I was still running RDP v5.1. I've now upgraded to RDP 6.0 from Microsoft download and it appears to have fixed the problem.

So have a try at upgrading RDP and it may resolve the problem for you as well.

link|improve this answer
could you supply the URL please? – netadictos Jun 17 '09 at 19:25
feedback

Huh, that's interesting. So when you're using remote desktop software, some apps just don't pass along the info, never knew that. Is this fairly common among applications or is it something that's relatively rare?

link|improve this answer
In theory and not for Vista or W7, every app that adds itself to the clipboard viewer chain, influences the others, so they have to pass the baton to the next. – netadictos Oct 13 '10 at 6:43
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.