Reset your lost Windows password

Posted by Duncan Epping in November 27th, 2008
Published in Various

Just had to reset a lost Windows XP password for the second time and thought it would be useful for myself to have a howto online:

  1. Boot from the System Rescue CD
  2. Mount the disk:
    ntfs-3g /dev/sda1 /mnt/windows -o force
  3. This depends on the OS install if there are caps used, but usually:
    cd /mnt/windows/Windows/System32/config
  4. List the account in the SAM datbase:
    chntpw -l SAM
  5. Reset the password of the Administrator:
    chntpw -u Administrator SAM
  6. Press 1 to clear the current password
  7. Reboot the server/workstation:
    reboot

So if you’ve forgotten your Windows XP / 2000 / 2003 password this is the way to clear it or reset it.


1 user comments or pingbacks in this post

Follow-up this post comment rss or leave a trackback
1. BenG said,

I have used the live boot CD below before. Boot off it and press enter a bunch of times. It then lists all the local users on your Windows machine. No command line work, its all menu driven (ugly, but menu driven)
http://home.eunet.no/pnordahl/ntpasswd/

Leave A Reply Below

Currently browsing Reset your lost Windows password

 Username (*required)

 Email Address (*private)

 Website (*optional)

Topics Search

Yellow-Bricks recommends:







VMware Fusion and VMware Workstation: Support Yellow-Bricks and get a 10% discount on select VMware products.

Train Signal:
Learn Virtualization technology with Train Signal. Support us and learn how to fully utilize VMware products at the same time! Click here for more info!

Advertisements

Recent Comments

Tags

Info