[GH-ISSUE #189] Support remote copy/paste #162

Closed
opened 2026-02-26 11:56:59 +03:00 by kerem · 5 comments
Owner

Originally created by @stevelongRBC on GitHub (Jan 24, 2022).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/189

Originally assigned to: @VShawn on GitHub.

I was considering switching from mRemoteNG to PRemoteM. However, in my first session using RDP I found that I could not copy text from my local PC and paste it on the remote PC.

Originally created by @stevelongRBC on GitHub (Jan 24, 2022). Original GitHub issue: https://github.com/1Remote/1Remote/issues/189 Originally assigned to: @VShawn on GitHub. I was considering switching from mRemoteNG to PRemoteM. However, in my first session using RDP I found that I could not copy text from my local PC and paste it on the remote PC.
kerem 2026-02-26 11:56:59 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@VShawn commented on GitHub (Jan 25, 2022):

Hi

Did your copy/paste works with MSTSC.exe? if MSTSC.exe works, then PRemoteM's copy/paste would works. (PRemoteM's RDP calling the wrapper of mstsc.exe). As far as I know the copy/paste service of server side may die sometime(my Win2016), I have to reboot the server to bring it to life.

if MSTSC.exe works and PRemoteM not, you can contact me by Email for further diagnose.

<!-- gh-comment-id:1020713768 --> @VShawn commented on GitHub (Jan 25, 2022): Hi Did your copy/paste works with MSTSC.exe? if MSTSC.exe works, then PRemoteM's copy/paste would works. (PRemoteM's RDP calling the wrapper of mstsc.exe). As far as I know the copy/paste service of server side may die sometime(my Win2016), I have to reboot the server to bring it to life. if MSTSC.exe works and PRemoteM not, you can contact me by Email for further diagnose.
Author
Owner

@majkinetor commented on GitHub (Jan 25, 2022):

Do you have this setting on:

image

If so, this happened to me on one server and restarting it (or remote desktop service) resolved it.

<!-- gh-comment-id:1021025639 --> @majkinetor commented on GitHub (Jan 25, 2022): Do you have this setting on: ![image](https://user-images.githubusercontent.com/85767/150957712-7e60484f-1605-43cf-acad-aca950cc3b31.png) If so, this happened to me on one server and restarting it (or remote desktop service) resolved it.
Author
Owner

@stevelongRBC commented on GitHub (Jan 25, 2022):

That was the issue. I had imported my connection list from mRemoteNG csv and didn’t realize that there were separate settings for these features. mRemoteNG has settings for the other resources, but I don’t see a setting for clipboard, so I guess that software enables clipboard by default maybe. Anyway, once I checked the Clipboard box, it worked. I will keep giving PRemoteM a try!

Thanks!

<!-- gh-comment-id:1021425692 --> @stevelongRBC commented on GitHub (Jan 25, 2022): That was the issue. I had imported my connection list from mRemoteNG csv and didn’t realize that there were separate settings for these features. mRemoteNG has settings for the other resources, but I don’t see a setting for clipboard, so I guess that software enables clipboard by default maybe. Anyway, once I checked the Clipboard box, it worked. I will keep giving PRemoteM a try! Thanks!
Author
Owner

@majkinetor commented on GitHub (Jan 25, 2022):

Note that you can select all connections, go to Edit and bulk set this option for all of them in case you have lots of them.

<!-- gh-comment-id:1021572804 --> @majkinetor commented on GitHub (Jan 25, 2022): Note that you can select all connections, go to Edit and bulk set this option for all of them in case you have lots of them.
Author
Owner

@VShawn commented on GitHub (Jan 26, 2022):

Wait a minute, I remember that the import function should have the clipboard checked by default.

                            EnableClipboard = string.Equals(item.RedirectClipboard, "TRUE", StringComparison.CurrentCultureIgnoreCase),

EnableClipboard will be enabled if the field "RedirectClipboard" from mRemoteNG is TRUE.

github.com/VShawn/PRemoteM@4c28cd0444/PRM.Core/Utils/mRemoteNG/mRemoteNGImporter.cs (L307-L309)

<!-- gh-comment-id:1021753268 --> @VShawn commented on GitHub (Jan 26, 2022): Wait a minute, I remember that the import function should have the clipboard checked by default. ``` EnableClipboard = string.Equals(item.RedirectClipboard, "TRUE", StringComparison.CurrentCultureIgnoreCase), ``` EnableClipboard will be enabled if the field "RedirectClipboard" from mRemoteNG is TRUE. https://github.com/VShawn/PRemoteM/blob/4c28cd0444b36707b92176ef4af31baf657ef64a/PRM.Core/Utils/mRemoteNG/mRemoteNGImporter.cs#L307-L309
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#162
No description provided.