Today I had an issue with Microsoft Remote Desktop not saving my username and password. The server I was connecting to is something I use frequently. Typing the username and password over and over again was becoming a pain. It was especially annoying that my system would not save the credentials. Fortunately, you can set Windows to save the username and passwords for RDP connections using these steps.
Method 1 – Allow Credentials Delegation
- Hold the Windows Key and press “R” to bring up the Windows Run dialog.
- Type “gpedit.msc“, then press “Enter“.
- Select “Local Computer Policy” > “Computer Configuration” > “Administrative Templates” > “System” >”Credentials Delegation“.
- Double-click the policy “Allow Delegating Default Credentials with NTLM-only Server Authentication“.
- Set the policy to “Enabled”.
- Select the “Show…” button.
- Type “TERMSRV/*” in the “Add servers to the list” box.
- Click “OK“, then “OK” again.
- Repeat steps 4 through 8 for the following policies:
- Allow Delegating Default Credentials
- Allow Delegating Saved Credentials with NTLM-only Server Authentication
- Allow Delegating Saved Credentials
Once these policies have been set, the username and password should now save in RDP.
Method 2 – Set One System to Save Credentials
You can setup your system to store single RDP connections using these steps:
- Select the “Start” button, then type “credential“.
- Open “Credential Manager“.
- Select the “Add a generic credential” option.
- In the “Internet or network address” field, provide the name or IP address of the server.
- Type the username and password you wish to save in the “User name” and “Password” fields.
- Select “OK“, and you’re done. The password will now be automatically saved for that specific computer name.
Muhammad Fahad says
well done ;-)
Yiing says
that’s the tricky!!! Thanks Sam!!!
Just DELETE the OLD SAVED Credentials then try second method works for me!!!
Caspian Canuck says
Neither method worked for me.
M says
Thank you for this solution.. For several years i have entered the password to servers manually maybe 10x per day.. sometimes 40-50x per day.. this saves me a lot of time! :) I have not bothered looking into it until i needed to login over 100x today :D
Patrik says
Creating a generic credential worked for me.
internet or network address: Server IP only (no ports)
Username: localserverhostname\User
Password: Yourpassword
Sam says
Just DELETE the OLD SAVED Credentials for your RDS login… and try to CONNECT again with NEW and click for SAVE and REMEMBER Credentials !
bigfootnlc says
Thank you, Anonymous! That was exactly what I needed!
Nigel Swanson says
Everything suggested I have attempted however nothing is working. after 5 or so successful logans I am presented with the password prompt. Not happy.
Anonymous says
Creating a generic credential is for me the only thing that really works.
One thing though, in the “internet or network address”, I need to put “TERMSRV/….” to make it work.