Chntpw

{{short description|Windows password editing utility on Linux}}

{{lowercase}}

{{Infobox software

| name = chntpw

| logo =

| screenshot = Chntpwinitvbox20230911.png

| caption = Screenshot of initial running

| released = {{Start date and age|1997|05|28}}

| language = English

| genre = Data recovery

| developer = Petter Nordahl-Hagen (Formerly Petter Nordahl)

| operating system = Linux

| latest release version = 1.00

| latest release date = {{Start date and age|2014|02|01}}

| license = GPLv2

| programming language = C

| website = {{url|http://pogostick.net/~pnh/ntpasswd/}}

}}

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.

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{{cite web|url=http://www.psychocats.net/ubuntucat/resetwindowspassword/|title=How to reset a Windows password with Ubuntu|date=28 July 2010|author=ubuntucat}}) 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 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.{{cite web|url=http://pogostick.net/~pnh/ntpasswd/faq.html|title=Offline Windows pw & reg-editor, FAQ|accessdate=5 September 2015}}

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{{cite web|url=http://www.linux-magazine.com/Online/Features/Resetting-Passwords-with-SystemRescueCd|title=Resetting Passwords with SystemRescueCd|author=James Stanger|accessdate=5 September 2015}}
  • Fedora – general distribution
  • Ubuntu – Linux distribution published by Canonical

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.[http://pogostick.net/~pnh/ntpasswd/HISTORY.txt The Offline NT Password Editor History] {{webarchive|url=https://web.archive.org/web/20101128092847/http://pogostick.net/~pnh/ntpasswd/HISTORY.txt |date=2010-11-28 }}

References