Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Windows 7 Professional machine with the administrator account disabled, and the local user account is locked out. Is there any way to unlock this machine?

share|improve this question

migrated from serverfault.com Mar 17 '11 at 4:07

This question came from our site for professional system and network administrators.

add comment

5 Answers

up vote 10 down vote accepted

You can wait for the account lockout to expire. This depends on your GPO but these should be the defaults. The default settings are:

  • Account Lockout Duration = 30 minutes
  • Account lockout threshold = 5 invalid log on attempts
  • Reset account lockout countdown after = 30 minutes

Alternatively, you could reset the password if you have to, if you have the legal right to do so.

You can also enable the admin account from the offline NT password and registry editor, which is mentioned in the post linked above about resetting passwords.

To re-enable a disabled account, right click on "My Computer" on the desktop or start menu and choose manage. Under "Local Users and groups" click "Users". Inside "Users" you will see the Administrator account. Double click to bring up properties and un-check the "account is disabled" and close the properties panel. Then right click the administrator user to set the password of your choice.

You may also want to look into creating a password recovery disk. See here

share|improve this answer
    
@Camop - Thank you for the quick reply - do you know what the default "account lockout" expiration time is? –  Doug Mar 16 '11 at 21:31
1  
added to my answer :) –  Campo Mar 16 '11 at 21:34
    
@Campo - You Rock!! –  Doug Mar 16 '11 at 21:38
3  
My pleasure! All about giving back :) –  Campo Mar 16 '11 at 21:41
add comment

Open Command Prompt. Type in:

net user administrator /active:yes
share|improve this answer
    
Please add a bit of explanation. A black-box answer might solve the problem at hand, but doesn't help OP further on. –  vonbrand May 13 '13 at 20:26
add comment

There are lots of methods for you to unlock the windows 7 admin account. You can reset the password with a system repair disk:

  1. Boot the computer with the disk.
  2. Come to the system recovery options to open a command window.
  3. Type: "copy c:\windows\system32\sethc.exe c:\".
  4. Type: "copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe".
  5. Close the window and restart the computer.
  6. Come to the login screen, press Shift key 5 times, a command window will be opened.
  7. Type: "net user (account name) (password)" and hit Enter Key.
  8. Login windows with the new password.

You can also try another methods like windows password reset tool. Password reset tools can help you to create a bootable disk. With the disk you can easily reset the password. There are lots of password reset tools. I recommend Windows Password Buster.

share|improve this answer
add comment

You need to log on first to active administrator account, and your user password is locked, Without a password reset disk, try these Windows password reset tools, Ophcrack, or Windows Password Breaker works well, i used before, could remove password.

share|improve this answer
add comment

kon-boot (in bios have the burned image cd/dvd to boot first) will log you in as administrator then you can do what is needed.

version 1.0 or 1.1 ,I've used both working on passworded Vista machines requested by the owner.

I'm sure this would also work on win7

share|improve this answer
add comment

protected by Community Feb 14 at 2:33

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.