By Ellie / Last Updated September 7, 2021

What is the “Your credentials did not work” error in Remote Desktop Connections?

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 the following part, the causes of the error will be briefly analyzed.

Your Credentials Did Not Work

What causes the “Your credentials did not work” error?

Disconnection can be caused by many reasons. When facing this kind of situation, the first thing you need to do is to verify whether the credentials are correct or not. If you are pretty sure that the credentials are correct, then the cause of the error must be sought elsewhere.

Here’s another cause behind this issue. Some of you may change the username for the system but forget to change it for the RDP after you reinstall your operating system. In this case, the error may appear as the user is not on the server. Therefore, in order to troubleshoot the problem, remember to check whether the username is the same as the system name you’ve changed.

Some users also reported that RDP worked perfectly when they were using system versions like Windows 7, but might get this error with Windows 10 or after they have reinstalled their system versions. It can be inferred that the problem might be due to the Windows security settings which prevent non-admin users from signing in.

In conclusion, if you are facing a “Your credentials did not work” error, please remember to verify whether the credentials are correct or not and check whether the username is the same as the system name you’ve changed. If the credentials and username are both correct but your computer still says “Your credentials did not work”, then the problem must be caused by the Windows security settings. The other four options are mentioned below expecting to fix the issue.

How to fix the “Your credentials did not work” error?

Now that the causes of the error are clarified and four options are offered in this part to help you troubleshoot the problem.

Option 1 Edit Windows Security Policy

As mentioned above, this error might occur after reinstalling your operating system. It might be due to the Windows security policies which prevent non-admin users from signing in. So if you want to allow non-admin users to use RDP, you need to modify this policy. Please make sure you follow the steps in the same order as provided.

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.

Local Security Policy Window

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

User Rights Assignment

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

Allow Log on Through Remote Resktop Services

Step 4. Click  Add User or Group.

Add User or Group

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

Type in Remote Desktop Users

Option 2 Edit Local Group Policy

If the above-mentioned solution does not work out for you, 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. Please make sure you follow the steps in the same order as provided.

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.

Local Group Policy Editor Window

Step 2. Next, in the Local Group Policy Editor snap-in window, navigate here: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options 

Security Options

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

Network Security Lan Manager Authentication Level

Step 4. Changed LAN Manager authentication level piece by piece in Local Security Setting, below 3 options do work:

Send NTLMv2 response only

Send NTLMv2 response only. Refuse LM

Send NTLMv2 response only. Refuse LM & NTLM

Change Ntml Level

Option 3 Change the network profile from public to private

As being reported by many users, the error “Your credentials did not work” normally appears in RDP when the network profile was set to public. This is because when it was set to public, it means that your computer is protected when taking it in public hotspots and it won't allow any incoming connections. Please make sure that you follow the following steps to set the network profile to private to resolve the problem.

Step 1. Navigate here: Start > Settings > Network & Internet > Status.

Start Settings Network Status

Step 2. Click on the “Change connection properties” option.

Change Connection Properties

Step 3. Change the Network Profile from Public to Private.

Change Network Profile from Public to Private

Option 4 Download another remote desktop software

If all the above-mentioned solutions do not work out for you, here is another option for you. You can download another remote desktop software called AnyViewer to help you achieve remote desktop connection easily and effectively.

The biggest advantage of AnyViewer is that it is very easy to set up and operate. You don’t need to change any settings of both computer systems. It requires no user account or user name. You could even achieve remote connection even the two computers are under different networks, which is impossible for RDP.   

Download Freeware Win PCs & Servers
Secure Download

Follow the steps listed below to start your remote connection easily.

Set up AnyViewer

Step 1. Install and run AnyViewer on both computers.

Temporary Code

Step 2. On the host computer, click on Setting and then Recipient. Tick the third option. Then set the security code you want in the box. Then click OK to finish the set-up process.

Accept Remote Control

Remote control over AnyViewer

You’ve already configured it for remote access. On the client computer, enter the device ID of the host computer. After entering the device ID, you’ll be given two options:

Option 1: You can send a control request; then the host computer will receive a pop-up request. People sitting in front of the host computer could either allow it or deny it.

Send a Control Request to Your Partner

Request to Control Your Device

Option 2: You could also input a security code of your home PC to achieve remote connection directly. You can either input a permanent security code or a temporary security code.

A permanent security code is set by you in advance. A temporary security code is automatically generated and will change every time. Both security codes allow you to establish a connection directly.

Security Code

In summary, four solutions are mentioned in this post to help fix the error message “Your credentials did not work” in RDP. You can give it a go to see if the first three solutions help out. If the problem persists, you may also choose to download another remote desktop software for Windows. Hope this post can help you out.