chntpw
A utility that can edit windows registry, reset user password, promote users to administrator by modifying the Windows SAM. tldr-pages
On Linux
Linux
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_fileIdentifyEdit user interactively
chntpw -u username path/to/sam_fileIdentifyUse chntpw interactively
chntpw -i path/to/sam_fileIdentify