Copy/paste over Remote Desktop

9 views (last 30 days)
Matt J
Matt J on 10 May 2023
Edited: Matt J on 16 May 2023
I often work on Matlab remotely using Windows' Remote Desktop. When doing so, I find that I can cut/copy items from Matlab's Current Folder window on the remote machine and paste it into Windows File Explorer on my local machine. However, I find that the reverse does not work. I cannot copy/paste clipboard content on my local machine into a remote Matlab. This behavior seems to be Matlab version independent.
Does anyone know why this is, and if there is a way to make the clipboard visibility bi-directional?

Answers (1)

Divyanshu
Divyanshu on 16 May 2023
"Rdpclip.exe" is the process responsible for operating the clipboard between your computer and the Remote Desktop machine. If the copy-pasting is not working between local-computer and remote host, then it can be due to malfunctioning of this process. Here are the steps you can try:
  • Open Task Manager on the remote machine.
  • Click the "Process" tab and locate the process “rdpclip.exe”.
  • Right click and select "End process" to kill this process.
  • Then start it again manually by Task Manager -> File -> Start new task -> rdpclip -> Enter.
  • If the above steps don’t solve the issue, then you can try other remote desktop software like TeamViewer, or AnyDesk.
  1 Comment
Matt J
Matt J on 16 May 2023
Edited: Matt J on 16 May 2023
Thanks @Divyanshu, but that did not change anything.
It seems unlikely to be a Windows issue, in any case. The only clipboard problem I am seeing is pasting into the Matlab Current Folder pane on the remote machine. I can still paste into the File Explorer just fine. I can also paste text from the local Matlab editor to the remote Matlab editor. So, I think whatever the problem is, it has to be specific to the Current Folder pane in the Matlab Desktop.

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!