From 36b9d01917a631a42c80fee80e9eb2a8ebdd9c5d Mon Sep 17 00:00:00 2001 From: Bjarke Istrup Pedersen Date: Tue, 17 Mar 2020 09:43:29 +0100 Subject: [PATCH] Corrected how clipboard redirection is done Previously DisableRdpdr was used, which broke smartcard and sound redirection. By changing it to use AdvancedSettings6.RedirectClipboard, it works without breaking other stuff. --- CHANGELOG.md | 3 +++ mRemoteV1/Connection/Protocol/RDP/RdpProtocol6.cs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6262c21d2..865f08249 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - #1589: Update SQL tables instead of rewriting them - #1337: Unhandled exception after closing mRemoteNG - #359: Making a VNC connection to an unreachable host causes the application to not respond for 20-30 seconds +- #1465: REGRESSION: Smart Cards redirection to Remote Desktop not working +- #1632: 1.77.1 breaks RDP drive and sound redirection +- #1713: Sound redirection does not work if Clipboard redirection is set to No ## [1.77.1] - 2019-09-02 ### Added diff --git a/mRemoteV1/Connection/Protocol/RDP/RdpProtocol6.cs b/mRemoteV1/Connection/Protocol/RDP/RdpProtocol6.cs index ca53457a9..afd9af2c8 100644 --- a/mRemoteV1/Connection/Protocol/RDP/RdpProtocol6.cs +++ b/mRemoteV1/Connection/Protocol/RDP/RdpProtocol6.cs @@ -589,7 +589,7 @@ namespace mRemoteNG.Connection.Protocol.RDP _rdpClient.AdvancedSettings2.RedirectPrinters = connectionInfo.RedirectPrinters; _rdpClient.AdvancedSettings2.RedirectSmartCards = connectionInfo.RedirectSmartCards; _rdpClient.SecuredSettings2.AudioRedirectionMode = (int)connectionInfo.RedirectSound; - _rdpClient.AdvancedSettings.DisableRdpdr = connectionInfo.RedirectClipboard ? 0 : 1; + _rdpClient.AdvancedSettings6.RedirectClipboard = connectionInfo.RedirectClipboard; } catch (Exception ex) {