Windows Remote Desktop saved password

Today I had an issue with Microsoft Remote Desktopnot 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

  1. Hold the Windows Key and press “R” to bring up the Windows Run dialog.
  2. Type “gpedit.msc“, then press “Enter“.
  3. Select “Local Computer Policy” >“Computer Configuration” >“Administrative Templates” >“System” >”Credentials Delegation“.
  4. Double-click the policy “Allow Delegating Default Credentials with NTLM-only Server Authentication“.
  5. Set the policy to “Enabled”.
  6. Selectthe “Show…” button.
  7. Type “TERMSRV/*” in the“Add servers to thelist” box.
  8. Click “OK“, then “OK” again.
  9. Repeat steps 4 through8for 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:

  1. Select the “Start” button, then type “credential“.
  2. Open “Credential Manager“.
  3. Select the “Add a generic credential” option.
  4. In the “Internet or network address” field, provide the name or IP address of the server.
  5. Type the username and password you wish to save in the “User name” and “Password” fields.
  6. Select “OK“, and you’re done. The password will now be automatically saved for that specific computer name.

I have to admit that it’s quite convenient that I can log into a remote computer via RDP without typing in my password every single time. But before doing this, I also have to suggest that you will need a good password in place to lock your user account. A simple or none password to your Windows and having a saved password for RDP connection will breach to your remote network fairly quickly.

And here are the steps that you can refer to:

1. Launch Remote Desktop Connection.

Start typing “Remote Desktop” on Start Screen and click it from the search list to launch.

2. Click Show Options to extend the option list.

3. Type in the username, check the option “Allow me to save credentials“, and click Save As… button to save this setting in a dedicated RDP file, preferably maybe on the desktop.

4. And connect. When prompted by Windows Security popup asking for password, type in your credential, and make sure the option “Remember my credentials” is ticked before hitting that OK button.

Next time when you double click the RDP file on your desktop, it will take you straight to your remote computer’s desktop without typing in the password.

But when you see the Windows Security popup starting to appear again asking for your credential, it’s either you’ve changed your password lately or the setting has been altered.

Right-click your RDP file on your desktop and select Edit.

And check to make sure the option “Always ask for credentials” is unchecked, or click Edit link there to update your password.

So is it really safe to save my remote password on a local computer?

The answer is like this, Yes if you have a good password in place on a local computer, and No if you don’t.

Basically, the saved passwords are saved under what’s called the Credential Manager, aka the Vault, in each user’s profile, and are encrypted with the SHA has with the user’s login password. Without that hash, basically the password, they are cannot be decrypted, even with those password reset tools. And that’s why you do need a good, strong password for your local user account in the first place.

Video liên quan

Chủ Đề