If you have forgotten the password of a local Windows account, you can remove or change it with NT Password Edit, which is included in Hiren’s BootCD PE. It works with Windows XP, Vista, 7, 8, 10 and 11.
Only use it on your own computer or with the owner’s permission. It does not work with Microsoft accounts (those that sign in with an email address): recover those on Microsoft’s website.
Step by step
- Boot the computer from your Hiren’s BootCD PE USB drive (how to do it).
- Open the Start menu and go to Security → Passwords → NT Password Edit.
- Click open and choose the installed Windows SAM file. It is usually at
C:\Windows\System32\config\SAM. - Select your user in the list and click Change password.
- To set a new password, type it in “New password” and “Verify”. To remove it, leave both fields empty.
- Click OK, save the changes and restart the computer without the USB drive.
If you can’t find the SAM file
Inside Hiren’s BootCD PE, drive letters may change: the drive that holds Windows is not always C:. Open File Explorer and look for the drive that contains the Windows folder.
Alternatives
You can also use Lazesoft Password Recovery, which has a more guided wizard, or Windows Login Unlocker, which can also create a new administrator.