Lỗi remote the logon attempt failed windows 10 năm 2024

Past few months many users including myself are intermittently receiving the message "The Logon Attempt Failed" when trying to RDP into other computers/laptops (with correct credentials).

We have two aging 2012 AD server, that in all fairness still work well.

The problem seems to be very random, different users and different machines, and in many cases it worked fine hours before.

The issue is usually fixed by simply restarting the target system. In some cases I've had to manually push through any pending Windows Updates and then restart the machine to fix the issue. This can be a pain if its a server that needs to be restarted.

Event viewer on the target machine doesn't show failed logon attempt which is strange, or I'm just not looking in the right place.

Another note: It must to be an issue with the receiving end, because no one can access the machine when the problem arises.

In summary, four solutions are mentioned in this post to help fix the error message “Your credentials did not work” and please enter new credentials 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.

Download Windows Speedup Tool to fix errors and make PC run faster

In the past, we’ve told you the way to enable or disable the Remote Desktop connection and troubleshoot it when it disconnects frequently. While using this Remote Desktop feature on Windows 11/10, one might encounter a The logon attempt failed error. When you connect the system remotely using another version like Windows 7, it may work perfectly, but with Windows 11/10/8.1, one might get this error.

Lỗi remote the logon attempt failed windows 10 năm 2024

In order to fix this hitch, we first ensured that Windows Firewall was set to turn off. We also tried to use Remote Desktop Modern App, but it made no difference in the situation. This solution mentioned on a Technet thread suggests a method, which can fix this issue.

The logon attempt failed for Remote Connections

1. Press Windows Key + R combination, type Firewall.cpl in the Run dialog box and hit Enter to open the Windows Firewall.

Lỗi remote the logon attempt failed windows 10 năm 2024

2. In the above-shown window, click on Allow an app or feature through Windows Firewall, you’ll get the below-shown window. Click Change settings first then in the Allowed apps and features section, scroll down the list to look for Remote Desktop app and put a check mark against it. Click OK.

Lỗi remote the logon attempt failed windows 10 năm 2024

Reboot the machine; your problem should be fixed. However, if your computer is part of a domain, by default you aren’t still allowed to save your credentials when you connect to a remote computer. Here is how you can get rid of this problem:

3. Moving on, press Windows Key + R combination, type put gpedit.msc in the Run dialog box and hit Enter to open the Local Group Policy Editor.

Lỗi remote the logon attempt failed windows 10 năm 2024

4. In the left pane, navigate here:

Computer Configuration -> Administrative Templates -> System -> Credentials Delegation

Lỗi remote the logon attempt failed windows 10 năm 2024

5. Now in the right pane of this location, look for policy setting Allow delegating saved credentials with NTLM-only server authentication and double click on it. Select Enabled and hit Show in the following window:

Lỗi remote the logon attempt failed windows 10 năm 2024

6. Finally, in Show Contents window, put the Value as TERMSRV\Computer Name, where you have to substitute your computer name after TERMSRV\.

Click OK; Apply; OK. Close the Group Policy Editor.

Lỗi remote the logon attempt failed windows 10 năm 2024

So far, we’re done with fixing the issue. All you now need to do is to reboot the machine; your issue should be fixed.

Hope this helps.

UPDATE: Dakota North adds in the comments – TERMSRV/*.* is the correct syntax and it allows all servers.

Related read: Your credentials did not work in Remote Desktop.

An Electrical Engineer by profession, Kapil is a Microsoft MVP and a Windows Insider MVP. Please read the entire post & the comments first & create a system restore point before making any changes to your system.