What an RDP shortcut does and why you'd want one
An RDP shortcut is a small file on your computer that opens a connection to another computer and automatically fills in your username and password. RDP stands for Remote Desktop Protocol — it's the built-in Windows tool that lets you control another computer from yours. Instead of typing your credentials every time you connect, the shortcut remembers them and logs you in automatically.
This is useful if you regularly connect to the same remote computer — a work machine, a home server, or a family member's PC you help support. The shortcut sits on your desktop or in a folder, and double-clicking it opens the connection without any login prompts.
The shortcut itself is a small file called an .rdp file. Windows creates and stores these files, and you can edit them to add your username and password so they're saved for next time.
Key Takeaways
- An RDP shortcut is a file that opens a remote desktop connection and can store your username and password so you don't type them each time.
- You create the shortcut by opening Remote Desktop Connection, entering the remote computer's address and your username, then saving it as an .rdp file.
- The password is not saved in the .rdp file itself — Windows stores it separately in Credential Manager the first time you connect.
- You can edit the .rdp file with Notepad to change the remote computer address, username, or other connection settings without opening Remote Desktop again.
- The shortcut only works on the computer where you created it; you cannot move it to another computer and expect it to work with the same saved credentials.
Creating the RDP shortcut from Remote Desktop Connection
Start by opening Remote Desktop Connection on your Windows computer. Press the Windows key, type Remote Desktop Connection, and press Enter. The Remote Desktop Connection window opens.
In the Computer field at the top, type the address of the remote computer. This is usually an IP address (like 192.168.1.100) or a computer name (like OFFICE-PC). If you don't know this, ask the person who manages that computer or check your network settings.
Click Show Options at the bottom left to expand the window and see more fields. Under the General tab, find the User name field and type your username for that remote computer. This is the account you use to log into that machine, not your local Windows username.
Do not type your password yet — you'll save that separately after you create the shortcut. Click Save As at the bottom of the window. Choose where you want to save the file (your Desktop is easiest) and give it a name like "Work Computer" or "Server Connection". Windows automatically adds the .rdp extension. Click Save.
Where the password gets stored and how to set it
The .rdp file itself does not contain your password — Windows stores passwords separately in a system folder called Credential Manager for security reasons. When you double-click the shortcut for the first time, Remote Desktop Connection opens and asks for your password. Type it in and check the box that says Remember me or Allow me to save credentials. Windows then stores that password in Credential Manager.
The next time you use the same shortcut, Windows retrieves the password from Credential Manager automatically and logs you in without prompting. If you don't check the "Remember me" box, you'll be asked for your password every time.
If you want to change the saved password later, open Credential Manager by pressing the Windows key, typing Credential Manager, and pressing Enter. Find the entry for your remote computer, click it, and select Edit to update the password.
Editing the RDP file to change connection settings
Once you've created the .rdp file, you can edit it with Notepad to change settings without opening Remote Desktop Connection. Right-click the .rdp file, select Open with, and choose Notepad.
The file contains lines of text like full address:s:192.168.1.100 (the remote computer's address) and username:s:yourname (your username). You can edit these directly. For example, if the remote computer's IP address changed, find the line that starts with "full address" and change the number. If your username changed, find "username:s:" and type the new name after it.
Do not add a line for the password — leave that to Credential Manager. Save the file when you're done (Ctrl+S), close Notepad, and the changes take effect the next time you use the shortcut.
Moving the shortcut to your desktop or a folder
After you save the .rdp file, you can move it anywhere on your computer. If you saved it to a folder and want it on your Desktop instead, right-click the file and select Cut. Then right-click your Desktop, select Paste, and the shortcut appears there.
You can also create a shortcut to the .rdp file itself. Right-click the .rdp file, select Send to, and choose Desktop (create shortcut). This leaves the original file where it is and puts a shortcut icon on your Desktop that points to it.
If you want to organize multiple RDP shortcuts, create a folder on your Desktop called "Remote Connections" and move all your .rdp files into it. Double-clicking any of them opens the connection with your saved username and password.
Troubleshooting when the shortcut doesn't work
If you double-click the shortcut and it asks for your password even though you saved it, the credentials may not have been stored properly. Close the connection, open Credential Manager, and check whether an entry exists for that remote computer. If it doesn't, the password was never saved. Try connecting again and make sure you check the "Remember me" box before logging in.
If the shortcut opens but says the remote computer cannot be found, the address in the .rdp file is wrong. The remote computer may have changed its IP address, or the computer name may be incorrect. Edit the .rdp file with Notepad, find the "full address" line, and verify the address is correct. Ask the person who manages that computer if you're unsure.
If you moved the .rdp file to a different computer, the shortcut will not work with the saved credentials — Credential Manager is specific to each computer. You'll need to create a new .rdp file on that computer and save the password there.
Security considerations when saving credentials
Saving your password in an RDP shortcut is convenient but means anyone with access to your computer can use that shortcut to log into the remote computer. If you share your computer with others or use a public machine, do not save your password. Instead, uncheck "Remember me" when you log in, and type your password each time.
If you're connecting to a work computer or a server with sensitive data, check with your IT department first — some organizations have policies against saving credentials this way. They may require you to use a VPN or two-factor authentication instead.
Keep your .rdp files in a location only you can access. If you store them in a shared folder or cloud drive, anyone with access to that folder can see the username and potentially use the shortcut if they also have access to your computer.
Frequently Asked Questions
Can I see the password stored in the RDP file?
No. The .rdp file contains only the computer address and username — the password is stored separately in Windows Credential Manager and is encrypted. Even if you open the .rdp file in Notepad, you won't see the password. This is by design for security.
What if I forget the password and need to change it?
Open Credential Manager, find the entry for your remote computer, click it, and select Edit. Type the new password and save. The next time you use the RDP shortcut, it will use the new password. If you don't know the new password, contact the person who manages the remote computer.
Can I use the same RDP shortcut on multiple computers?
You can copy the .rdp file to another computer, but the saved password won't transfer. Each computer stores credentials separately in its own Credential Manager. On the new computer, you'll need to log in once and save the password again before it connects automatically.
Does the RDP shortcut work if the remote computer is turned off?
No. The shortcut tries to connect when ready, and if the remote computer is not running or not on the network, you'll get an error message. Make sure the remote computer is powered on and connected to the network before using the shortcut.
Can I edit the RDP file to change the screen resolution or other display settings?
Yes. The .rdp file contains many settings you can edit with Notepad, including screen resolution (desktopwidth and desktopheight), color depth, and whether to use full-screen mode. However, for most users, the default settings work fine. Only edit these if you know what you're doing, and save a backup copy of the original file first.