Reset Windows XP Passwords: Full Guide
In this article
Yes, you can reset a Windows XP password without reinstalling the system. The quickest method is to use a password reset disk (if you created one earlier), but the most common approach is to boot from a Linux live CD and clear the password hash. This guide covers both methods plus a safe fallback using the built-in Administrator account. You'll need physical access to the computer, a blank CD/DVD or USB drive, and another working computer to create the boot disk. Note that these steps work only for local accounts, not for domain accounts on a corporate network.
What You'll Need
- Another working computer with internet access
- A blank CD/DVD or a USB flash drive (at least 1 GB)
- Software to create a bootable disk: Offline NT Password & Registry Editor (free, open-source) or a Linux live CD like Ubuntu
- If you have a password reset disk for the account, just that disk
Step-by-Step
Method 1: Use a Password Reset Disk (if you have one)
- Start the locked Windows XP computer and wait for the login screen.
- Click the Reset Password link (or press Ctrl+Alt+Del twice if the link isn't visible).
- Insert the password reset disk into the floppy or USB drive.
- Follow the Password Reset Wizard: choose the user account, then click Next.
- Enter a new password (or leave blank) and confirm it. Click Next and then Finish.
- Remove the disk and log in with the new password.
Method 2: Use Offline NT Password & Registry Editor (most reliable)
- On your working computer, download the Offline NT Password & Registry Editor ISO file from its official site (pogostick.net/~pnh/ntpasswd/).
- Burn the ISO to a CD using a tool like ImgBurn or Rufus (for USB). For USB, use Rufus to write the ISO in DD mode.
- Insert the bootable CD/USB into the locked computer and restart it.
- Press the key to enter the boot menu (usually F12, F2, or Esc) and select the CD/USB drive as the first boot device.
- When the tool loads, you'll see a text menu. Press Enter to accept the default options for disk and partition detection.
- When asked for the path to the SAM file (registry), press Enter to accept the default (usually
/WINDOWS/SYSTEM32/CONFIG). - Choose 1 for "Edit user data and passwords" and press Enter.
- Enter the RID (relative identifier) of the account you want to reset. You'll see a list of accounts with RIDs. For example, Administrator is usually RID 500, and regular users start at 1001. Type the RID number and press Enter.
- Select option 1 to "Clear (blank) user password" and press Enter. This removes the password entirely.
- Press q to quit the user edit, then press y to write the changes to the SAM file, and confirm with y again.
- Remove the CD/USB and restart the computer. The account will now have no password—log in directly.
Method 3: Use the Built-in Administrator Account (if it has no password)
- Restart the computer and press F8 repeatedly before the Windows logo appears.
- Select Safe Mode from the boot menu and press Enter.
- On the login screen, you should see the Administrator account. If it has no password, click it to log in.
- Go to Start > Control Panel > User Accounts.
- Select the locked account and click Remove the password (or change it).
- Restart normally and log in with the new or blank password.
Common Mistakes
- Using the wrong boot device: If the CD/USB doesn't boot, you likely didn't change the boot order or the media wasn't burned correctly.
- Choosing the wrong partition: The tool may detect multiple partitions. Selecting the wrong one can lead to "SAM file not found" errors.
- Typing the wrong RID: Resetting the wrong account (like Guest) won't help. Double-check the RID list.
- Forgetting to write changes: If you quit without pressing y to write, the password remains unchanged.
- Using a password reset disk on a different account: A reset disk only works for the account it was created for.
Tips
- Always create a password reset disk for your own accounts after you regain access—it saves time later.
- Write down the RID of your main account and keep it with your recovery tools.
- If you're using a USB drive, ensure it's formatted as FAT32 and the ISO is written in DD mode (not ISO mode) for the NT password tool.
- After resetting, consider setting a new password immediately to secure the account again.
- Back up important files before attempting any registry edits, though this method is safe when done correctly.
Troubleshooting
If the computer doesn't boot from the CD/USB: Restart and press the boot menu key again. Check the BIOS settings to ensure the CD/USB is prioritized. Try a different USB port (preferably a rear port).
If the tool says "SAM file not found": You may have selected the wrong partition. Reboot, and when the tool asks for the disk, choose the correct one (usually the first partition, like /dev/sda1). If you have multiple Windows installations, pick the one with the XP folder.
If the password still doesn't clear: Re-run the tool and make sure you press y when it asks to write changes. Also verify you selected the correct RID.
If Safe Mode doesn't show the Administrator account: On some XP systems, the Administrator account is hidden if another account exists. In that case, use Method 2.
If you get a blue screen during boot: The CD/USB may be corrupted. Re-burn the ISO at a slower speed or try a different USB drive.
Frequently Asked Questions
Can I reset a Windows XP password without any tools?
Only if you have a password reset disk or if the built-in Administrator account has no password. Otherwise, you need a bootable tool like the one described.
Will this delete my files?
No. Clearing the password does not affect your files, documents, or installed programs. It only removes the password hash.
Does this work on Windows XP Professional and Home?
Yes, it works on both editions, as long as the account is a local account.
Can I reset a domain account password this way?
No. Domain accounts are stored on the server. You'll need to contact your network administrator.
Is it legal to reset a password on someone else's computer?
Only if you own the computer or have explicit permission from the owner. Unauthorized access is illegal.
What if the hard drive is encrypted (e.g., with BitLocker)?
Windows XP doesn't have BitLocker. If third-party encryption is used, you'll need the encryption password first.