• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • Unexplored Territory Podcast
  • HA Deepdive
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

Reset your lost Windows password

Duncan Epping · Nov 27, 2008 ·

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.

Related

Various Howto, windows

Reader Interactions

Comments

  1. BenG says

    27 November, 2008 at 23:47

    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/

  2. Edward says

    3 January, 2014 at 11:42

    I have tried System Rescue CD and follow your steps but still couldn’t get it to work. Eventually I managed to remove the forgotten admin password using PCUnlocker Live CD, which seems to be a WinPE bootdisk and it’s easier to use for me.

Primary Sidebar

About the Author

Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • X
  • Spotify
  • RSS Feed
  • LinkedIn

Recommended Book(s)

Advertisements




Copyright Yellow-Bricks.com © 2025 · Log in