this works 100% on win2k sp4 machine . yesterday i installed win2000 and forgot password i entered in setup . So i deleted sam and i was able to login as Administrator with no passsword . This do not work on xp though it gives some error (i dont remember that) .
Note: This technique is posted on this board b4r .Use search .
Also if u forgot pass but want to add a admin account without deleting other accounts then delete sam file and login as administrator . Make a bat file that contains command to add a admin account ( net user or something like that) . Schedule it to be launched after 1/2 hour or 5-10 mins .
Then restore old sam and restart ur pc . On specified time the bat will be executed by system even if u arent logged in .
This wll create a admin account without deleting other accounts

.