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:


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!

Leave a Reply

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

Recent Comments

  • Prabhat Jain : Still the same issue. Is there a way to determine which policy/setting...

    5 hours ago

  • ani : I dont see the Bluetooth Device RFCOMM option in the microsoft list...

    21 hours ago

  • Kapil Arya : ^^ Thanks for adding it!...

    22 hours ago

  • svs : In some website isnt mention about the non meter connection is require...

    1 day ago

  • Kapil Arya : ^^ You need to correctly identify the drive on which Windows is instal...

    2 days ago