Windows 10 Account locked out. How to unlock ? (I have a password reset disk but that did not help)

0

Account is locked out on Windows 10. There is no other account. I disabled Admin Account.

I went thru the motions of password reset disk (USB) thinking that would help, but it's no use. After I retype new password, confirm, click next.. it says "An error occurred".

It kind of makes sense as I know the password, I have not forgotten it, so I don't want to reset, I want to unlock the Account.

Is there a command line to unlock the account?

EDIT: My question was about unlocking my existing account, not enabling the default Admin account. Whether that other question/answer will actually work for my case, I don't have time right now to download ISO's and follow thru with the procedure to confirm such. Maybe next time, but for now I've gone with the Linux way.

joedotnot

Posted 2019-04-16T14:53:39.217

Reputation: 273

2

Possible duplicate of How to get rights of admin after I disabled all admin accounts in my computer

– Ramhound – 2019-04-16T20:43:46.470

If you don’t have time to download a Windows ISO, then why was the answer, that requires a Linux ISO accepted? How you unlock the account is to enable the default Administrator user, a password reset won’t by itself, unlock the account if it’s locked. The duplicate question also doesn’t require an ISO, booting into the Advanced Startup, would also work. – Ramhound – 2019-04-22T11:53:38.443

Answers

0

You need a bootable linux media that has the chntpw command.

The chntpw linux command has the ability to unlock your account. However, I have never gotten the set password to work. In fact, setting a password from this utility, for me, has always broken the password. The only option I know works for certain is the clear password option.

Unlocking your account and clearing the password are 2 different menu options.

Once you login with no password you can change the password back from within windows.

cybernard

Posted 2019-04-16T14:53:39.217

Reputation: 11 200

yes ok. i've done the linux option in the past to reset the SAM but was hoping there is a Windows cmd line option. So far i found NET USER but it does not respond well ! – joedotnot – 2019-04-16T15:03:22.973

The question is the NET USER command requires that you be logged in the machine with admin privileges. If your account is locked, how are you logging in? Are you booting off of some kind of CD/DVD/ or USB? – cybernard – 2019-04-16T15:07:40.517

I restarted to the troubleshoot option.. (Hold down Shift while restart). It gave me option to go into cmd prompt. When cmd prompt came up, i actually could log in using the locked out account (thats how far i got) – joedotnot – 2019-04-16T15:15:14.370

At the command prompt what happens if you type compmgmt.msc – cybernard – 2019-04-16T15:16:59.423

compmgmt.msc is not recognized as an internal or external cmd; the prompt says X:\windows\system32> which is strange because i have a C:\ not an X:\ – joedotnot – 2019-04-16T15:22:27.847

change to the C: drive, and verify it has the windows folder, or find the drive with the windows folder on it that is NOT x: try C:\Windows\System32\compmgmt.msc Changing C: to whatever drive you find windows on. – cybernard – 2019-04-16T15:26:04.053

i found the cmd compmgmt.msc but when i run it.. a dialog box pops up with "No such interface supported".. when i Ok it on the cmd line it says "Access is denied." (because it appears i need elevation..too bad.. cant elevate myself with sudo) – joedotnot – 2019-04-16T15:31:15.003

Get a bootable linux media with chntpw and clear the password. Then you won't have to keep struggling on in this mode. – cybernard – 2019-04-16T15:34:21.600