How to Enable or Disable Copy-Paste (Clipboard Redirection) Using Group Policy in Windows Server

How to Enable or Disable Copy-Paste (Clipboard Redirection) Using Group Policy in Windows Server

Purpose

This guide explains how to enable or disable copy-paste functionality between a local computer and a Remote Desktop session by configuring Group Policy settings.


Info
Enable Copy-Paste (Clipboard Redirection)

Step 1: Open Group Policy Editor

  1. Log in to the server.
  2. Press Windows + R.
  3. Type gpedit.msc and click OK.

    Info
    Step 2: Navigate to the Policy Location

    Go to the following path:

    Computer Configuration
    → Administrative Templates
    → Windows Components
    → Remote Desktop Services
    → Remote Desktop Session Host
    → Device and Resource Redirection

Info
Step 3: Modify the Clipboard Redirection Policy

  1. Locate Do not allow Clipboard redirection.
  2. Double-click the policy.

To Enable Copy-Paste:

  • Select Disabled or Not Configured.
  • Click Apply and then OK.

To Disable Copy-Paste:

  • Select Enabled.
  • Click Apply and then OK.

    Info
    Step 4: Update Group Policy

    1. Open Command Prompt as Administrator.
    2. Run the following command:

      gpupdate /force
    3. Wait for the policy update to complete.

      Info
      Step 5: Reconnect the Remote Session

      1. Log off the Remote Desktop session.
      2. Reconnect to the server.
      3. Test copy-paste functionality.

      Verify RDP Client Settings

      On the Client Computer

      1. Open Remote Desktop Connection (mstsc).
      2. Click Show Options.
      3. Go to the Local Resources tab.
      4. Ensure the Clipboard checkbox is selected.
      5. Connect to the server.

      Notes
      Troubleshooting

      Restart Clipboard Process (rdpclip.exe)

      If copy-paste is still not working:

      1. Log in to the remote server.
      2. Open Task Manager.
      3. Go to the Details tab.
      4. Locate rdpclip.exe.
      5. If it is running:
        • Right-click rdpclip.exe and select End Task.
      6. Click File → Run new task.
      7. Type:

        rdpclip.exe
      8. Click OK.

      Verify the Policy Status

      1. Run:

        gpresult /r
      2. Confirm that the Do not allow Clipboard redirection policy is applied as expected.

      Summary

      RequirementPolicy Setting
      Enable Copy-PasteDisabled or Not Configured
      Disable Copy-PasteEnabled

      Policy Path:
      Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Device and Resource Redirection → Do not allow Clipboard redirection.

      Thank you for reading this article. I hope you found it helpful and learned how to enable or disable copy-paste functionality using Group Policy.