Chntpw
Windows password editing utility on Linux

chntpw or Offline Windows Password & Registry Editor is a software utility for resetting or blanking local passwords used by Windows NT operating systems on Linux. It does this by editing the SAM database where Windows stores password hashes.
01Features
There are two ways to use the program: via the standalone chntpw utility installed as a package available in most modern Linux distributions (e.g. Ubuntu) or via a bootable CD/USB image. There also was a floppy release, but its support has been dropped.
02Limitations
chntpw has no support for fully encrypted NTFS partitions (the only possible exceptions to this are encrypted partitions readable by Linux such as LUKS), usernames containing Unicode characters, or Active Directory passwords (with the exception of local users of systems that are members of an AD domain). The password changing feature is also prone to errors, so password blanking is highly recommended (in fact, for later versions of Windows it is the only possible option). Furthermore, the bootable image might have problems with controllers requiring 3rd party drivers. In such cases use of the stand-alone program in a full-featured Linux environment is recommended.
03Where it is used
The chntpw utility is included in many various Linux distributions, including ones focused on security:
- Kali, security-focused Linux distribution
- SystemRescueCD, recovery-focused Linux distribution
- Fedora, general distribution
- Ubuntu, Linux distribution published by Canonical
04License change
For the software's 10th anniversary, the author changed the license from a non-commercial one to the GNU General Public License (GPL) Version 2.
Sources and credits
This article is adapted from the Wikipedia article “Chntpw”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Images, from Wikimedia Commons:
- Chntpwinitvbox20230911.png by OnionBulb, GPL
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.