Scott's Weblog The weblog of an IT pro specializing in virtualization, networking, open source, and cloud computing

Disabling RDP Clipboard Redirection

In the event you need to disable clipboard redirection and can’t (or don’t want to) use Group Policy within Active Directory, there are settings you can add to the default .RDP file for the Remote Desktop Connection client software that will prevent clipboard redirection.

In my particular case, I was working on a VDI project and we wanted to be sure that the connection broker (Leostream) disabled clipboard redirection for all hosted desktops. The broker already supplied some basic settings for the RDP connections, but disabling clipboard redirection wasn’t there. Fortunately, I found a site that had a listing of RDP file parameters (not from Microsoft, surprisingly!). The listing isn’t annotated with explanations of each setting, but they are—for the most part—pretty self-explanatory.

To disable clipboard redirection, add the following to the .RDP file:

redirectclipboard:i:0

For the ActiveX RDP control, you would use this text:

MsRdpClient.AdvancedSettings2.RedirectClipboard = FALSE

I guessed on the ActiveX control configuration, but it worked. I haven’t found that information documented anywhere just yet.

There are also Registry changes that can be made on the client to disable clipboard redirection (see here). And, as I mentioned at the beginning of this post, you can also use Group Policy.

Be social and share this post!