Offline Windows Password & Registry Editor, Bootdisk / CD

I've put together a CD or USB Drive image which contains things needed to reset the passwords on most systems.



The bootdisk should support most of the more usual disk controllers, and it should auto-load most of them. Both PS/2 and USB keyboard supported.

More or less tested from NT3.5 up to Windows 8.1, including the server versions like 2003, 2008 and 2012. Also 64 bit windows supported.

DANGER WILL ROBINSON!

If password is reset on users that have EFS encrypted files, and the system is XP or newer, all encrypted files for that user will be UNREADABLE! and cannot be recovered unless you remember the old password again If you don't know if you have encrypted files or not, you most likely don't have them. (except maybe on corporate systems)

Please see the Frequently Asked Questions and the version history below before emailing questions to me. Thanks!

How to use?

Please read the walthrough (now a bit outdated, sorry) and the FAQ before mailing me questions

If you have the CD or USB, all drivers are included.

Overview

Get the machine to boot from the CD or USB drive. Load drivers (usually automatic, but possible to run manual select) Disk select, tell which disk contains the Windows system. Optionally you will have to load drivers. PATH select, where on the disk is the system? (now usually automatic) File select, which parts of registry to load, based on what you want to do. Password reset or other registry edit. Write back to disk (you will be asked)

The walkthrough and instructions is now on its own page! but is quite old.. hope to make a new one..

What can go wrong?

Also, see the FAQ for help with common problems.

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

2014-02-01

Automatics for you: Auto search for windows on all disks! NICE!

New major feature: Full local group membership edit now working!

That means the promote user to admin feature won't mess up!

The user edit menues has been changed a bit, now easier to get out and I hope more logical.

More and newer drivers.

However, drivers have bloated!

So: Old ISA stuff is out. PCI(e) SATA/ATA/SCSI support only.

Also, less sata-overethernet/ata-over-avian-carrier and all that, since some of those drivers are really huge (and avian carrier rather slow)

Tried to focus more on home systems rather than servers.

If my bootimage does not have drivers for your system, you can try other boot images (live linux, for example ubuntu) and run the "chntpw.static" executable from the commandline. See the FAQfor more info.

Newer kernel with newer disk and NTFS drivers as usual.

Hopefully fixed the problem for the CCISS driver used in a lot of servers, for example the HP DL3xx series and such. Thanks to everyone who reported it, and also to the several people who explanined my mistake (I missed that the access path for it had changed in the driver).

Some minor tweaks to the path select again. See also below.

Major bugfixes and functionality expansion of the registry edit functionality, but that is more for administrators using the tool in their own ways. See other pages on this site.

Newer kernel with newer disk drivers as usual.

Path select has been improved, I hope, it should now also tell what it does find on its way, and be more likely to work automatically.

If it does not find the correct path, you probably selected the wrong partition.

NOTE: Windows 7 has a small boot partition first (number 1) for the boot loader, and my system may not be smart enough to select number 2 instead. So you select number 2 manually. Thanks! :)

Release contains some small bugfixes that may be able to handle some problematic registries. Or maybe not.

For more change info not directly related to regular password reset, se the other pages.

Update 2009-12-01: This old 2008-08-02 release also works on Windows 7, all versions as far as I know. New release hopefully sometime early 2010.

Now uses NTFS-3g as NTFS filesystem driver.

This hopefully removes some problems regarding dirty and "bad flags" NTFS volumes.

You will be asked if you like to force your way and continue anyway if the disk has been uncleanly shut down.

There exists a small chance of problems with the very latest written files before the unclean shutdown if you select to force it.

Safest is still to boot into windows and shut down properly if that is possible with an unclean volume.

Path select now hopefully better at detecting default suggestion and to actually find it...

Newer kernel, and probably newer and better drivers.

No changes to the passord/registry edit program (chntpw) since last release.

Sorry, did not have the time to finish the floppy version yet.

2008-05-26

Newer kernel, and probably newer and better drivers.

Windows Dynamic Disks now supported, but maybe not all combinations of mirrors etc. It recognizes the partition layout at least.

Should now be possible to load extra drivers (drivers?.zip) from USB the same way as with floppy. Or maybe not. Did not test it that much.

Fixed a lot of bugs in the registry handling, did not affect password reset much, but did affect larger registry edits.

You still may experience hangs when the NTFS disk is mounted, it will hang after saying "NTFS version x.xx" or such. If there is disc activity, just wait, it may take a while.

2007-09-27

Patched up NTFS driver to get rid of hang on mount in many cases (after selecting disk). Got many problem reports on this. At the same time someone on the NTFS-for-linux mailinglist mentioned it, and Anton Altaparmakov made a patch very quick. Thank you Anton!

Nice if people experiencing the hang in 2007-09-23 can mail me and tell if the fix worked or not. Thanks!

NOTE: It may still take up to a minute or two to select the disk.

Floppy version had a script bug making it crash in the first menu. Fixed.

CCISS driver (HP/Compaq DLxxx etc) had different device paths. Hacked in support for it, may not be 100% still.

2007-09-23

Floppy version is back! (requires 3 floppies to get all drivers, but you can compose your own driver set so you only need 2)

Yes, VISTA is supported (even more)

Disk select now indicates which disks are removable, ie are USB keys for instance.

Check for "read-only" NTFS mount, you get instructions on what to do if there are problems with the disk so changes won't be saved.

Missed out on some IDE/ATA and SATA drivers last time, better now.. I hope.

User can be added to the administraror group, making them administrators.

Stupid typo in readme.txt on CD fixed, on how to make USB bootable.

(earlier history removed)

9705xx

First public release.

Download

Note: Some links may be offsite.

CD release, see below on how to use

cd140201.zip (~18MB) - Bootable CD image. (md5sum: f274127bf8be9a7ed48b563fd951ae9e)

usb140201.zip (~18MB) - Files for USB install (md5sum: a60dbb91016d93ec5f11e64650394afb)

cd110511.zip (~4MB) - Bootable CD image. (md5sum: fe0d30a1c540ec6757e748c7c09e2e4f)

usb110511.zip (~4MB) - Files for USB install (md5sum: 50ced8d2a5febe22199f99acec74e63b)

Floppy release (not updated anymore), see below on how to use them

bd080526.zip (~1.4M) - Bootdisk image (md5sum: 37889e4c540504e59132bdcdfe7f9bb7)

drivers1-080526.zip (~310K) - Disk drivers (mostly PATA/SATA) (md5sum: 72ac1731c6ba735d0ac2746a30dbc3ee)

drivers2-080526.zip (~1.2M) - Disk drivers (mostly SCSI) (md5sum: 30172bec657c85a5f1a0b43601452fb7)

Previous versions may sometimes be found here (also my site)

NOTE: Versions before 0704xx will corrupt the disk on VISTA/win7/8!

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

How to make the CD

Unzipped, there should be an ISO image file (cd??????.iso). This can be burned to CD using whatever burner program you like, most support writing ISO-images. Often double-clikcing on it in explorer will pop up the program offering to write the image to CD. Once written the CD should only contain some files like "initrd.gz", "vmlinuz" and some others. If it contains the image file "cd??????.iso" you didn't burn the image but instead added the file to a CD. I cannot help with this, please consult you CD-software manual or friends.

The CD will boot with most BIOSes, see your manual on how to set it to boot from CD. Some will auto-boot when a CD is in the drive, some others will show a boot-menu when you press ESC or F10/F12 when it probes the disks, some may need to have the boot order adjusted in setup.

How to make an bootable USB drive

Copy all the files that is inside the usbXXXXXX.zip or on the CD onto an usb drive, directly on the drive, not inside any directory/folder.

It is OK if there are other files on the USB drive from before, they will not be removed.

Install bootloader on the USB drive, from command prompt in windows (start the command line with "run as administrator" if possible) X:syslinux.exe -ma X:

Replace X: with the drive letter the USB drive shows up as (DO NOT USE C:)

If it seems like nothing happened, it is usually done.

However, a file named ldlinux.sys may appear on the USB drive, that is normal.

It should now in theory be bootable.