Chntpw
From Leo's Notes
This page was last edited on 5 November 2015, at 21:39.
The chntpw Linux utility lets you reset a Windows user account password.
Usage
Boot into a live CD with the utility. Clonezilla conveniently has this built in.
# Mount your Windows partition
mount /dev/sda1 /mnt
# Locate the SAM database
cd /mnt/Windows/System32/config
file SAM
SAM: MS Windows registry file, NT/2000 or above
# Edit or clear the password using chntpw
chntpw SAM