SA RDP - How to best configure RDP file parameters for preferred User Experience
Objective
To best configure the RDP experience of a saved RDP file, edit the file in a text editor such as Notepad or Notepad++.
In an .rdp file, each line is structured as:
setting_name : type : value
This line "screen mode id:i:1" means:
setting_name = screen mode id
type = i (integer)
value= 1 (meaning 'enabled')
Environment
Secure Infrastructure Access (formerly DPA) DPA for RDP
Procedure
Use the table below to craft RDP files to your preferences
| Setting name | What it controls | Typical values & UX impact |
|---|---|---|
| allow_desktop_composition | Desktop composition effects | 0 = Disable visual effects (better performance, “classic” look) 1 = Allow composition effects |
| screen mode id | Session starts full screen or in a window | 1 = Windowed mode 2 = Full screen |
| desktopwidth | Initial width of the remote desktop in pixels | Defines the horizontal resolution of the session |
| desktopheight | Initial height of the remote desktop in pixels | Defines the vertical resolution of the session |
| use multimon | Multi-monitor awareness of the RDP session | 0 = Use a single monitor only 1 = Allow the session to use multiple monitors |
| dynamic resolution | Remote resolution updates when the client window is resized or moved between displays | 0 = Fixed remote resolution 1 = Remote resolution adjusts to the client window size Note- In MacOS set this parameter to 0 as its is not supported |
| smart sizing | Client-side scaling of the remote desktop | 0 = No scaling; desktop size is fixed (window may show scrollbars) 1 = Image is scaled to fit the RDP window |
Note: If the same setting appears multiple times in an .rdp file, the last occurrence usually takes precedence.
Example
Below is an example block for a single-monitor, windowed, starting at 1440×900, with dynamic resolution enabled, and smart scaling turned on, while fancy desktop effects disabled:
---
use multimon:i:0
screen mode id:i:1
desktopwidth:i:1440
desktopheight:i:900
dynamic resolution:i:1
smart sizing:i:1
allow_desktop_composition:i:0
---
For recommended templates please see article file attachments:
windows_template.rdp
mac_template.rdp