Skip to content
/

Remote Desktop Client doesn’t use stored credentials

When I frequently connect to the same development machine using Remote Desktop Protocol (RDP), I want to store my credentials for easier access. However, I still have to provide my password each time I connect.

In this article, I explain the reason behind this issue and how I resolved it by adjusting a local policy setting.

The problem

When I connect to the same development machine repeatedly using RDP, I want to store my credentials for easier access.

First logon attempt

However, when I try to connect again, I'm still prompted 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 (since my development machines are always in a domain ending with .int)
  5. Close the screens and run gpupdate
Allow delegating saved credentials

Now, I can connect to the server without having to provide the same password over and over again.