.RDP

RDP File

Remote Desktop Connection Settings File
Ask a question
QUICK ANSWER

An RDP file is a small plain-text file holding the settings for a Remote Desktop Connection - which PC to connect to, the screen size, and which local resources to share. On Windows, double-click it to connect. On Mac, iOS or Android, use the free Windows App (formerly Microsoft Remote Desktop). The file contains no session data, only configuration, and can be read or edited in any text editor.

Developer: Microsoft Category: Settings Files Open standard MIME: application/x-rdp
OPENS ON Windows macOS Linux Android iOS
Related: .ICA · .DS_STORE · .WMZ · .CFG

On this page

19k+ extensions indexed
Last reviewed Aug 10, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the RDP file format?

A .rdp file stores remote connection configuration parameters for Remote Desktop Protocol sessions. It is a plain-text file where each line follows the pattern name:type:value - for example, full address:s:server.example.com or screen mode id:i:2 - and can be opened or edited with any text editor.

What do .rdp files contain?

Besides server address and authentication data, .rdp files store information such as:

  • Remote Desktop window size and screen mode,
  • color depth,
  • custom keyboard shortcuts,
  • automatic disk mounting, printer redirection, and port numbers,
  • programs to be launched after the connection has been established.

Multiple .rdp files

.rdp files are saved in the *Documents* folder by default when using Remote Desktop Connection (mstsc.exe) on Windows. When connecting to more than one remote machine, the folder may contain multiple .rdp files with different settings for each connection. For grouping many connections into one place, Microsoft also supports .rdg group files.

.rdp files and different operating systems

Remote Desktop Protocol is not limited to Windows - Linux, FreeBSD, and macOS support it too, through clients such as Remmina and xfreerdp. Each platform stores .rdp files in its own system-specific location.

Security & safety

RISK: MEDIUM

The danger with .rdp is social engineering, not the format. Attackers email malicious .rdp files (notably in 2024 campaigns) configured to silently redirect your local drives, clipboard and devices to an attacker-controlled server the moment you connect - exposing your data. Treat unexpected .rdp attachments like any other attachment: never open one you didn't request, and before connecting, right-click → Edit (or open in Notepad) to check the 'full address' and the redirect settings. The "unknown publisher" warning on double-click is normal for unsigned .rdp files but should make you verify the source.

Format details

in a nutshell
FULL NAMERemote Desktop Connection Settings File
DEVELOPERMicrosoftsince 2001 (Remote Desktop / RDP 5.1, Windows XP)
MIME TYPEapplication/x-rdp
TYPEPlain-text connection configuration (key:type:value lines)
STANDARDOpen · royalty-free

Programs that open RDP files

Windows2 apps
Remote Desktop Connection (mstsc.exe) Built-in Double-click the .rdp to launch Remote Desktop and connect; or right-click → Edit to change settings.
Notepad / any text editor Built-in Right-click → Open with → Notepad to read or edit the connection parameters directly.
macOS1 app
Windows App (Microsoft Remote Desktop) Free Open the .rdp to import the connection, then click to connect to the Windows host.
Linux2 apps
Remmina Open-source Import the .rdp (uses FreeRDP) to connect; the standard Linux RDP client.
FreeRDP (xfreerdp) Open-source xfreerdp /load:connection.rdp to connect from the command line.
Android1 app
Windows App (Microsoft Remote Desktop) Free Import the .rdp file to add the PC, then tap to connect.
iOS1 app
Windows App (Microsoft Remote Desktop) Free Open the .rdp in the app to add the connection, then tap to connect.

Technical details

deep spec
Format typePlain-text; each line follows the pattern name:type:value
DeveloperMicrosoft Corporation
MIME typeapplication/x-rdp
Text encodingUTF-8 or UTF-16 LE; files saved by mstsc.exe on Windows typically use UTF-16 LE with a byte-order mark (BOM)
Value type tokenss (string), i (integer), b (binary blob encoded as hex byte pairs)
Mandatory host keyfull address:s: - specifies the target server hostname or IP address
Screen mode controlscreen mode id:i: set to 1 (windowed) or 2 (full-screen); resolution governed by desktopwidth:i: and desktopheight:i:
Color depthsession bpp:i: - supports 8, 15, 16, 24, or 32 bits per pixel
Authentication settingsusername:s:, domain:s:, and authentication level:i: (0 = no check, 1 = warn, 2 = require NLA)
Device redirectionSeparate keys toggle drives (drivestoredirect:s:), printers (redirectprinters:i:), clipboard (redirectclipboard:i:), and audio (audiomode:i:)
RD Gateway tunnelinggatewayhostname:s: and gatewayusagemethod:i: route connections through a Remote Desktop Gateway server
RemoteApp moderemoteapplicationmode:i:1 plus remoteapplicationprogram:s: launches a single published application instead of a full desktop
Bandwidth adaptationbandwidthautodetect:i:1 and networkautodetect:i:1 enable adaptive graphics quality based on detected link speed
Multi-monitor supportuse multimon:i:1 spans the session across multiple monitors; selectedmonitors:s: restricts which monitors are used
Connection type hintconnection type:i: accepts values 1-7 (modem through LAN) to manually set network quality assumptions
Alternate shellalternate shell:s: specifies a custom executable to launch on connection instead of the default desktop shell
Released2001 (Remote Desktop / RDP 5.1, Windows XP)
Open standardYes · royalty-free
Specificationlearn.microsoft.com

RDP conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with RDP files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about RDP files.

Frequently asked questions

What is an .rdp file used for?
It stores the settings for a Remote Desktop Connection (which PC to connect to, screen size, redirected resources). Double-clicking it launches Remote Desktop and connects - it's a saved connection, not the session itself.
How do I open an .rdp file on Mac?
Install the free 'Windows App' (formerly Microsoft Remote Desktop) from the Mac App Store, then open the .rdp to import and connect to the Windows host.
Can I edit an .rdp file?
Yes - right-click → Edit in Windows, or open it in Notepad (it's plain text). You can change the server address, resolution and which local resources are shared.
Is it safe to open an .rdp file someone emailed me?
Be careful. Malicious .rdp files can redirect your drives and clipboard to an attacker's server. Don't open ones you didn't expect; inspect the 'full address' and redirect lines in a text editor first.
Why does opening an .rdp show an 'unknown publisher' warning?
That warning appears for unsigned .rdp files and is normal for ones not signed by your IT department. It's a prompt to confirm you trust the source before connecting.
Does the .rdp file contain my password?
Only if a password was saved, and then only as a DPAPI-encrypted value tied to the Windows account that saved it - it won't work on another machine and isn't stored in clear text.

References

1Microsoft Learn - Supported RDP file settingslearn.microsoft.com
2Microsoft Learn - Remote Desktop clients (Windows App)learn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.EXEWindows Executable (Portable Executable)
5.DATProgram Data File (generic)
6.BINCD/DVD Disc Image (BIN/CUE)
7.NOMEDIAAndroid No-Media Marker File
8.MDMarkdown Document
9.RPMSGRestricted Permission Message
10.TMPTemporary File

Related extensions

.ICACitrix Independent Computing Architecture file
.DS_STOREmacOS Finder Desktop Services Store (.DS_Store)
.WMZWindows Media Player Skin
.CFGConfiguration File
.LICLicense File
.CONFConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z