Are you locked out of your own Windows PC because you cant remember the Administrator password. Don’t worry.
WARNING: We are NOT responsible for any expulsions or such if you do this at school or work!
Follow the steps carefully and gain back access to your computer. 🙂
1. First, restart your computer.
2. Once you get to this screen, hold the power button on the computer until it turns off. (no damage will be done)
3. If you did it correctly, you should get this screen. If you get something like “Windows did not shut down correctly” try again. Then select “Launch Startup Repair”
4. Let the repair go through. If you get this window, select “Cancel”
5. When you get this window, click on “Show problem details” Scroll down, and click the link on the very bottom. Notepad will pop up.
6. Go to File/Open and double-click your. “Local Disk” (Mine is D:/ because I have a virtual machine. Yours will probably be C:/)
7. Go to Windows/System32 . Now do EXACTLY as I say, or you MIGHT break the computer. Under “Files of type” select “All files” Scroll down and find “cmd” then make a copy of it in the same folder (Ctrl-C, Ctrl-V). You should get a file named “cmd – Copy” or something like that.
8. Find “sethc” in the same folder. This file executes sticky keys. Rename it to “sethc 1”
9. Rename your “cmd – Copy” to “sethc” Close notepad, and hit “Finish” to shut down your PC, or just restart it manually.
10. Once you get back to the login screen (where it says “Press Control – Alt – Delete” Ignore my background, I don’t have that enabled), press “Shift” 5 times to open up the command prompt.
11. Next, we need to find out what user is the local administrator for this PC. To do this, type “net localgroup Administrators” and look for any administrator that does NOT have your school/work domain in front of it, followed by a “/ ” As you can see, one of the admins is named “qwaszx” You will probably see a name like this, since schools/workspaces tend to make it a random string of letters and/or numbers to ward off people from entering it.
12. Now, we need to change that account’s password. Type “net user <ACCOUNT NAME HERE> *” and type the new password twice. It will not show what you’re typing, but your keystrokes are being registered. You can now log in to your admin account! However, schools/workspaces also like to disable the admin account you just changed the password for, so you might not be able to log in. There is a simple fix. If you get that message, go to the extra step below.
13. If the admin account is disabled, type “net user <ACCOUNT NAME HERE> /active:yes” You will now be able to log in.
14. You now have full admin rights to the PC. Enjoy!
AGAIN, WE ARE NOT RESPONSIBLE FOR ANY MISTAKES OR DAMAGES TO THE COMPUTER OR NETWORK. DO AT YOUR OWN RISK!