Issue
Users may be unable to copy and paste content between their local machine and an RDP session. This issue may occur when accessing servers through PAM or directly using Remote Desktop Connection.
Cause
-
The Group Policy setting Do not allow Clipboard redirection is enabled on the target server.
-
The “rdpclip.exe” process is not running or has become unresponsive on the target server.
-
Clipboard redirection is not enabled in the RDP connection settings on the local machine.
-
Antivirus or endpoint security software is blocking clipboard redirection.
-
The registry value “fDisableClip” is set to “1”, disabling clipboard redirection.
Resolution
Step 1: Check Group Policy on the Target Server
-
Press “windows+R”, type “gpedit.msc”, and press Enter.
-
Navigate to Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Device and Resource Redirection.
-
Locate Do not allow Clipboard redirection and set it to Disabled.
-
Open Command Prompt as Administrator and run: “gpupdate / force”.
-
Reconnect to the RDP session and test copy-paste functionality.
Step 2: Restart the “rdpclip.exe” Process
-
Open Task Manager (Cntrl+Shift+Esc) within the RDP session.
-
Go to the Details tab and locate “rdpclip.exe”.
-
Right-click the process and select End task.
-
In Task Manager, select File → Run new task.
-
Enter “rdpclip.exe” and press Enter.
-
Test copy-paste functionality.
Step 3: Verify RDP Connection Settings on the Local Machine
-
Open Remote Desktop Connection (mstsc) on the local machine.
-
Click Show Options and navigate to the Local Resources tab.
-
Under Local devices and resources, ensure that Clipboard is selected.
-
Reconnect to the RDP session and test copy-paste functionality.
Step 4: Check Registry Settings on the Target Server
If the issue persists, verify the clipboard redirection registry setting:
-
Open Registry Editor (regedit) on the target server.
-
Navigate to the following registry path: “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Winstations\RDP-Tcp”
-
Locate the “fDisableClip” registry value and set it to “0”.
-
Run the following command in Command Prompt as Administrator: “gpupdate / force”
-
Reconnect to the RDP session and test copy-paste functionality.