How to Reset a Forgotten Windows Password (Without Losing Your Data)
Learn how to hack a Windows password in 2026.

You sit down at your computer, hit the power button, and wait for the familiar login screen. Then it hits you: you have absolutely no idea what your Windows password is. Maybe you changed it recently and forgot to write it down. Maybe you’ve been using biometric login for so long that the actual password has slipped your mind.
Whatever the reason, being locked out of your own machine is frustrating. The good news? You can reset a lost Windows password without losing any of your files, photos, or installed software. This guide walks you through several reliable methods, from the simplest online recovery to more advanced techniques that work on any version of Windows.
________________________________________
Before You Start: Important Things to Know
• Windows passwords aren’t stored in plain text. They are encrypted inside a protected database called the SAM (Security Account Manager) file. Most password reset methods work by clearing or replacing the encrypted hash – not by “cracking” the original password.
• Your personal data is safe. None of the methods described here will delete your documents, music, or applications. Only the password is affected.
• Choose the right method for your situation. If you use a Microsoft account, the online reset is easiest. For local accounts, you’ll need a bootable USB or the recovery environment.
Method 1: Use PASS REVELATOR WINDOWS

Pass Revelator offers an alternative: a bootable USB tool that automates the process. You download their software onto a USB drive, boot your computer from it, and in a few clicks, it locates and neutralises the local account password. Your files, photos, and applications remain completely intact. It works on most PCs (Windows Vista to 11, BIOS or UEFI). However, it has two major limits: it does not work on Microsoft online accounts (those tied to an email address) nor on BitLocker-encrypted drives.
You can download it from its official website: https://passwordrevelator.net/en/unlock-windows-account-without-password
Method 2: Reset Your Microsoft Account Password Online
If you log into Windows using a Microsoft email address (e.g., [email protected], [email protected], or even a linked Gmail), you can reset your password from any internet connected device. You don’t even need access to your locked computer.
Step by step:

1. On a phone, tablet, or another computer, go to the official Microsoft password reset page:
https://account.live.com/resetpassword
2. Select “I forgot my password” and enter your Microsoft account email.
3. Microsoft will send a verification code to your recovery email address or phone number (whatever you set up earlier).
4. Enter the code, then choose a new, strong password.
5. Go back to your locked Windows PC. On the login screen, simply type the new password. You’re back in.
Note: This method only works for Microsoft accounts. If you see “Local Account” below your username on the login screen, skip to the next methods.
________________________________________
Method 3: Activate the Hidden Built in Administrator Account (Windows 10/11)
Every Windows installation has a secret built in Administrator account that is disabled by default. You can turn it on from the recovery environment, log into it (it has no password), and then reset your regular account’s password.
What you need:

• Access to the Advanced Startup Options menu (no external USB required).
Steps:
1. On the Windows login screen, hold down the Shift key on your keyboard.
2. While holding Shift, click the Power icon (bottom right) and select Restart. Keep holding Shift until the computer begins to reboot.
3. The computer will boot into the Advanced Startup Options (blue screen).
4. Go to Troubleshoot → Advanced Options → Command Prompt.
5. A black command prompt window will appear. Type the following command and press Enter:
net user administrator /active:yes
You should see a message saying “The command completed successfully.”
6. Close the command prompt and click Continue to exit the recovery environment and return to the login screen.
7. You will now see a new user account named Administrator. Click on it – it has no password by default.
8. Once logged in, right click the Start button and select Computer Management.
9. Expand Local Users and Groups → Users.
10. Find your original account name, right click it, and choose Set Password.
11. Click Proceed (read the warning – it’s fine because you’re resetting your own account).
12. Enter a new password, confirm it, and click OK.
13. Log out of the Administrator account and log back into your own account with the new password.
Security reminder: After you regain access, go back to Command Prompt (run as Administrator) and disable the hidden Administrator account with:
net user administrator /active:no
________________________________________
Method 4: The Utilman.exe (Sticky Keys) Trick – Works on Any Windows Version
This method has been around for years because it exploits a small oversight in Windows. The Ease of Access button (the little person with a clock icon) runs a program called Utilman.exe. If you replace that program with a command prompt, you can launch a command prompt from the login screen and reset any password.
⚠️ You will need a Windows installation USB drive or DVD (or any bootable Windows recovery media). If you don’t have one, you can create one for free using Microsoft’s Media Creation Tool on another computer.
Detailed walkthrough:
Step 1 – Boot from the Windows installation media
• Insert your USB drive or DVD.
• Restart your computer and enter the boot menu (usually F12, F2, DEL, or ESC during startup).
• Select the USB/DVD as the boot device.
• When the Windows Setup screen appears, click Next, then click Repair your computer (bottom left corner).
Step 2 – Open Command Prompt from recovery
• For Windows 10/11/8: Troubleshoot → Advanced Options → Command Prompt.
• For Windows 7/Vista: Repair your computer → select your OS → Command Prompt.
• For Windows XP: At the welcome screen, press R for Recovery Console, then select your Windows installation (usually 1).
Step 3 – Find your Windows drive letter
When the command prompt opens, the drive letters may be different than usual. Type:
C:
dir
Look for the Windows folder. If you don’t see it, try D:, E:, etc., until you find the correct drive. Let’s assume it’s C:.
Step 4 – Replace Utilman.exe with cmd.exe

Navigate to System32:
cd C:\Windows\System32
Back up the original Utilman.exe:
copy utilman.exe utilman.exe.backup
Then replace it with a copy of cmd.exe:
copy cmd.exe utilman.exe
When asked to overwrite, type Y and press Enter.

Step 5 – Restart normally
• Close the command prompt.
• Click Continue to exit recovery (or just restart).
• Remove the USB/DVD so the computer boots into your normal Windows.
Step 6 – Launch command prompt from the login screen
On the Windows login screen:
• Click the Ease of Access button (bottom right corner, looks like a clock with a person).
• Or press Windows + U on your keyboard.
Instead of accessibility tools, a command prompt will pop up.
Now reset your password. Replace YourUsername with your actual account name and NewPassword123 with your new password:
net user YourUsername NewPassword123
If you don’t remember your username, list all users:
net user
Alternatively, create a brand new administrator account:
net user TempAdmin MyNewPass /add
net localgroup Administrators TempAdmin /add
Then log in with TempAdmin and reset your original account’s password from within Windows.
Step 7 – Restore the original Utilman.exe (recommended)
After you’ve successfully logged back into your account, it’s a good idea to restore the original Utilman.exe so the Ease of Access button works correctly.
Repeat Steps 1–3 to boot from the USB again and open Command Prompt. Then navigate to C:\Windows\System32 and run:
del utilman.exe
ren utilman.exe.backup utilman.exe
Restart.
________________________________________
Method 5: Password Reset Disk (If You Prepared One in Advance)
A password reset disk is a USB flash drive that stores a special recovery key tied to your local user account. You must create it before you forget your password – it cannot be made afterwards. Microsoft’s built in “Forgotten Password Wizard” lets you create one when you still have access.
If you already have a password reset disk:
• On the Windows login screen, click Reset password (or “I forgot my password”).
• Insert the USB drive.
• Follow the on screen wizard to create a new password.
If you don’t have one:
Consider making one right now (after you regain access) to save yourself future headaches. Go to Control Panel → User Accounts → Create a password reset disk.
________________________________________
Method 6: Third Party Password Recovery Software
If the built in methods are too technical or don’t work, several reputable third party tools can reset Windows passwords. Most run from a bootable USB and work by modifying the SAM database directly.
- chntpw (Offline NT Password & Registry Editor) A classic Linux based tool that boots from USB and lets you blank or change any local account password. Works on all Windows versions.
- Hiren’s BootCD PE A full Windows PE environment that includes password reset utilities, file managers, and other recovery tools.
How to use chntpw (brief overview):
1. Download the chntpw ISO and write it to a USB using Rufus or Etcher.
2. Boot from that USB.
3. Follow the on screen prompts to select your Windows partition and the SAM file.
4. Choose the user account and select option “1” to clear the password (or “2” to set a blank password).
5. Reboot – the account will have no password.
Most tools are safe, but always download from official sources to avoid malware.
________________________________________
Method 7: Manual SAM File Editing (Advanced Users Only)
This method is for IT professionals or experienced users. It involves booting into a Linux live environment, mounting the Windows drive, and manually editing the SAM registry hive using tools like chntpw or bkhive. Because it’s complex and error prone, most people should stick to the methods above.
If you’re comfortable with the command line and registry structures, the SAM file is located at C:\Windows\System32\config\SAM. You can load it into a registry editor from another OS and clear the password hashes.
________________________________________
Preventing Future Lockouts
After you’ve regained access, take a few minutes to prevent this from happening again:
• Create a password reset disk (Control Panel → User Accounts).
• Link your local account to a Microsoft account – then you can always reset online.
• Set up security questions (if available in your Windows version).
• Use a password manager to store all your credentials securely.
• Enable PIN or biometric login (fingerprint / Windows Hello) as a backup.
________________________________________
Final Thoughts
Being locked out of your own computer is stressful, but it’s almost never a disaster. With a bootable USB drive and a few commands, you can reset any Windows password without losing a single file. The Utilman trick is the most universal method, but the hidden Administrator account method is even simpler on modern Windows 10/11 machines.
Remember: these techniques are meant for recovering your own accounts. Using them on someone else’s computer without permission is illegal. Stay ethical, stay safe, and never forget to create that password reset disk for next time.
________________________________________
Have you successfully reset a Windows password using one of these methods? Share your experience in the comments below!
About the Creator
Alexander Hoffmann
Passionate cybersecurity expert with 15+ years securing corporate realms. Ethical hacker, password guardian. Committed to fortifying users' digital safety.
Enjoyed the story? Support the Creator.
Subscribe for free to receive all their stories in your feed. You could also become a paid subscriber, letting them know you appreciate their work.
Comments
There are no comments for this story
Be the first to respond and start the conversation.