Super User is a question and answer site for computer enthusiasts and power users. 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

This question already has an answer here:

i by accident made myself into Administrator for networking purposes; this i thought at first wouldn't be a problem but then i noticed.

I am a paranoid person, i have my UAC maxed, so without admin verification i cannot install nor more or overwrite files. Now, since i do not know the administrators password i cannot do this; it doesn't even work to go into cmd. "Allowance denied"

I am this limited so that all i really can do i use the computer without making a change. This is an old computer of mine and administrator password for the other user is impossible for me to remember since it's my ex-wifes account.

Please help me out, i tried system rollback but that needs UAC verification.

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, KronoS, Brad Patton, Tog, Mokubai May 13 '13 at 20:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You won't be able to make yourself an Administrator without access to an Administrator account. – Ramhound May 13 '13 at 11:31

Hack your way into Windows 7 or 8 using startup repair (, or from an Ubuntu live cd/usb boot device: Mount the C: drive after booting Ubuntu, rename the /[mount]/windows/system32/sethc.exe to sethc.bak and copy /[mount]/windows/system32/cmd.exe to /[mount]/windows/system32/sethc.exe. Don't forget to remove the boot device.

After rebooting to the Windows login screen and pressing left-shift 5 times, you get a command window running as localsystem on the login screen.

To add the user of your choice to the local administrators group (but not reset any passwords), issue the following command:

net localgroup administrators <username> /add

Or, if you just want to reset your administrator's password, issue the following command:

net user <adminusername> <newpassword>

After this, reboot to Ubuntu to reverse the changes made to sethc.exe, and reboot into Windows.

share|improve this answer
once again proving that physical access == root access. – Frank Thomas May 13 '13 at 11:54
@Frank: Yup, even an ordinary bios password can be reset. Only when the C: drive is completely encrypted the system is safe. – Eelco L. May 13 '13 at 12:16

Not the answer you're looking for? Browse other questions tagged .