RDP Optimization Guide

RDP Optimization Guide

Insert Image Description Here

RDP optimization mainly involves the following aspects:

  1. Frame Rate Settings
  2. Enabling Hardware Acceleration (Using GPU)
  3. Transmission Protocol Settings
  4. Number of Connected Users
  5. nVidia GPU Acceleration

1. Frame Rate Settings (Optional)

I trust the FPS value of the UFO Test. Some say that modifying this may lower the FPS of connection information. Therefore, I suggest not changing it.

  1. Open the Registry Editor on the controlled machine by pressing Win + R, then type regedit.
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations (you can copy and paste this path).
  3. Right-click on the blank space, select New -> DWORD (32-bit) Value, and name it DWMFRAMEINTERVAL.
  4. Double-click the newly added entry, choose Decimal as the base, and enter the value 15.
    • 15 corresponds to 60 frames
    • 30 corresponds to 30 frames
    • 10 corresponds to 100 frames
  5. Restart the computer (you can wait to restart after all steps are completed).

Insert Image Description Here

2. Enabling Hardware Acceleration (Using GPU)

  1. Open the Group Policy Editor on the controlled machine by pressing Win + R, then type gpedit.msc.
  2. Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment.
  3. Click on Use hardware graphics adapters for all Remote Desktop Services sessions and select Enabled.
  4. Click on Prioritize H.264/AVC 444 Graphics Mode for Remote Desktop Connections and select Enabled (optional).
  5. Click on Configure H.264/AVC hardware encoding for Remote Desktop Connections and select Enabled.
  6. Click on Use Advanced RemoteFX graphics for RemoteApp and select Enabled.
  7. Restart the computer (you can wait to restart after all steps are completed).

3. Transmission Protocol Settings

If you are using RDP over the public network, follow these steps. For local network usage, it is better to keep the default settings.

  1. Open the Group Policy Editor on the controlled machine by pressing Win + R, then type gpedit.msc.
  2. Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections.
  3. Click on Select RDP transport protocols and select Enabled.
  4. Choose the transport type to use both UDP and TCP.
  5. Restart the computer (you can wait to restart after all steps are completed).

4. Number of Connected Users

  1. Open the Group Policy Editor on the controlled machine by pressing Win + R, then type gpedit.msc.
  2. Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections.
  3. Set Restrict Remote Desktop Services users to a single Remote Desktop Services session to Disabled.
  4. Click on Limit number of connections and enter the maximum number of RD connections you need.
  5. Restart the computer (you can wait to restart after all steps are completed).

5. nVidia GPU Acceleration

  1. Download and install the application:
  2. Restart the computer (you can wait to restart after all steps are completed).

RDP Optimization Guide
https://chiamzhang.github.io/2024/07/30/『RDP』RDP Optimization Guide/
Author
Chiam
Posted on
July 30, 2024
Licensed under