How to Bypass the Administrator Password on Windows 10
Forgot your admin password and locked out of your Windows 10 account? It’s a pain, but there’s a workaround to get back in. One trick that works for many is using the Command Prompt in Safe Mode to enable the built-in Administrator account. This can make resetting or changing your password a whole lot easier. Just a heads-up — tread carefully, or you might end up causing more trouble than you solve.
Getting Started
First up, you’ll need to restart your PC. Slightly annoying, I know, but turn it off completely. When you power it back on, hold down the Shift key and select Power > Restart from the Start menu. If you can’t reach the desktop, press and hold the power button to force a shutdown, then turn it on again. Do this a couple of times until you’re taken to the recovery options. Windows loves to send you in circles, doesn’t it?
Once you’re in recovery mode, click on Troubleshoot, then go to Advanced options. From there, select Startup Settings and click Restart. This will reboot your PC into various boot options, including Safe Mode — which is what we need.
Boot into Safe Mode with Command Prompt
After your PC restarts again, you’ll see a list of options. Usually, pressing the number for Enable Safe Mode with Command Prompt will do the trick (often it’s number 6). If not, try hitting F6. In this mode, you’ll be able to run commands without all the graphical extras getting in your way.
Activate the Hidden Administrator Account
In the Command Prompt window that pops up, type in:
net user administrator /active:yes
and press Enter. This command activates the hidden Administrator account, which is usually disabled for security reasons. If you want to set a password for that account, do it like this:
net user administrator <your_new_password>
Log In and Reset Your Password
Once that’s done, reboot your PC and log in using the Administrator account. You probably won’t need a password unless you set one earlier. Once inside, you can change your original user password with this command:
net user <YourUsername> <NewPassword>
Replace <YourUsername>
with your username and <NewPassword>
with your new chosen password. If you prefer a visual approach, you can also head to Control Panel > User Accounts to manage usernames and passwords more comfortably.
Keep in mind, this method isn’t foolproof — some systems have extra security layers that might stop you. Still, it’s a handy trick to have up your sleeve if all else fails.
Tech Tips and Precautions
- Only use this method on devices you own or have explicit permission to access. Tinkering without permission can land you in serious legal hot water.
- Save yourself headaches later by using Windows Credential Manager. You’ll find it under Control Panel > User Accounts > Credential Manager.
- Back up your data regularly with File History or create system restore points via Control Panel > System and Security > System > System Protection.
- Use this as a last resort — changing system settings like this can introduce security vulnerabilities or system instability.
- Be cautious when enabling hidden administrator accounts, as it might open potential security risks if not managed properly.
Answering Your Questions
Is it okay to bypass admin passwords?
Generally, no. You should only do this if you own the device or have explicit permission. It’s a serious matter — misuse can have legal consequences.
Could this damage my computer’s setup?
If you’re not careful, yes. Performing these steps improperly might cause crashes or leave your system more vulnerable. Always proceed with caution. If you’ve finished with the admin account, remember to disable it again using:
net user administrator /active:no
Will this work on all Windows 10 versions?
Most of the time, yes. But some updates, like 20H2 and later, might tighten security or change behaviour, making this trick trickier. It’s worth checking Microsoft’s support pages for the latest info.
Any tips to avoid losing your password again?
Using a good password manager can save you a lot of hassle. Also, consider setting up password hints in Windows for quick reminders.
Can I undo the changes from this process?
Absolutely. Just run the command to disable the Administrator account again:
net user administrator /active:no
and you’re all set.
After doing this, it’s a good idea to create a Password Reset Disk via Control Panel > User Accounts > Create a password reset disk. It’s a lifesaver if you get locked out again.
If you’re looking to boost your account security, enable Two-Factor Authentication. It adds an extra layer of protection and is well worth considering. Use this info responsibly!
Hopefully, this guide saves you a few hours of hassle!