SA RDP - How to best configure RDP file parameters for preferred User Experience

SA RDP - How to best configure RDP file parameters for preferred User Experience

137
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:01 PM


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 nameWhat it controlsTypical values & UX impact
allow_desktop_compositionDesktop composition effects0 = Disable visual effects (better performance, “classic” look)
1 = Allow composition effects
screen mode idSession starts full screen or in a window1 = Windowed mode 
2 = Full screen
desktopwidthInitial width of the remote desktop in pixelsDefines the horizontal resolution of the session
desktopheightInitial height of the remote desktop in pixelsDefines the vertical resolution of the session
use multimonMulti-monitor awareness of the RDP session0 = Use a single monitor only
1 = Allow the session to use multiple monitors
dynamic resolutionRemote resolution updates when the client window is resized or moved between displays0 = 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 sizingClient-side scaling of the remote desktop0 = 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



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001PXUCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail