Script for semi-automatic password reset of local Windows users.
Requires: ntfsprogs ntfs-3g chntpw
Script location: /usr/bin/winreset
- All NTFS partitions are automatically detected
- Automatically checks for errors
- Specifying the name of the directory in which Windows is installed (
Windows
by default) - Read SAM and select RID to reset the desired user's password
- Output the result with the new SAM content
Used chntpw: change password of a user in a Windows SAM file, or invoke registry editor. Should handle both 32 and 64 bit windows and all version from NT3.x to Win10. Developer: Petter N Hagen.
How to make a flash drive:
- Download the *.7z archive with the desired desktop and unpack it to a flash drive with a FAT32 file system
- Make the flash drive bootable: a) In Windows - run Flash Drive as Administrator:\boot\syslinux\BootInstall.bat b) In Linux - run in the terminal (su/password) Flash drive/boot/syslinux/BootInstall.bat
- The flash drive is ready
Note: Already tested for resetting Windows-10 passwords.