Want to disable RDP copy and paste on Win 10
“I’m looking for a way how to disable copy & paste functions for files transfer from local PC (Win10) to remote PC over RDP so that when someone is on there he or she can’t accidentally or purposely bring anything from local machine to the remote machine.”
How to disable copy and paste in Remote Desktop on Win 10
To disable the copy and paste function in RDP on Win 10 for the security of important data or files, enabling policies and killing the rdpclip.exe in Task Manager seem more accessible. In the following part, the detailed steps are illustrated for you.
Method 1. Turn off RDP copy and paste from Group Policy
We tend to enable some policies in Group Policy to disable the copy and paste function in this part.
Step 1. Press Win + R and enter “gpedit”, and then press “Enter” key to open Group Policy Editor.
Step 2. Navigation:
Computer Configuration – Administrative Templates – Windows Components – Remote Desktop services – Remote Desktop Host – Devices and Resources Redirection
Step 3. Double-click on “Do not allow Clipboard redirection” and then choose “Enabled”. Then click on “OK”.
Step 4. Then enable the following policies according to the above way.
- Do not allow drive redirection Enabled
- Do not allow COM port redirection Enabled
- Do not allow LPT port redirection Enabled
Method 2. Kill rdpclip.exe process
After trying the above solution, if the copy and paste function is still workable, you need to kill the rdpclip.exe process in the remote session to disable clipboard redirection.
Step 1. Press Win + R and type taskmgr.exe, and then hit OK.
Step 2. Locate Details, scroll down and find rdpclip.exe, double-click on it and choose “End task”.
Note: To kill rdpclip.exe, you can also run the command line in CMD.
Step 1. Search CMD in the search box, choose "Run as administrator" and open it.
Step 2 . Copy the following command line and then paste on the Command line and then press "Enter" key.
taskkill /f /im rdpclip.exe /fi "username eq %USERNAME%" && rdpclip
Generally, you can easily disable the copy and paste function of the RDP feature on Win 10 by the above two ways, like enabling the policies and ending the task rdpclip.exe.
However, it seems too troublesome if you want to recover the function to enable copy and paste to Remote Desktop session next time. Repeated changes not only waste valuable time but also make the users feel annoyed.