The problem
When I have to connect to the same development machine over and over again using RDP, I want to store the credentials.
But when I later connect again, I still have to provide my password.
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
- Start GPEdit.msc and navigate to
Computer Configuration\Administrative Templates\System\Credentials Delegation
- Open the policy
Allow Saved Credentials with NTLM-only Server Authentication
(orAllow Delegating Saved Credentials with NTLM-only Server Authentication
for Windows 7) - Select
Enabled
and click on Show - 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
) - Close the screens and run gpupdate
Now it is possible to connect to the server without providing the same password over and over again.