An .rdp file is a small text file that tells a Remote Desktop client how to connect. Each line holds one setting in the form name:type:value, where the type is s for text, i for a number or b for binary data. For example, full address:s:server.contoso.com sets the computer to connect to, and drivestoredirect:s:* shares all of your PC's drives with the session.
Remote Desktop Connection writes one when you choose Save As on its General tab, and keeps your last settings in Default.rdp in your Documents folder (Microsoft KB 885187). Remote Desktop Services and Remote Desktop Web Access hand them out for published desktops and RemoteApp programs. Microsoft documents the current settings in its supported RDP properties reference, which the viewer above uses for its explanations.
- Connect: on Windows, double-click the file. It opens in Remote Desktop Connection.
- Read the settings without connecting: open it in the viewer above, or right-click it and open it with Notepad.
- Edit it: change a line in Notepad and save, or open the file in Remote Desktop Connection with Show Options, change the settings on its tabs, and save it again. Editing a signed file can invalidate its signature.
- Make a new one: use the RDP file builder to choose the settings and download the file.
Remote Desktop Connection saves .rdp files as Unicode (UTF-16) text, which is why some editors show them with extra spaces. The viewer reads both that and plain text.
Most questions about .rdp files come down to what the session can reach on your PC. Drives are controlled by drivestoredirect: empty shares no drives and is the default, * shares all drives including ones connected later, DynamicDrives shares only drives connected later, and a list such as C:\;E:\; shares those drives (Microsoft). The clipboard is redirectclipboard and printers are redirectprinters.
The file only asks for these. The server decides: a Group Policy or an Azure Virtual Desktop host pool setting can still block drives the file requests. If drives are missing, follow RDP drive redirection not working, or AVD local drives not showing for Azure Virtual Desktop. To move a file you need right now, see how to copy files from Remote Desktop to your local PC.
Only if you expected it and trust where it came from. An .rdp file can connect you to any computer and share your drives, clipboard and sign-in devices with it. Microsoft reported a spear-phishing campaign in October 2024 that emailed signed .rdp files pointing at attacker-controlled servers (Microsoft Security blog).
Since the April 2026 security update, Remote Desktop Connection shows a security dialog every time you open an .rdp file. It shows the remote address and the publisher, and every redirection starts switched off until you tick it (Microsoft). Microsoft also warns that a signature confirms who signed the file, not that it is safe. Checking a file in the viewer before you open it shows the same address and requests up front.
Does this viewer upload my .rdp file?+
No. The file is read by JavaScript in this page and never leaves your browser. Saved passwords, gateway tokens and signatures are hidden in the results, so you can share a screenshot of the table without exposing them.
Can I see the password saved in an .rdp file?+
No. A saved password is stored encrypted for the Windows account that saved it. The viewer only tells you that one is present. Don't share an .rdp file that contains a saved password.
Why don't my local drives show up in the remote session?+
Check the Drives row in the viewer first. If the file shares no drives, change drivestoredirect or tick Drives under Local Resources in Remote Desktop Connection. If the file shares drives and they still don't appear, a Group Policy or host pool setting on the server is blocking them; the RDP drive redirection guide walks through each layer.
Why does the viewer say a setting isn't in Microsoft's reference?+
Some settings that Remote Desktop clients write, such as the RD Gateway host or the RemoteApp program name, aren't described in Microsoft's current RDP property reference. The viewer gives a short description without guessing at their values.
Azure Virtual Desktop file transfer
Six ways to copy files between a PC and AVD, compared.
Why RDP drive redirection is slow
Why browsing \\tsclient crawls, and what to tune.
TwinPane vs RDP drive redirection
Opening session files in local apps without sharing drives.
RemoteApp saves files to the server
Find where an export went, and save it to your PC.