This guide shows you how to clear a forgotten password on a local Windows 11 account using the free Hiren's BootCD PE rescue disk and the NTPWEdit tool. It suits anyone locked out of their own PC who wants to keep all files and programs. You need a second working computer and a spare USB drive.
YouTube video: Forgot Windows 11 Password Reset It WITHOUT Losing Data!.
Caption availability is unknown. Check the CC control in the YouTube player.
Choose a chapter (7)
- Video length
- 9 min 55 s
- Time to do it
- 25 minutes
- Difficulty
- Medium
- Steps
- 8
What you need
Steps
On a working PC, download the Hiren's BootCD PE ISO file and the Rufus utility from their official sites. Keep the ISO somewhere easy to find, like your Downloads folder.
Plug in the USB drive. Open Rufus, pick your USB under Device, then choose the Hiren's ISO under Boot selection. Leave the partition scheme as GPT and click START. The drive gets wiped, so move any files off it first.
When Rufus finishes, unplug the USB and put it in the locked PC. Power on and tap the boot menu key, usually F12, F11, F10 or Esc, then pick the USB drive.
Wait while Hiren's BootCD PE loads to its desktop. It runs fully in memory and does not touch your Windows install.
Open NTPWEdit from the desktop or Start menu. Click Open and browse to the SAM file inside Windows\System32\config on your system drive.
Select your user account from the list, click Change password, then OK to clear it or type a new one. Click Save changes before closing the tool.
Close NTPWEdit and restart the PC from the Start menu. Pull the USB out as the machine shuts down so it boots into Windows again.
Sign in with the blank or new password. Open Settings, go to Accounts and Sign-in options, and set a fresh password you will remember.
Tips and common mistakes
This only works on local accounts. A Microsoft account password lives online, so reset it at account.microsoft.com instead.
If BitLocker is enabled, you will need your recovery key after the password change. Find it in your Microsoft account before you start.
If the PC ignores the USB, turn off Fast Boot and Secure Boot in the BIOS and check the boot order.
Only use this on a computer you own. Clearing another person's password is not okay.
Questions
Will this delete my files or programs?
No. NTPWEdit only edits the stored password in the SAM file, so your documents, photos and installed apps stay where they are.
The tool shows my account but nothing changes. What went wrong?
You likely forgot to click Save changes before closing NTPWEdit, or you edited the SAM file on the wrong drive. Reopen the tool and check the path.
Can I set a blank password instead of a new one?
Yes. Leaving the password field empty and saving lets you sign straight in, but Windows may block blank passwords for network shares, so set a real one after.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


