Actually, while connecting systems remotely, recently I received following error:
Your credentials did not work
The credential that were used to connect to <server> did not work. Please enter new credentials.
The logon attempt failed.
In this case, I was pretty sure that the credentials were correct. Even they worked fine with other machines but one of my machines start throwing this error.
If you’re also facing same issue, here’s how to fix it.
FIX: ‘Your Credentials Did Not Work’ For Remote Desktop Connection In Windows 10/8/7
FIX 1 – Via Security Policy Snap-in
1. Press + R and put
secpol.msc in Run dialog box. Click OK to open Security Policy snap-in.
2. Then in Security Policy snap-in window, navigate here:
Security Settings > Local Policies > Security Options
3. In the right pane of Security Options, look for policy setting named Network Security: LAN Manager authentication level which is set to Not Defined, by default. Double click on the policy to modify its status.
4. Finally set the policy setting to Send LM & NTLM – use NTLMv2 session security if negotiated. Click Apply followed by OK. Close Security Policy snap-in.
If this doesn’t works for you, try FIX 2 mentioned below.
FIX 2 – Via Group Policy Snap-in
1. Press + R and put
gpedit.msc in Run dialog box to open GPO snap-in. Click OK.
2. Next, in the GPO snap-in window, navigate here:
Computer Configuration > Administrative Templates > System > Credentials Delegation
3. In the right pane of Credentials Delegation, look for the policy setting named Allow delegating saved credentials. The policy is Not Configured by default. Double click on it to modify its status:
4. On the policy configuration window, set it to Enabled. Under Options, click Show button. In Show Contents window, type
TERMSERV/* and click OK. Click Apply followed by OK.
5. Repeat step 4 for following GPO settings as well at same path mentioned in step 2:
- Allow delegating saved credentials with NTLM-only server authentication
- Allow delegating default credentials with NTLM-only server authentication
- Allow delegating default credentials
6. Make sure Deny delegating saved credentials GPO setting at same path mentioned in step 2 is set to Not Configured.
Close GPO snap-in and you can then run
gpupdate /force command or reboot your system to make changes effective.
Then check if your Remote Desktop Connection is working. You’ll find that issue is resolved now and you can connect systems remotely without any issue.
Hope this helps!