• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 671
  • Last Modified:

Enabling the Windows 7 Administrator account

I recently installed a piece of software that required me to disconnect my Windows 7 pc from our local domain. On rebooting the PC I tried to login with the local administrator account (the only local account) and got the message that the account was disabled (forgot that by default it was disabled). I'm unable to login with my domain account obviously. I tried starting the PC with the installation disc, getting to a command prompt and typing "net user administrator /active:yes" which I saw as a solution a number of different places but although it says "command completed successfully" on reboot, while attempting to login to the administrator account, I still get the message that the account is disabled.  How do I enable the account without having to wipe out the whole install?

Thanks for your time.
  • 2
1 Solution
If you are trying to reset a Windows 7 local password and/or enable an account, download the freeware ISO file from here:

Petter Nordahl-Hagen's Offline NT Password & Registry Editor

After you have burned that ISO to disc, boot up into the Linux environment and reset your password.  I have been using this utility to help people with their forgotten Windows passwords for over ten years, and unless the hard drive has actually been encrypted it has worked every time! Here is a comprehensive tutorial on how to utilize it:



There are two important steps within that tutorial that warrant extra attention:

- When you reach the User Edit Menu stage of the process it's best to select "1" to Clear (blank) user password.  You can always change the password to something more secure after you successfully log into Windows with the blank password.

- When you reach Step FOUR: Writing back changes, you will be queried with About to write file(s) back! Do it? [n].  If you inadvertently pressed Enter on this screen the changes won’t go into effect.  You need to specifically type "y" first for the updates to be written to the operating system.
tstarlinAuthor Commented:
Thank you all. I'm not sure what the original commenters name was or how his\her instructions on how to enable a disabled account by offline editing the registry violated (understandable) rules on not revealing pre-existing passwords, but their instructions worked. Again, this had nothing to do with resetting passwords. The administrator account was disabled and I needed to enable it. Thank you original commenter for your insight.
Ok. this is the article for enabling the local administrator account via offline registry editing: http://4sysops.com/archives/offline-enable-the-built-in-administrator-account-in-windows-7-and-vista/.

ModSquad: Most  brute force attacks aren't very successful unless you have physical system access. And frankly if they have that, they already have the "keys to the kingdom".

tstarlinAuthor Commented:

No need to apologies. Thank you for your clarification.
Matt, thank you for your answer to my problem.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now