Skip to content

Learn how to fix "Logon failure: unknown user name or bad password" error while joining domain/shared PC in Windows 10/8/7, in this post.

This article addresses the issue of not being able to join domain or a shared PC in Windows 10. In this case, when you try to join the password protected network and enter your valid and correct credentials, you still can’t join the network.

This is the error message you see instead:

Logon failure: unknown user name or bad password.

FIX Logon Failure: Unknown User Name Or Bad Password While Joining Domain In Windows 10

One of the cause to this problem may be that Windows network credentials cache has cached different/recent password and Windows keep trying that one instead of your entered one. This might also happen due to mess-up of permissions for victim user account. Worth the mention here, that you must review Windows Firewall settings too, in case if they’ve blocked you to join domain.

For initial troubleshooting, you may try enabling network discovery, file and printer sharing and password protected sharing and see if that helps.

Else here is what you can do to fix this issue:

FIX: Logon Failure: Unknown Username Or Bad Password While Joining Domain In Windows 10/8/7

Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

1. Press W8K + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.

Windows 10 Registry Editor

2. In the Registry Editor window, navigate to following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

FIX Logon Failure: Unknown User Name Or Bad Password While Joining Domain In Windows 10

3. At the Lsa registry key, in the right pane, right click and select New > DWORD Value. Name the newly created registry DWORD (REG_DWORD) as LmCompatibilityLevel. Double click on this DWORD to modify its Data.

FIX Logon Failure: Unknown User Name Or Bad Password While Joining Domain In Windows 10

4. Finally, set the Value data to 1 and click OK, close Registry Editor. Reboot the system and re-try to join the domain or shared machine with which you’re facing issue. You’ll find that the problem no longer exists now.

Hope this helps!


Facebook Google+ Twitter

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Comments

  • Kapil Arya : ^^ Please recheck, it must be there :)...

    15 hours ago

  • Aditya Rathee : In step 8, I couldn't find {6B3B8D23-FA8D-40B9-8DBD-B950333E...

    1 day ago

  • Kevin ONeill : Doesn’t work on surface pro 2. Terrible machine. I’ll NEVER ...

    2 days ago

  • Kapil Arya : ^^ Refer: https://www.kapilarya.com/there-was-a-problem-refr...

    2 days ago