This method will only work if you have a bootable Windows XP CD. If it’s an original Windows XP CD then it will be bootable. If it’s a burned CD, it may not be, but there’s no way to know unless you try.
 When the computer restarts, you’ll see a message that says “press any key to boot from disk.” Press a key on the keyboard.If the computer boots up without asking you to press a key, then the Windows XP CD you’re using isn’t bootable.
You can borrow Windows XP CD from someone (or have someone burn you a bootable copy). It doesn’t have to be the same CD that came with this version of Windows.
,, This will open the User Account Control Panel, where you will be able to reset any password by selecting a user and adding a new password.
Insert your Windows XP CD into your CD-ROM drive.
Reboot your computer.
Press the R key to “repair” your installation.

,
Press ⇧ Shift+F10 when the screen says “Installing Devices.” This will open a command prompt.

,
Type NUSRMGR.CPL and then press ↵ Enter.
{"src": "wikihow-all_test", "title": "How to Retrieve Passwords in Windows XP2"}