Jump to content

chntpw

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Silikonz-alt (talk | contribs) at 14:01, 25 April 2023 (Where it is used: capit.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

chntpw
Developer(s)Petter Nordahl-Hagen (Formerly Petter Nordahl)
Initial releaseMay 28, 1997; 27 years ago (1997-05-28)
Stable release
1.00 / February 1, 2014; 10 years ago (2014-02-01)
Written inC
Operating systemLinux
Available inEnglish
TypeData recovery
LicenseGPLv2
Websitepogostick.net/~pnh/ntpasswd/

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

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[1]) 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 later 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.[2]

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[3]
  • Fedora – general distribution
  • Ubuntu – Linux distribution published by Canonical
  • (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.[4]

References

  1. ^ ubuntucat (28 July 2010). "How to reset a Windows password with Ubuntu".
  2. ^ "Offline Windows pw & reg-editor, FAQ". Retrieved 5 September 2015.
  3. ^ James Stanger. "Resetting Passwords with SystemRescueCd". Retrieved 5 September 2015.
  4. ^ The Offline NT Password Editor History Archived 2010-11-28 at the Wayback Machine