Forgetting your Windows 10 admin password can be a frustrating experience, potentially locking you out of your own computer. Whether you’ve inherited a used computer, forgotten your password, or need to regain access after a security breach, knowing how to reset the admin password is crucial. In this comprehensive guide, we’ll explore various methods to reset your Windows 10 admin password, ensuring you can regain access to your system without losing data.
1. Using Microsoft Account
If you use a Microsoft account to log into Windows 10, resetting your password is relatively straightforward:

- Go to the Microsoft password reset page.
- Enter your Microsoft account email or phone number.
- Choose how you want to verify your identity (email, phone, or alternate email).
- Follow the on-screen instructions to create a new password.
- Use the new password to log into Windows 10.
Pro Tip: Ensure your Microsoft account has up-to-date security information, such as a current phone number or secondary email, to facilitate easier password resets.
2. Safe Mode with Command Prompt
For local accounts, using Safe Mode with Command Prompt is an effective method:

- Restart your computer and press F8 repeatedly to enter Advanced Boot Options.
- Select “Safe Mode with Command Prompt.”
- Log in using the built-in admin account (often enabled in Safe Mode).
- In the Command Prompt, type:
net user administrator NewPassword
- Replace “NewPassword” with your desired password and press Enter.
- Restart your computer and log in with the new password.
Troubleshooting: If F8 doesn’t work, try holding Shift while clicking Restart, then navigate to Troubleshoot > Advanced options > Startup Settings > Restart. If you’re stuck on the boot menu, you may need to try additional troubleshooting steps.
3. Local Users and Groups
For those comfortable with Windows administrative tools:

- Press Win + R, type
compmgmt.msc
, and press Enter. - Navigate to “Local Users and Groups” > “Users.”
- Right-click the Administrator account and select “Set Password.”
- Follow the prompts to set a new password.
This method is particularly useful when you have access to another admin account on the same computer. If you’re having issues with your Windows 10 PIN not working, you can use this method to reset it as well.
4. Password Reset Disk
If you’ve proactively created a password reset disk:
- Insert the password reset disk into your computer.
- At the Windows login screen, click “Reset password.”
- Follow the Password Reset Wizard to create a new password.
Important: Create a password reset disk when setting up your account to avoid future lockouts. This method only works if you’ve created the disk before forgetting your password.
5. Bootable Windows 10 USB Drive
For more advanced users:
- Create a bootable Windows 10 USB drive using another computer.
- Insert the USB drive into the locked computer and boot from it.
- At the Windows Setup screen, press Shift + F10 to open Command Prompt.
- Type
notepad
and press Enter to open Notepad. - Click File > Open, navigate to your Windows drive (usually C:), and open the file
C:\Windows\System32\config\SYSTEM
. - Replace the contents with:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\000003E8]
"F"=hex:00,00,00,00
- Save the file and restart your computer.
- You should now be able to log in without a password.
Caution: This method temporarily disables the admin password. Be sure to set a new password immediately after regaining access. If you encounter issues, you may need to repair Windows 10 without a CD.
6. Linux Live USB
For those familiar with Linux:
- Create a Linux Live USB (e.g., Ubuntu) using another computer.
- Boot the locked computer from the Linux USB.
- Open Terminal and install chntpw:
sudo apt-get install chntpw
- Mount the Windows drive:
sudo mount /dev/sdaX /mnt
(replace X with the correct partition number) - Navigate to the Windows/System32/config directory:
cd /mnt/Windows/System32/config
- Run chntpw:
sudo chntpw -u Administrator SAM
- Follow the prompts to clear or change the password.
- Restart and log in to Windows with the new password.
This method is powerful but requires some Linux knowledge and carries risks if not done correctly.
Third-Party Password Reset Tools
Several third-party tools can help reset Windows passwords:

- Passfab 4WinKey: User-friendly with a high success rate.
- PCUnlocker: Professional-grade tool for bypassing Windows passwords.
- iSunshare Windows Password Genius: Reliable and easy to use.
Warning: Only download these tools from official sources to avoid malware risks.
Preventive Measures and Best Practices
To avoid future password issues:
- Use a password manager to create and store strong, unique passwords.
- Enable two-factor authentication on your Microsoft account.
- Regularly back up your important data to prevent loss during password resets.
- Consider using a local account with a separate admin account for system changes.
If you’re prone to forgetting passwords, learn how to unlock your computer without a password for future reference.
Conclusion
Resetting your Windows 10 admin password can be achieved through various methods, each suited to different situations. Whether you prefer using built-in Windows tools, command-line operations, or third-party software, there’s a solution for every scenario. Remember to choose the method that best fits your technical comfort level and specific circumstances.
FAQs
- Can I reset my admin password without losing data? Yes, most methods described here allow you to reset the password without data loss.
- What if I don’t have a Microsoft account? Use local account methods like Safe Mode with Command Prompt or a password reset disk.
- Is it safe to use third-party password reset tools? While many are safe, only download from reputable sources and use with caution.
- Can I reset the password if I don’t have access to another admin account? Yes, methods like using a bootable USB or Linux Live USB can help in such cases.
- How can I prevent forgetting my password in the future? Use a password manager, enable two-factor authentication, and consider creating a password hint. You can also learn how to unlock your laptop if you forget the password.
By following this guide, you should be able to regain access to your Windows 10 system and set a new admin password. Remember to always prioritize security and keep your login information safe and updated. If you encounter persistent issues, such as error 0xc0000098 in Windows 10, you may need to seek additional technical support.