Easiest way to reset Windows Password

Forgot your Windows admin password?

win7pass

Reinstall? Oh no… But not any more…

  • This is a utility to reset the password of any user that has a valid local account on your Windows system.
  • Supports all Windows from NT3.5 to Win7, also 64 bit and also the Server versions (like 2003 and 2008)
  • You do not need to know the old password to set a new one.
  • It works offline, that is, you have to shutdown your computer and boot off a CD or USB disk to do the password reset.
  • Will detect and offer to unlock locked or disabled out user accounts!
  • There is also a registry editor and other registry utilities that works under linux/unix, and can be used for other things than password editing.

Windows stores its user information, including crypted versions of the passwords, in a file called ‘sam’, usually found in \windows\system32\config. This file is a part of the registry, in a binary format previously undocumented, and not easily accessible. But thanks to a German(?) named B.D, I’ve now made a program that understands the registry.

Download CD and floppy images for end users to easily edit their forgotten passwords. But it also provides full source code and binary builds of the tools to allow others to use as they like for other purposes.

Download :

  • cd110511.zip (~3MB) – Bootable CD image. (md5sum: fe0d30a1c540ec6757e748c7c09e2e4f)
  • usb110511.zip (~3MB) – Files for USB install (md5sum: 50ced8d2a5febe22199f99acec74e63b)
  • cd100627.zip (~4MB) – Previous version CD. (md5sum: 6d80cdfbba97457e413f95a3554d9524) The files inside the USB zip are exactly the same as on the CD. See below for instructions on how to make USB disk bootable.

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.

Please know that getting some computers to boot from USB is worse than from CD, you may have to change settings, or some will not simply work at all.

How to make the floppy

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.

  • Unzip the bd zip file to a folder of your choice.
  • There should be 3 files: bdxxxxxx.bin (the floppy image) and rawrite2.exe (the image writing program), and install.bat which uses rawrite2 to write the .bin file to floppy.
  • Insert a floppy in drive A: NOTE: It will lose all previous data!
  • Run (doubleclick) install.bat and follow the on-screen instructions.
  • Thanks to Christopher Geoghegan for the install.bat file (some of it ripped from memtest86 however)

Or from unix:

dd if=bd??????.bin of=/dev/fd0 bs=18k

How to make and use the drivers floppy

  • Simply copy the zip file onto an empty floppy.
  • You MUST NOT UNZIP THE ZIP FILE!
  • Depending on your hardware you may only need one of the driver sets or the other, or maybe both.
  • To use, insert one of the driver floppies when asked for it after booting, the zip file will be unzipped to memory.
  • If no drivers matched (no harddisk found), you can select ‘f’ from the main menu to load the other driver set.
  • Then select ‘d’ to auto-start the new drivers (if it matches your hardware)
  • Sometimes it fails detecting the floppy change and you get an error, just select ‘f’ again, it works the second time.
  • For more advanced users that uses this often, it is possible to unzip just the drivers you need and zip them up into a new zip archive. The zip file name must start with “drivers”, the rest is ignored. (it unzips drivers*.zip)
  • 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.

 

Author: Ashif

Hi, my name is Ashif. I've been earning a living online since 2006 and love to share what I've learned. You can connect with me on Facebook, Twitter, YouTube and Google Plus. Don't forget to subscribe to my blog to keep up with my latest tips and tricks. You can also send questions in my mail.

Leave a Reply

Your email address will not be published. Required fields are marked *