Information
Allows the redirection of Printers/Drives/Ports for RDP connections.
The recommended state for this setting is: Disabled
In a security-sensitive environment, it is desirable to reduce the possible attack surface - preventing the redirection of COM, LPT and PnP ports will reduce the number of unexpected avenues for data exfiltration and/or malicious code transfer within an RDP session.
Solution
To establish the recommended configuration, run the following PowerShell command:
Set-Service -Name UmRdpService -StartupType Disabled
Impact:
Printers, drives and ports (COM, LPT, PnP, etc.) will not be allowed to be redirected inside RDP sessions.