Chntpw

From Leo's Notes
Revision as of 21:39, 5 November 2015 by Leo (talk | contribs) (initial page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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