Skip to content
/

Remote Desktop Client doesn’t use stored credentials

The problem

When I have to connect to the same development machine over and over again using RDP, I want to store the credentials.

First logon attempt

But when I later connect again, I still have to provide my password.

Second logon attempt

After entering my password 1387 times in the past year, I started searching for the reason why it does not use my stored credentials. As it turns out this is because of a local policy.

The solution

  1. Start GPEdit.msc and navigate to Computer Configuration\Administrative Templates\System\Credentials Delegation
  2. Open the policy Allow Saved Credentials with NTLM-only Server Authentication (or Allow Delegating Saved Credentials with NTLM-only Server Authentication for Windows 7)
  3. Select Enabled and click on Show
  4. Enter the server where you want to connect to with the stored credentials. You are allowed to use wildcards, so I choose TERMSRV/*.int (my development machines are always in a domain ending with .int)
  5. Close the screens and run gpupdate
Allow delegating saved credentials

Now it is possible to connect to the server without providing the same password over and over again.