Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Windows 7 Professional machine that has accidentally been removed from the active directory on the domain controller. Therefore the network does not recognize this machine and the machine cannot recognize the network. I understand that I need to log onto the local Windows machine in order to add the computer back to the domain. However, the local administrator has been disabled from that Windows machine.

Is there a way to work around this? In other words, how can I get back into the local machine without having to wipe away the OS and start over?

share|improve this question
up vote 6 down vote accepted

You could try taking the network cable out, reboot it and try logging it on off the network, if you have logged on recentley to it with an admin account then it should have cached the password.

Failing that take a look at, this has worked for me in the past

share|improve this answer
I have also used pogostick for similar situations and it worked for resetting the local Administrator's password so I could log in and re-add it to the domain. – Sean Staats May 19 '11 at 15:22

You could boot from a rescue/installation-cd and get into the command prompt then run this to enable the Administrator:

net user administrator /active:yes
share|improve this answer

When there are no other administrator accounts, I believe Windows 7 re-enables the built-in one. Try booting in safe mode. Failing that, there is likely a boot disk out there that can handle this.

share|improve this answer

protected by HopelessN00b Jan 16 '15 at 16:50

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

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.