Disabling RDP Clipboard Redirection11 October 2007 · Filed in Explanation
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:
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.Tags: Microsoft · VDI · VMware · Virtualization · Windows Previous Post: VM File-Level Recovery with NetApp Snapshots Next Post: The Story of a Swing