Boot up with DOS and delete the sam.exe and sam.log files from Windows\system32\config in your hard drive. Now when you boot up in NT the password on your built-in administrator account which will be blank (i.e No password). This solution works only if your hard drive is FAT kind.
Step 1. Put your hard disk of your computer in any other pc .Step 2. Boot that computer and use your hard disk as a secondary hard disk (D'nt boot as primary hard disk ).Step 3. Then open that drive in which the victim’s window(or your window) is installed.Step 4. Go to location windows->system32->configStep 5. And delete SAM.exe and SAM.log
Step 6. Now remove hard disk and put in your computer.
Step 7. And boot your computer :-)
How to Change a Computer Password Using Command Prompt (CMD)
- Reboot the computer
- Right after the bios is finished, hit F8 (or F2,F10,F12)
- Type net user and press Enter.
This will bring up a list of user accounts. Look here for the name and
exact spelling of the account whose password you wish to change.
- Type net user name goes here *. Do not neglect any of the spaces (particularly the one before the *) or the command won’t work.
- Press Enter. Once submitted, the command will give you the option of typing a new password for the user.
- Retype the password to confirm. This should weed out any typos.
- Press Enter. The new password should go into effect immediately. If
you get an error message or your access is denied, the account you’re
working on doesn’t have high enough authorization to change any
passwords. See Tips for possible solutions.