A video of resetting Windows XP’s password using Offline NT Password and Registry Editor(from the boot floppy disk). Here’s the original version of the video.
Here’s the link to download Offline NT Password and Registry Editor and instruction on how to use it.
If your computer allows booting from floppy disk or cdrom, your Windows’ password can also be reset using some boot disk or CD like that one. You should disable booting from any disk, like floppy, cdrom, flash drive. etc. except for hard drive in BIOS setting if your computer is public computer or you don’t want others to reset your password.
Another link to download Offline NT Password and Registry Editor