Posted: 06/21/06 - 04:00 Post subject: Administrator password recovery on W2K
I gave my administrator password to someone and that someone made a fool out of me. I needed information off my computer from a remote location and when I returned home my password was changed and now I can’t access my own computer. How can I recover my password? I know I made a beginners mistake but I would really appreciate some help here!
With FAT filesystem you can just delete the c:\winnt \system32\config\sam file and you’ll be able to login as admin with no password but it will remove all user accounts from the system. If you need an existing account just rename that file instead of deleting it. While you're logged in as admin you should create a bat file that will create a new
user and then add it to the local admin group. Schedule it with to run in 10 minutes and then reboot. After that put the original ‘sam’ file back in place and wait for the bat file to run. After the bat file runs you'll be able to logon under new admin credentials. But if you’re on NTFS file system you’ll need third party software.