Forum Discussion

helzayat's avatar
helzayat
Copper Contributor
Nov 25, 2024

User locked out

My Windows 11 installation developed a problem and I could no longer boot into Windows. System Repair did not work, nor did a plethora of attempted solutions from the Troubleshooting command prompt. Eventually I wiped the drive and reinstalled Windows 11. Everything seemed to be fine until I enabled Remote Desktop and tried to connect from my other computer. I got an error that the user (my Microsoft ID) was locked out.
Going back to the machine and running lusrmgr.msc it showed "Account is locked out". Every time I uncheck it or run net user *** /active:yes it eventually locks the account again. I am able to log in on the affected computer locally using this account but not from Remote Desktop. When the account is locked network shares on this computer become unavailable as well.

I added a user with a local account (not a Microsoft ID) and using that I can access the computer remotely and connect to shares. What I don't understand is why  it is locking out my base Windows account.

1 Reply

  • Kodyon's avatar
    Kodyon
    Iron Contributor

    Prioritize resetting your password through the Microsoft account recovery page or unlocking it using security verification.