By Ellie / Last Updated August 13, 2021

Why does Your credentials did not work on Remote Desktop on Windows Server 2016?

A user posted on Spiceworks saying that recently, when he was trying to RDP into a Server, he received an error that Your credentials did not work on Remote Desktop on Windows Server 2016, as the following picture shows. This error message means that the present computer doesn’t allow the use of saved credentials to log on to the remote computer. Because the identity of the saved credential is not fully verified and new credentials are required.   

Your Credentials Did Not Work

Then what causes your credentials did not work, the logon attempt failed issue? To troubleshoot the problem, the first thing you need to do is to verify whether the credentials are correct or not. If the credentials are correct, then the error might be caused by a Windows Security Policy which prevents non-admin users from signing in. It can also be caused by Local Group Policy settings. The status of the network profile may also have some effects. Thus, you need to configure some settings on your computer.

How to fix the “Your credentials did not work” error on Windows Server 2016?

Then how to fix your credentials did not work on Remote Desktop? Now that the causes of the error are clarified, you could follow the three solutions mentioned below to troubleshoot the problem.

Solution 1 Edit Windows Security Policy

The problem might be caused by the Windows security policies which prevent non-admin users from signing in. So if you want to allow non-admin users to use the Remote Desktop connection, you need to modify this policy.

Step 1. Press Windows Key + R to open the Run dialog box. Then 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 Desktop Services

Step 4. Click on the Add User or Group and then click OK.

Add User or Group

Step 5. Type in Remote Desktop Users and click OK.

Type in Remote Desktop Users


Solution 2 Edit Local Group Policy

Another possible cause might be the Local Group Policy settings. 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. Then 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 NTML level piece by piece in Local Policies, 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


Solution 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 Remote Desktop Connection when the network profile was set to public. This is because when it was set to public, your computer is protected when taking it in public hotspots and 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


Professional 3rd party remote access software for Windows Server 2016: AnyViewer

If you are looking for a way to achieve remote access more easily, you can use AnyViewer. It is a free and stable remote support tool for different versions of Windows, including Windows Server 2016/2012R2/2019 and Windows 10/8.1/87. Most importantly, it offers you flexible connection modes. As long as you finish a few configuration steps, you can achieve remote connection easily.

Download Freeware Win PCs & Servers
Secure Download

Step 1. Install and run AnyViewer on the host and client computers.

Temporary Code

Step 2. Click on Setting and then Recipient. Tick all three options. Then set the security code you want in the box.

Accept Remote Control

Step 3. If you are trying to control the host computer, you need to know its device ID first. Input the device ID, then you’ll have three choices:

Option 1: You could input a security code to achieve remote connection directly.

Security Code

Option 2: You could input a temporary security code to achieve remote connection directly.

Temporary Security Code

Option 3: You can send a control request; the recipient will receive a pop-up request to control his device. He can either allow the request or deny it.

Request to Control Your Device