Remote Desktop copy/paste not working Windows Server 2016

Unable to Copy and Paste to and from remote desktop connection on some servers.

Unable to Copy and Paste to and from the remote desktop connections on some servers. None of the file types are working. I tried folder copy, text file copy, word, excel, .exe file copy. none of those work. Interestingly, copy-paste of text to and from works.

Client OS is Windows 10.
Remote Desktop Server OS is Windows server 2016.

Troubleshooting did so far:
1] Killed rdpclip.exe and tested. No luck
2] Rebooted the server and the client. No luck
3] Added rdpclip.exe to exclusions in Antivirus. No luck
4] Removed Antivirus and tested. No luck.
5] Tried local login to the remote desktop server instead of domain login. No luck
6] Verified in the group policy and made sure Do not allow Clipboard redirection and
Do not allow drive redirection are set to not configured.
7] Replaced the rdpclip.exe from a working server. No luck.
8] Compared local security policies [secpol.msc] with a working server and replicated the same settings on the non-working server. Rebooted after that. No luck.
9] Tried disabling all the Group Policies that are pushed through Domain Controller. No luck.

Any suggestions as to what more we can do to identify and fix the issue?



remote-desktop-servicesremote-desktop-client

Comment

Comment · Show 2

Comment

5 |1600 characters needed characters left characters exceeded

  • Visible to all users
  • Visible to the original poster & Microsoft
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments [including images] can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jingruihan-MSFT · Jun 07, 2021 at 05:12 AM

Hi, is everything ok?

0 Votes 0 ·

SamChaney-4012 · Nov 10, 2021 at 09:55 PM

Akshay, did you ever get this resolved?

0 Votes 0 ·

Jingruihan-MSFT answered May 24, '21 | XiaoWu-9986 commented Feb 7, '22

Hi, dear

It's highly recommended you use Drive Redirection through Remote Desktop Services if you want to transfer files.

Firstly, run command with Mstsc.exe. When the Remote Desktop Connection window appears, click the Show Options button at the bottom left of the window.
On the Local Resources tab of Remote Desktop Connection, you can specify which kinds of devices and resources that they want to redirect to the remote computer. Now that drives on the local computer can be redirected in the session so that files can easily be transferred between the local computer and the remote computer.


In the meanwhile, you can edit client drive redirection by configuring a Microsoft Remote Desktop Services group policy setting for remote desktops and RDS hosts.
Run command with gpedit.msc. In the Group Policy Editor, go to Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection.

Secondly, you should check the rdpclip.exe on your remote computer with Task Manager to see if it is processing well. Cause Remote Desktop Clipboard is a Windows utility that allows users to manage a shared clipboard between a local host and remote desktop. This application runs on the remote PC and not on your local host.

Run command with taskmgr.exe - Go to the Processes Tab - Select rdpclip.exe - Click End task


Go to the File tab - Click Run new task - Type rdpclip.exe - Click Ok

If the Answer is helpful, please click "Accept Answer" and upvote it.

Best Regards




image.png [70.0 KiB]

image.png [19.7 KiB]

image.png [15.2 KiB]

image.png [18.8 KiB]

Comment

Comment · Show 2

Comment

5 |1600 characters needed characters left characters exceeded

  • Visible to all users
  • Visible to the original poster & Microsoft
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments [including images] can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

IbrahimSadeck-0385 · Sep 15, 2021 at 05:52 AM

restarting rdpclip.exe on the remote server solved my issue

0 Votes 0 ·

XiaoWu-9986 IbrahimSadeck-0385 · Feb 07 at 10:57 PM

I ran into the same issue. In Remote Desktop Connection/Show Options/Local Resources tab, uncheck Clipboard; check Clipboard, and re-connect helped resolving the issue.

0 Votes 0 ·

Jingruihan-MSFT answered Jun 2, '21

Hi,

Haven't received your message in a few days, was your issue resolved?

I am proposing previous helpful replies as "Answered". Please feel free to try it and let me know the result. If the reply is helpful, please remember to mark it as an answer which can help other community members who have the same questions and find the helpful reply quickly.

Best Regards.

Comment

Comment Show 0

Comment

5 |1600 characters needed characters left characters exceeded

  • Visible to all users
  • Visible to the original poster & Microsoft
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments [including images] can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BrianW-4025 answered Nov 18, '21

Same problem, Windows 10 client and server is Windows 2019. None of the client or server side methods above solve the problem to reset it.

What causes it to stop working is when I copy a large amount of text across the RDP connection, ie 500-1000+ rows [exact number not yet determined]. The clipboard stills functions on client/server independently but no longer across the connection.

Comment

Comment Show 0

Comment

5 |1600 characters needed characters left characters exceeded

  • Visible to all users
  • Visible to the original poster & Microsoft
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments [including images] can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

64193216 answered Dec 13, '21 | con7ept-3351 commented 52 minutes ago

Anyone got a resolution to this?

I've got the exact same problem as Akshay, tried the same things to no avail.
Can even copy text to / from the server but no files.

For reference this issue is only happening on my session hosts - other RDS server that has connection broker / session host on it doesn't have this issue.
Issue persists when connecting to the problem session host via connection broker and directly with 'mstsc.exe /admin'.

Further investigation appreciated @Jingruihan-MSFT

Comment

Comment · Show 1

Comment

5 |1600 characters needed characters left characters exceeded

  • Visible to all users
  • Visible to the original poster & Microsoft
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments [including images] can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

con7ept-3351 · 52 minutes ago

Did you make any headway on this? I believe our symptoms are the same on Windows 10 Multisession 20H2 session host.

0 Votes 0 ·

rsn71-3944 answered Feb 11, '22

I am having this issue and have tried everything in this post - the RDC already had Clipboard checked. I have rebooted the server, the laptop that I am using RDP on. Still unable to copy and p paste from the Event Viewer. I can't even copy and paste to Notepad on the same server with NO RDP.

This is ridiculous - with a Mac you can copy and past from any dialog box that pops up. Why on earth desert Microsoft allow this on all their products and OS? Makes life so much easier and saves a ton of time for the administrator.

Microsoft needs to think about how their customer use the event viewer log.

Comment

Comment Show 0

Comment

5 |1600 characters needed characters left characters exceeded

  • Visible to all users
  • Visible to the original poster & Microsoft
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments [including images] can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Copy/Paste issue of files Win 2016 standard

Hello

I have an issue with Remote Desktop to Win 2016 standard server.

When i login to this server, i can copy/paste text from my laptop to the server and other way round but i can't copy/paste files either way.

When i connect to this remote server from another server in the same subnet, i can copy and paste files. I am sure our physical firewall is not blocking in such way.

I have not installed RDS in this server, just enable Remote desktop from Server manager page and gave access to few users in domain

remote-desktop-services

Comment

Comment Show 0

Comment

5 |1600 characters needed characters left characters exceeded

  • Visible to all users
  • Visible to the original poster & Microsoft
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments [including images] can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JennyYan-MSFT answered Jul 24, '20 | JennyYan-MSFT commented Jul 28, '20

Hi,
1. How did you start the remote connection to the remote server? If via mstsc, kindly check if you have checked the boxes of Cilpboard and Drives under Local Resource.




2.If you already chosen the options as above, kindly go to task manager and restart the rdpclip.exeprocess on local and remote machines.


3.Kindly confirm if there is any error message when you failed to copy/paste from remote computer to local machines.

Hope this would be helpful.

Thanks,
Jenny




image.png [50.4 KiB]

Comment

Comment · Show 3

Comment

5 |1600 characters needed characters left characters exceeded

  • Visible to all users
  • Visible to the original poster & Microsoft
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments [including images] can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RohitSharma-8475 · Jul 24, 2020 at 04:32 AM

Yes, i selected "Drives" when i start the RDP session
I tried restarting rdpclip process also but no help

There is no error message, i copy some content from this remote machine x, then when i try to paste on my laptop the "paste" is greyed out.

  1. The copy of some text on remote machine to local laptop works so i dont think it is related to clipboard.

  2. When i jump from this remote machine x to another server y on the same subnet then copy/paste of files work between x and y

  3. If i remote directly to remote machine y then copy paste to laptop works fine which is expected behavior.


0 Votes 0 ·

RohitSharma-8475 RohitSharma-8475 · Jul 27, 2020 at 11:03 PM

I was able to solve it.

I marked the Drive redirection as "Disabled" in GPO, somehow "Not Configured" was creating issue
Did gpupdate
Connected back again and file copy/paste works

0 Votes 0 ·

JennyYan-MSFT · Jul 28, 2020 at 01:47 AM

Hi,
Thanks for your update and glad to hear that you figured out the issue.

Please feel free to reach us if more assistance needed in future.

Thanks,
Jenny

0 Votes 0 ·

AccountsPayable-4852 answered Jan 28, '22

Thanks @ RohitSharma-8475 for sharing your solution. I to faced this issue, your problem exactly matched what I experienced on my network and your solution allowed me to get it resolved.

My properties were set to "Not Configured", which should have allowed file copy/paste to work properly. Once I set them to "Disabled" and ran gpupdate, file copy/paste began to work again.

Thanks again.

Comment

Comment Show 0

Comment

5 |1600 characters needed characters left characters exceeded

  • Visible to all users
  • Visible to the original poster & Microsoft
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments [including images] can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RDP Clipboard [Rdpclip.exe] Stops Working in Remote Desktop Session

If the clipboard in RDP session has stopped working unexpectedly, and Paste option in the context menu has become inactive, it is easier to end the current RDP session correctly [logoff] and re-connect. This will fix the Remote Desktop clipboard issue for sure. However, it is not always convenient, because you have to re-open all apps in your RDP session again. Fortunately, there is a way to restore correct clipboard operation in a RDP session without logging off.

Rdpclip.exe is responsible for clipboard operation between your local computer and the Remote Desktop host. A separate rdpclip.exe process is started for each remote user session when they connect to the Remote Desktop. Using the Task Manager, you can kill the rdpclip.exe [RDP Clipboard Monitor] process and run it manually [Task Manager -> File -> Start new task -> rdpclip -> Enter].

Usually it helps to restore the remote clipboard operation quickly. Make sure if copy/paste [Ctrl+C / Ctrl+V] is working in the RDP session.

Users can restart the rdpclip.exe process if it has hung up using a simple PowerShell script. It is enough to place the PS1 file on the Public profile Desktop folder or copy it to user desktops using GPO.

[Get-WmiObject -Query "select * from Win32_Process where name='RDPClip.exe'"|?{$_.GetOwner[].User -eq $ENV:USERNAME}].Terminate[]
rdpclip.exe

To make it more convenient to use, you can sign the PowerShell script or configure a PowerShell Execution Policy.

Remember that in order to copy data via the RDP clipboard, the following conditions must be met:

  1. The remote clipboard must be enabled in the settings of the RDP client you are using to connect to a remote computer. Check Clipboard in the Choose the devices and resources that you want to use in your remote session section in the Local Resources tab of the built-in mstsc.execlient;

    If you are using an alternative RDP client, like the Remote Desktop Connection Manager [RDCMan] or mRemoteNG, note that the remote clipboard option may be called differently.

  2. Copying and pasting data using the clipboard must also be allowed on the RDP/RDS host [see below for how to do this].

Steps to Fix the error that cannot be copied and pasted into the Remote Desktop session

Some users have particular problems when copying and pasting files from the local computer into a Remote Desktop session. They can still copy paste locally, but the option to paste will be grayed out on the Remote Desktop computer.

  • Fix taskbar not hidden in Windows Remote Desktop session
  • How to increase the number of Remote Desktop connections

There are several ways to work around this depending on what you are copying and pasting.

Video liên quan

Chủ Đề