Supriya Ghosh (Editor)

Chntpw

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Written in
  
C

Available in
  
English

Operating system
  
Linux

Developer(s)
  
Petter Nordahl-Hagen (Formerly Petter Nordahl)

Initial release
  
May 28, 1997; 19 years ago (1997-05-28)

Stable release
  
1.00 / February 1, 2014; 3 years ago (2014-02-01)

chntpw is a software utility for resetting or blanking local passwords used by Windows NT, 2000, XP, Vista, 7, 8 and 8.1. It does this by editing the SAM database where Windows stores password hashes.

Contents

Features

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.

Limitations

chntpw has no support for fully encrypted NTFS partitions (the only possible exceptions to this are encrypted partitions readable by Linux such as e.g. 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 also isn't fully functional either, so password blanking is highly recommended (in fact for latter versions of Windows that's 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.

Where 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
  • BootMed – Linux distribution focused on Windows recovery
  • (along with many others not listed here)
  • License 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.

    References

    Chntpw Wikipedia