Can't copy and paste in Remote Desktop Connection session

361,329

Solution 1

Assuming you're talking about Windows Remote Desktop Connection — before you hit Connect, click Options to expand the RDP connection window.

  • Click the Local Resources tab. Under Local devices and resources, click More.

  • In the new window, click Drives. Click OK to close.

  • Go back to General tab and click Save to save the settings for next time.

Barring any weird settings on the server side, you should be good to go.

Screenshot of invoking the options in the connection dialog for Remote Desktop Connection

Solution 2

Even when you have the "Clipboard" option enabled, you may still have problems!

If that's the case, use Task Manager to kill and restart the rdpclip.exe process on local and remote machines.

More details on this blog post

The only way I really knew to fix the clipboard transfer was to close my session and restart it. That meant closing the tools I was using like Visual Studio, Management Studio and the other ancillary processes I have running as I work and then restarting all of it just to restore the clipboard. But today I found a good link on the Terminal Services Blog explaining that what is really happening. The clipboard viewer chain is somehow becoming unresponsive on the local or remote system and events on the clipboards are not being relayed between systems. It is not necessarily a lock being put in place but some sort of failed data transmission. It then goes on to explain the 2 steps you can take to restore the clipboard without restarting your session.

Use Task Manager to kill the rdpclip.exe process
Run rdpclip.exe to restart it

… and a pretty ridculous "explanation" from Microsoft.

Summary

If you have a shared clipboard problem, see if the following troubleshooting guide helps:

+--------------------------+-------------------------+------------------------------+
| Symptom                  | Possible Cause          | Possible Solution            |
+--------------------------+-------------------------+------------------------------+
| Remote-to-local copy and | RDPCLIP is not in the   | Kill and restart RDPCLIP.    |
| paste broken.            | clipboard viewer chain. |                              |
+--------------------------+-------------------------+------------------------------+
| Local-to-remote copy and | TS client is not in the | Close the TS client and      |
| paste broken.            | clipboard viewer chain. | reconnect to the session.    |
+--------------------------+-------------------------+------------------------------+
| RDPCLIP or the TS client | There is a loop in the  | Kill and restart RDPCLIP.    |
| is using excessive CPU.  | local or remote         | If this does not fix the     |
|                          | clipboard viewer chain. | problem, close the TS client |
|                          |                         | and reconnect to the session.|
+--------------------------+-------------------------+------------------------------+

Solution 3

I struggled with this one... until I realized rdpclip.exe was a program running on the RDP session machine and not my local machine.

Once on the right machine, killing and restarting fixed it for me.

Solution 4

Note that if you're copy-pasting files, drag and drop might not work, you need to use Ctrl+C / Ctrl+V.

Solution 5

if you are SuperUser (Adminisitrator) on the Remote Computer do the followings;

  1. Click Start
  2. Administrative Tools
  3. Terminal Services
  4. Terminal Services Configuration
  5. Double click RDP-Tcp connection under Connections
  6. Click Client Settings
  7. Uncheck Clipboard under Redirection (if it is checked that means it is disabled)

This may solve your problem which solved mine.

Share:
361,329

Related videos on Youtube

leora
Author by

leora

Updated on September 17, 2022

Comments

  • leora
    leora almost 2 years

    Is it possible to copy and paste inside a Remote Desktop Connection session?

    • Rosdi
      Rosdi about 9 years
      For future readers, if none of the answers below helps, you can always rely on SSH. What I did is I install Bitvise ssh server on my server and the Bitvise SSH client in my PC. Then voila I can copy-paste FILES from and to my server. Bitvise is only free for personal use though.
    • degenerate
      degenerate about 9 years
      @null that is not helpful if someone just needs RDP fixed. If the fix on this page doesn't help, you can kill/restart the rdpclip process: gfi.com/blog/…
  • huggie
    huggie over 14 years
    Pretty much follow the same steps as technie007 suggests, but also notes the clipboard option.
  • Shane
    Shane about 13 years
    I actually found restarting rdpclip.exe on both the client machine and the remote machine worked, the accepted answer didn't help me. Up voting your answer.
  • Isaac
    Isaac over 11 years
    This solution solved my problem but I don't like it. I don't want to give the remote computer (read/write) access to the whole drive(s).
  • Seany84
    Seany84 almost 11 years
    Up until now, I have tried everything but this. This worked for me. Client: Windows 7 Ultimate x64. Server: Windows Server 2012 x64. Thanks
  • ocean4dream
    ocean4dream almost 10 years
    This worked for me. RDP from Win 7 Professional x64 machine to Win 7 Enterprise x64 VM
  • Hackerman
    Hackerman about 9 years
    This solved my problem...exact same problem....i kill the process and start the process again with administrative privileges and it works like a charm.
  • brianestey
    brianestey about 9 years
    Worked in Win8.1 to Win8.1. Thanks!
  • degenerate
    degenerate about 9 years
    If you try this and it still doesn't work, you might need to kill and restart the rdpclip process. See here: gfi.com/blog/…
  • Pacerier
    Pacerier almost 9 years
    @degenerate, Weird, I don't see a rdpclip process anywhere on the client. Which Windows are you using?
  • Pacerier
    Pacerier almost 9 years
    @Roddy, Weird, I don't see a rdpclip process anywhere on the client. Which Windows are you using?
  • Pacerier
    Pacerier almost 9 years
    How to enable drag-and-drop too?
  • degenerate
    degenerate almost 9 years
    @Pacerier Win7 x64 SP1
  • Marcello Grechi Lins
    Marcello Grechi Lins over 8 years
    For those willing to try it out: Open CMD as Administrator and run: taskkill /IM rdpclip.exe /F (wait for the saying that it was terminated). Hit Windows + R (run window) and type : rdpclip.exe Done ;)
  • Daryl Bennett
    Daryl Bennett over 8 years
    This is the right answer. I had the luxury of just restarting the server, and that fixed it also.
  • Nabi K.A.Z.
    Nabi K.A.Z. over 8 years
    dont work, this is good solution: superuser.com/a/118675/199176
  • ABcDexter
    ABcDexter almost 8 years
    What if Ctrl+C / Ctrl+V doesn't work either ?
  • TheByeByeMan
    TheByeByeMan almost 8 years
    This should be the accepted answer
  • ashen
    ashen over 7 years
    not work for me. I disabled the Clipboard option and it suddenly worked. There must be something wrong on my local machine.
  • ysap
    ysap almost 7 years
    @ABcDexter - see Ruddy's answer.
  • ysap
    ysap almost 7 years
    This answer worked for me. What I am not sure I understand is - I killed the process remotely. I expected the connection to terminate immediately, possibly having to reach the remote machine to start RDP server there, but it did not. Any idea why? Is the clipboard a completely unrelated process on the remote machine?
  • Niklas
    Niklas almost 7 years
    So my problem was because i was on windows 10 and i used the "History" result-ish kind of suggestion underneath the "remote desktop connection" when i searched "Remote" in start menu search, seems like it uses different settings when doing that rather than opening the remote connection manually... so thats why i didnt get the copy to work, because apparently when you do that its using different connection properties . ..
  • ChrisWue
    ChrisWue about 6 years
    Yes the "new" Remote Desktop app is a "trusted windows store app". Skype ships in both versions as well. Generally one should avoid the store version apps like the plague because they are useless (i.e important functionality has been cut out).
  • Whelkaholism
    Whelkaholism almost 6 years
    rdpclip was not even running on my remote machine, so simply running it made everythign start working.
  • phuclv
    phuclv over 4 years
    @Isaac then just create a new virtual drive. Windows already has the ability to mount VHD files for a long time
  • neves
    neves about 4 years
    I just discovered that the security department disabled it, forcing me to pass through a thid party service.
  • pgr
    pgr about 2 years
    I don't see how this answer fits the question. The question is about copy-paste (in general), the answer is about copying and moving files through clipboard in explorer...