Offline NT Password & Registry Editor, Bootdisk


I've put together a single floppy which contains things needed to edit the passwords on most systems. It uses Linux as the OS, because it's freely distributable, easy to program, and supports compressed bootdisks/ramdisks.

The bootdisk supports standard (dual)IDE controllers, and most SCSI-controllers with the drivers supplied in a seperate archive below. It does not need any other special hardware, it will run on 486 or higher, with 16mb ram or more.

There's full FAT filesystem support, including long filenames (VFAT) but only limited NTFS support through Martin von Löwis NTFS utilities for Linux.

If there's problems with accessing the disks using this bootfloppy move the harddrive to another NT-machine to access the sam-file, and try out
Grenier's DOS port


How to use?

What can go wrong?

Lots of things can go wrong, but most faults won't damage your system.

The most critical moment is when writing back the registry files to NTFS. Also, the file written back may be corrupt (from chntpw messing it up), preventing your NT system from booting properly. YOU HAVE BEEN WARNED! One indication of a corrupt SAM is that the Netlogon service will fail to start, which again means it's impossible to log in.

The most likely things to happen is: cannot find your scsi-controller, cannot parse the partition tables correctly, cannot read the NTFS (I told you it was ALPHA-code), the scripts crap out in some way or another due to a bug or something. For linux-knowledged people, you may do things manually if the scripts fail, you have shells on tty1-tty4 (ALT F1 - ALT F4).


Bootdisk history

000607:
  1. 000607-release of chntpw with bugfixes when handlig large hives.
  2. Hopefully fixed handling of large NTFS-filesystems (>6-7GB?), now only uses kernel drivers, not commandline tools.
  3. Some devicenodes for Compaq Smartarray SCSI raids added (/dev/ida/c?d?p?)
000401: 000401-release of chntpw with better syskey-handling, no bootdisk changes apart from that, use same SCSI-drivers as previous release.
000220: Fixed some bugs leading to hang while reading registry files.
000219: Some hardwaredriver updates.
000215: (full update) (earlier history removed)
9705xx

Download

Previous versions: NOTE THAT THE BOOTDISK CONTAINS CRYPTHOGRAPHIC CODE, and that it may be ILLEGAL to RE-EXPORT it from your country.

Use:

The zip-file contains at least the floppy image, and newer versions may also contain the chntpw linux binary as a standalone file. The unzipped image (bdxxxxxx.bin) is a block-to-block representation of the actual floppy, and the file cannot simply be copied to the floppy. Special tools must be used to write it block by block. For Dos, win95/98 & NT, use rawrite2.exe or some other imagewriter:

rawrite2 -f: bd000401.bin -d: A

Or from unix:

dd if=bootdisk.bin of=/dev/fd0 bs=1024

Todo:

Full registry write support (allocate new nodes, delete etc)
Bootdisk-scripts & main program still a bit to verbose even when not in verbose mode.

[Back to main page]


000607, pnordahl@eunet.no