When I’ve to connect to the same development machine over and over again using RDP I store the credentials.
But when I later connect again I’ve to still provide a password.
After entering my password 1387 times in the last year I started searching for the reason why it doesn’t use my stored credentials. As it turns out this is because of a local policy.
- Start GPEdit.msc and navigate to
Computer Configuration\Administrative Templates\System\Credentials Delegation
- Open the policy
Allow Saved Credentials with NTLM-only Server Authentication(or
Allow Delegating Saved Credentials with NTLM-only Server Authenticationfor Windows 7)
Enabledand click on Show
- Enter the server where you want to connect to with the stored credentials. You’re allowed to use wildcards, so I choose
TERMSRV/*.int(my development machines are always in a domain ending with
- Close the screens and run gpupdate
Now it’s possible to connect to the server without providing the same password over and over again.