012 – Reset a Windows User password

This method uses grub4dos and the ISO file for the Offline NT Password and Registry Editor latest release 110511 (2011-05-11). It clears or resets a users password.

This is just a quick guide on how to make a bootable USB drive (e.g. flash memory pen drive) which will allow you to boot from it and reset a Windows XP/Vista/7 user account password. This is useful if a user has forgotten their Windows user password or you need to boot a system in an emergency and you do not know the users password (e.g. a member of staff has left work and you need to gain access to their work PC).

To use the USB pen to reset a user account password:

  1. Switch on the target PC/notebook and boot from the USB drive (change BIOS boot order settings if required)
  2. At the grub4dos menu, just press {Enter} to select the Windows Password reset option
  3. When the system boots, press {Enter} again as prompted.

FIRST WARNING: There is a very small but real possibility that this operation could make the target computer inaccessible (especially if you don’t know what you are doing!). I suggest you make a backup of the disk first if the data on that disk is really important.

SECOND WARNING: If a drive volume has been encrypted (Encrypted File System or EFS) , as the encryption key is based on the user password, if you reset the user password you will NEVER be able to access the files on tah encrypted volume again. For this reason do NOT use this to reset the password if you think a volume may use an encypted filesystem. Beware!!! Resetting a user’s or administrator’s password on some systems (like Windows XP) might cause data loss, especially EFS-encrypted files and saved passwords from within Internet Explorer. To protect yourself against EFS-encrypted file loss you should always export your Private and Public key, along with the keys for the Recovery Agent user. If you are unsure, try ophcrack first to see if you can find out the users password – ophcrack is non-invasive and will not alter any files on the target system.

Note: As you can see from the description below – it is easy to clear a users Windows password. It is even easier to access files on an unencrypted system. For this reason Windows PCs that need to be secure should use an encrypted filesystem – however be warned that should an emergency arise and you really need to access the files on that system – you can’t unless you know the password (that is why it is called ‘Secure’)! So before you use an Encypted File system or a product such as TrueCrypt or RM EasiLock/DesLock, think about what data is stored on that PC and what would happen if you needed to access that data but did not know the password (e.g. Mrs Jones got run over by a bus and only she knew the password to your accounts computer).

  1. Create a bootable USB drive using RMPrepUSB (download from this website):
  2. Select your USB drive then set 1=MAX, 2=WinInst, 3=WinPE,4=FAT32 (or NTFS) + Boot as HDD, untick the Copy Files box – then click 6 Prepare Drive
  3. Click on Install grub4dos button (choose Yes=PBR (and repeat again and choose No=MBR for max compatibility)
  4. Download the Offline NT Password and Registry Editor ISO file and copy the iso file to the USB Drive using cd version cd110511.iso
  5. Using Notepad, create a menu.lst file on the USB drive with the following contents:
  6. title Windows Password reset
  7. find –set-root /cd110511.iso
  8. map /cd110511.iso (0xff)
  9. map –hook
  10. chainloader (0xff)
  11. Your USB drive should now contain 3 files: menu.lst, cd110511.iso and grldr
  12. Eject the drive (using RMPrepUSB, or right-click – Eject or Safely Remove Hardware from system tray). You can check it boots correctly first using RMPrepUSB F11 (run QEMU).
  1. STEP 1 – The ‘Candidate Windows partitions found:’ text will inform you if it found any possible Windows installations. Enter the number of the partition that the Windows installation that you wish to reset (e.g. ‘1’).
  1. You should now be asked to enter the path to the registry – it is normally already set for you – e.g.:What is the path to the registry directory? (relative to windows disk) [WINDOWS/system32/config] :Windows/system32/config is the usual place for the Windows registry and SAM files – you will be warned if this cannot be found.
  2. Press {Enter} (or change the path as required and press {Enter})
  3. STEP 2 – You will now be prompted for which part of the registry you want – type ‘1’ for Password Reset.
  4. STEP 3Type ‘1’ for Password edit.
  5. A list of users will now be displayed:
  1. The Locked column indicates a disabled account (dis/locked) or one with no password set (BLANK). Accounts with Admin rights are shown in the Admin? column.
  2. Type in the name of the user account you want to reset the password on. Note that the Administrator account (RID=01fd) on Vista and Windows 7 is normally disabled, so choose a different Admin account.
  3. Type ‘1’ to clear (blank) the user password.
  4. Type ‘!’ to finish the editing – you now need to save the changes to disk and make the change permanent…
  5. Type ‘q’ to quit and press ‘y’ to save the changes.
  6. Type ‘n’ if you don’t want to do another edit – ignore the message ‘sh: can’t access tty; job control turned off’, remove the USB drive and and press CTRL-ALT-DEL to reboot and test the changes.

Note: The Offline NT and Password Registry Editor is also included on the Ultimate Boot CD (UBCD) under the menu Hard Disk – Data Recovery.

Easy2Boot (E2B) is popular multiboot USB solution that also contains agFM and Ventoy. It supports both Legacy and UEFI.
Simply copy on your bootable ISO files to the E2B USB drive and boot! Boot to DOS, Linux, Windows Install ISOs (XP>Win11),
automate Windows installs, WIM files, VHD files, images of flash drives, Linux ISO+persistence, etc.
E2B is unique in that it uses partition images which allows you to directly boot from Secure Boot images (no need to disable Secure Boot or run MOK manager or modify your UEFI BIOS).

eBooks (multi-buy discount 10%)

The following eBooks (in PDF format) are available from the developer (rated 4.5/5 stars).

Also visit Easy2Boot.xyz and the my blog – please subscribe for the latest news, tips, USB boot articles and news of free eBook updates.