Microsoft WindowsMicrosoft Windows Server

Your Credentials Did Not Work For RDC

In this article, I will show you how to fix the “Your Credentials Did Not Work” error while using (RDP) Remote Desktop Connection feature in Windows 10/8/7.

In Windows 10, we can use the remote desktop feature to connect systems remotely. This blog talks about an issue in which one is related to credentials used in Remote Desktop connectivity.
Genuinely, while connecting systems remotely, recently I received the following error.
Your credentials did not work
The credential that was used to connect to did not work. Please enter the new credentials.
The logon attempt failed.

your credentials did not work

In this issue, I was sure that the credentials were correct. Even it worked fine with other computers but one of my machines start throwing this error.

Using Security Policy Snap-in

1- Select Windows search bar, type local security policy and then select it.

windows search bar

3- Windows Local Security Policy, expand the Local Policies, choose Security Options.
Search for policy setting named Network Security: LAN Manager Authentication level. This is set to Not Defined, by default. Double click on it.

local security policy

4- Choose from the drop down list “Send LM & NTLM – use NTLMv2 session security if negotiated” and then click ok.

lan manager authentication level

Using Group Policy Snap-in

1- Select Windows search bar and type gpedit.msc and then click on it.

windows search bar

2- Computer Configuration/Administrative Templates/System selects Credentials Delegation.
Double click on Allow delegating saved credentials.

local security policy

3- Select Enabled, Under Options, click on Show button.

local security policy

4- Type TERMSERV/* and then click OK – OK.

allow delegating saved credentials

5- Select option Allow delegating saved credentials with NTLM-only server authentication.

local security policy

6- Select enable and click show.

allow delegating saved credentials

7- Enter TERMSERV/* and then click OK – OK.

your credentials did not work

8- Double click to open Allow delegating fresh credentials with NTLM-only server authentication.

local security policy

9- Choose enable and then click on show.

allow delegating fresh credentials

10- Type TERMSERV/* and then click OK – OK.

allow delegating fresh credentials

11- Open Allow delegating default credentials.

local security policy

12- Select enable and then click show.

allow delegating default credentials

13- Type TERMSERV/* and then click OK – OK.

allow delegating default credentials

Please make sure the Deny delegating saved credentials GPO setting at the same path mentioned in step 2 is set to Not Configured.

14- Close GPO snap-in and open command prompt. Type gpupdate /force command or reboot your system to make changes effective.

gpupdate force command

Now you can check your Remote Desktop Connection is working.

For more details click here

Also, read this article: CredSSP Encryption Oracle Remediation

Jamil Parvez

Jamil Pervez works as a Network Administrator, based in Kuwait with a Primary focus on Microsoft technologies. Microsoft Certified MCSE, MCTP, MCITP, CCNP, CCIP, CCVP with 20 years of experience in administering Windows Servers, Exchange, VMWare, Veeam B&R, Veritas BackupExec.

Related Articles

Leave a Reply

Back to top button