Warning: This tip should only be used for legitimate purposes in case you lost or forgot your administrator password to your Windows 2000 machine.
While this hack could be applied in Windows XP machine too, you need to be logged in with administrator rights to perform this task. So why would you care if you already have admin rights on that machine right? So, we are focussing this discussion on how to get access to the admin password on Windows 2000 which is still amongst the most widely deployed operating systems especially in a corporate environment.
Log in and go to your DOS command prompt. You can launch the DOS prompt by either pressing the “Windows Key”(the one usually beside the left Alt key) and R. So a combination of Windows Key + R should launch the command prompt. So, for your DOS hacking command, enter these commands exactly as they appear…
move logon.scr myhack\logon.scr
copy cmd.exe logon.scr
So what you just told windows to backup is the command program and the screen saver file. Then you edited the settings so when windows loads the screen saver, you will get an unprotected dos prompt without logging in.
When this appears enter this command that’s in parenthesis (net user password). So if the admin user name is admin and you want the password ‘lame’ then you would enter “net user admin lame″ and now you’ve changed the admin password to lame. Log in, do what you want to do, copy the contents of myhack back into system32 to cover your tracks by doing this at c:\windows\system32 > copy c:\windows\system32\myhack *.* c:\windows\system32
You will be prompted for overwrite .. say Yes.