Old school trick to reset admin password (copy/paste from reddit)

You just need a Win7 disc:

  • Boot to Win7 disc.
  • Choose “Repair your computer”
  • Open DOS
  • Navigate to C: (or wherever Windows is installed)
  • Type: copy c:\windows\system32\sethc.exe c:
  • Then type: copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe

Then reboot the machine. When the login screen pops up, hit SHIFT 5 times and you’ll get a command prompt. Then type:

  • net user administrator (password)

Obviously, without the parenthesis. Then you can close the DOS prompt and login with the password you just set. If the local admin account is disabled, type:

  • net user administrator /active:yes

This is a really old trick, but is really useful if you’re in a pinch. Where I work, it’s necessary to replace the sticky keys feature, so that’s why you copied it to the C: drive in the first step. You can follow the other steps and just replace it when you’re done.

Comments (1)

  1. 6:50 pm, February 17, 2014Wayne  / Reply

    For those who are GUI orientated, type Explorer at the dos prompt. You are now logged on as SYSTEM.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>