How to fix “Your credentials did not work” error on windows

Estimated reading: 3 minutes 275 views

Some of you may encounter problems when using Remote Desktop Connection (RDP). One of the most common problems reported by most users is the error saying, “Your credentials did not work. Please enter new credentials. The logon attempt failed.” while trying to connect to another server via RDP. This means that the Server’s authentication policy does not allow connection requests using saved credentials.

In this article, we will give some methods to fix the above error.

Method 1. Edit Windows Security Policy

Step 1. Press Windows Key + R to open the Run dialog box. Type in “secpol.msc” and press OK. This will open up the Local Security Policy window.

Step 2. Expand Local Policies and then select User Rights Assignment.

Step 3. Locate and double-click Allow log on through Remote Desktop Services in the right pane of User Rights Assignment.

Step 4. Click  Add User or Group.

Step 5. Type in Remote Desktop user names and click OK.

Method 2. Edit Local Group Policy

If the above-mentioned solution does not help you solve the “Your credentials did not work” problem, you can try to isolate the issue by modifying a few Local Group Policies. What you need to do is to change some security settings under the Local Group Policy Editor window.

Step 1. Press Windows Key + R to open the Run dialog box. Type in “gpedit.msc” and press OK. This will open up the Local Group Policy Editor window.

Step 2. Navigate here:

Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options

Step 3. Click on the Network security: LAN Manager authentication level.

Step 4. Changed LAN Manager authentication level piece by piece in Local Security Setting.

Method 3. Edit Registry

This issue can be resolved by adjusting how the system handles specific security protocols that Remote Desktop relies on. If these protocols are set up incorrectly or blocked, like after a system update, they can prevent proper credential checks.

Step 1. Press Win + R and then type “Regedit”, and then click on “OK”.

Step 2. Navigate here:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Step 3: Double-click on the “LsaCfgFlagsDefault” option and change the value to “1”.

 

Step 4: Reboot the PC then try again

Conclusion

Here in this post, We have guided you through the methods to fix the error “Your credentials did not work” error on Windows. As the solutions mentioned, we can do this by using Registry Editor or Group Policy…. Hopefully, this article will be useful for you. Good luck!

Share this Doc

How to fix “Your credentials did not work” error on windows

Or copy link

CONTENTS