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 just removed my vista laptop from domain, but now I cannot login in with local administrator as local admin account is disabled. I have only local user account that works.

What can I do to get admin rights back?

share|improve this question

You might be able to boot from a Rescue is Possible (RIP) Linux disc, mount the hard drive, change into /mnt/mountpoint/WINDOWS/system32/config (or wherever your particular version of Windows is holding the SAM file), then run "chntpw ./SAM"

That application I believe has the ability to enable the account as well as wipe the password. I don't change the password, I just wipe it and reboot to Windows to re-set the password.

You should be able to find the SAM file from your in-Windows user account before trying it so you can get the proper path.

share|improve this answer

I use NT Offline Password Recovery to reset passwords and enable accounts on NT-based systems. If you just read the prompts it's pretty straight-forward.

share|improve this answer

If either of those bother you, or fill you with fear, then add the computer back to the domain, and then enable and reset the local admin account that way.

share|improve this answer
Don't you need to be a local administrator to make changes (such as join it to the domain)...? – Dan Oct 26 '10 at 12:04
Oh ... shoot! (Feels stupid) Ignore my comment! My mind most def was somewhere else. Thanks Dan for correcting me :) – Mister IT Guru Oct 27 '10 at 9:31

Your Answer


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.