Start your computer and enter into Bios Setup. Change your boot preferences to boot from CD /DVD.
Insert your windows Bootable CD and select the “Repair your computer” option from the lower left-hand corner.
Then click on command prompt option.
First you’ll want to type in the following command to backup the original sticky keys file:
copy c:windowssystem32sethc.exe c:
Then you’ll copy the command prompt executable (cmd.exe) over top of the sticky keys executable
copy c:windowssystem32cmd.exe c:windowssystem32sethc.exe
Now you can reboot the PC.
Resetting the Password
Once you get to the login screen, hit the Shift key 5 times, and you’ll see an administrator mode command prompt.
Now to reset the password—just type the following command, replacing the username and password with the combination you want:
Syntax : net user account.name *
Example: net user raaz *
and hit enter. Set any password for that account.
That’s all there is to it. Now you can login.