Save Remote Desktop Connection Settings to RDP File
In this article
To save Remote Desktop Connection settings to an RDP file in Windows 11, open the Remote Desktop Connection app, enter your connection details, click Show Options, and select Save As... under the Connection settings. This process creates a configuration file that stores the computer name, username, and display preferences, allowing you to launch a specific remote session with a double-click rather than manually entering details every time.
What You'll Need
- A Windows 11 PC with the Remote Desktop Connection client installed.
- The IP address or hostname of the remote computer you wish to connect to.
- The login credentials (username and password) for the remote machine.
- Administrative permissions on the remote PC to allow remote connections.
Step-by-Step
- Click the Start button or press the Windows key on your keyboard.
- Type Remote Desktop Connection into the search bar and press Enter to launch the application. Note that menu labels may differ slightly depending on your specific Windows 11 build or regional language settings.
- In the main window, you will see the Computer field. Type the network name or the IP address of the remote computer you intend to access.
- Click the Show Options arrow located in the bottom-left corner of the window. This expands the interface to reveal several tabs including General, Local Resources, Experience, and Advanced.
- In the General tab, locate the User name field. Enter the username used to log into the remote computer. If the account is part of a domain, use the format
domain\username. - Check the box labeled Allow me to save credentials if you want Windows to remember your password for this specific connection. This prevents you from having to type your password every time you open the RDP file.
- Navigate to the Display tab. Here, you can adjust the resolution of the remote session. You can choose a specific resolution from the dropdown menu or slide the bar to Full Screen. You can also toggle the Use all my monitors for the remote session checkbox if the remote PC supports multi-monitor setups.
- Switch to the Local Resources tab. Under the Local devices and resources section, click More.... Here, you can select specific folders, drives, or printers from your local Windows 11 PC that you want to be accessible while you are working on the remote machine. This is essential for transferring files between the two computers.
- Go to the Experience tab to optimize the connection based on your network speed. If you are on a slow internet connection, select Low-speed broadband to disable visual themes and menu animations, which reduces lag. For high-speed LAN connections, select LAN (10 Mbps or higher) to enable a smoother visual experience.
- Return to the General tab. In the Connection settings section, click the Save As... button.
- A Save Remote Desktop Connection dialog box will appear. Browse to the folder where you want to store the file (such as your Desktop or a dedicated "Connections" folder).
- In the File name box, give the connection a descriptive name, such as
Office_PC_Workstation.rdp. Ensure the file extension remains.rdp. - Click Save. You will now see an icon on your chosen folder that looks like a small computer screen.
Common Mistakes
One of the most frequent errors is forgetting to click Show Options before attempting to save. If you simply enter the IP address and hit Connect, you are starting a session, not configuring a saved profile. Many users also mistake the Save As function for the Allow me to save credentials checkbox. The checkbox saves your password in the Windows Credential Manager, while Save As saves the connection parameters (IP, resolution, etc.) to a physical file on your hard drive. You generally want both enabled for the fastest access.
Another common mistake occurs during the naming process. Some users manually change the file extension to .txt or .doc, which prevents Windows from recognizing it as a Remote Desktop configuration. Always ensure the file ends in .rdp. Additionally, users often forget to configure the Local Resources tab before saving. If you save the file without checking the boxes for your local drives, you will have to edit the RDP file later to enable file transfers, as you cannot easily change these settings once the session is already active.
Tips
To make your workflow even more efficient, you can create a shortcut to your RDP file on your Taskbar or Start Menu. While you cannot pin the .rdp file directly to the Taskbar, you can right-click the file, select Show more options, and then Create shortcut. You can then move that shortcut or pin it to the Start menu for one-click access to your remote server.
If you manage multiple remote servers, use a consistent naming convention for your files (e.g., PROD_Server01.rdp, DEV_Server01.rdp). This prevents accidental connections to a production environment when you intended to connect to a development environment. Furthermore, if you are connecting over a VPN, it is helpful to save the RDP file in a folder that is synced with a cloud service like OneDrive. This allows you to access your connection profiles from any Windows 11 device you use, provided you have the VPN client installed on those machines as well.
Troubleshooting
If you double-click your saved RDP file and receive an error stating that the remote computer cannot be found, first check your network connectivity. Ensure that you are connected to the same local network as the remote PC or that your VPN is active. If the network is fine, right-click the .rdp file and select Edit. Verify that the Computer field contains the correct IP address or hostname. IP addresses can change if the remote machine uses DHCP; switching to a static IP or using a DNS hostname can prevent this issue.
If the connection is established but you cannot see your local files, go back to the Edit menu of the RDP file, navigate to Local Resources > More... and ensure the Drives checkbox is selected. Save the file again before reconnecting.
In cases where you are prompted for a password every time despite checking Allow me to save credentials, there may be a Group Policy restriction on the remote machine. The remote server may be configured to "Always prompt for password upon connection," which overrides the settings in your local RDP file. In this scenario, you must change the security policy on the target machine to allow saved credentials.
If the RDP file opens in Notepad instead of the Remote Desktop Connection app, the file association has been broken. To fix this, right-click the .rdp file, select Open with, then Choose another app. Select Remote Desktop Connection and check the box Always use this app to open .rdp files.
Frequently Asked Questions
Can I share an RDP file with a colleague?
Yes, you can send the .rdp file to another user. However, the file only contains the connection settings (like the IP address and resolution). It does not contain the password unless the user has already saved their own credentials on their own machine. The colleague will still need their own valid login credentials for the remote PC.
Does saving an RDP file store my password in plain text?
No. When you check Allow me to save credentials, Windows stores the password in the encrypted Windows Credential Manager, not in the .rdp file itself. The .rdp file contains the configuration, but the sensitive password data is handled securely by the operating system.
Can I edit an RDP file after I have saved it?
Yes. You do not need to delete and recreate the file. Simply right-click the saved .rdp file and select Edit. This will reopen the Remote Desktop Connection window with all your previous settings loaded, allowing you to change the IP address, resolution, or local resource settings.
Why does my RDP file not work after the remote PC restarts?
This is usually because the remote PC has a dynamic IP address that changed during the reboot. To solve this, assign a static IP address to the remote computer or use its computer name instead of the IP address in the RDP settings.
Can I use RDP files on a Mac or Linux?
While the .rdp file is a Windows format, the official Microsoft Remote Desktop app for macOS and iOS can import .rdp files. Linux users can use clients like Remmina, which also support importing RDP configuration files.