Improve mouse input lag over Remote Desktop connection

After some more digging, I came across this forum post for the Unreal Engine. The information shared is applicable for all RDP usage.

Here's my paraphrase of the post:

  1. On the host PC, Open "Edit Group Policy" (search for gpedit in the Start search bar)
  2. Browse to: Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment
  3. Enable "Use the hardware default graphics adapter for all Remote Desktop Services sessions" (right-click > edit > enabled)
  4. Enable "Configure H.264/AVC hardware encoding for Remote Desktop Connections" (forum post says this is optional, but I think any acceleration is welcomed if you have the hardware to support it)
  5. Restart the RDP connection (if necessary)
  6. (Something extra I found): Change RDP color depth to 24-bit (in RDP display settings before you connect), if your work doesn't require 32-bit color depth.

I immediately saw significant improvement in input lag when running 3D applications with these options on.