Step 1 (Create a Bootable USB Flash Drive)
On another Computer than the locked :
1) Download Login or Signup to view links / downloads (28 Mb)
2) Extract it using Winrar (ResetWindowsPwd.iso) (Login or Signup to view links / downloads)
3) Plug a USB flash drive into the computer.
4) Download and Install ISO2Disc software, Run it.
5) Locate the ISO file extracted in step2, Choose the USB drive then Click Start Burn.
Step 2 (Resetting Windows Password)
1) Now Plug the USB into the Locked Computer and change boot settings from Bios to USB.
2) After booting from USB, you'll see Reset Windows Password being initialized.
3) Now browse to your SAM registry hive, it's under "C:\Windows\config\SAM"
4) It will lists all user accounts, Select an account and Click RESET to turn Password to blank
5) Done! Now just restart your Computer and boot from Windows Hard Drive (No need to USB) and You'll Notice there's no Password or login prompt.