chntpw
A utility that can edit windows registry, reset user password, promote users to administrator by modifying the Windows SAM.
Boot target machine with live cd like Kali Linux and run with elevated privileges.
- List all users in the SAM file:
chntpw -l {path/to/sam_file}
- Edit [u]ser interactively:
chntpw -u {username} {path/to/sam_file}
- Use chntpw [i]nteractively:
chntpw -i {path/to/sam_file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).