Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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 http://www.pogostick.net/~pnh/ntpasswd/, 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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