Resetting Windows Server 2003 and 2008 local account passwords

Recently I had a need to reset a few administrator accounts for Server 2003 and 2008. So, here’s the skinny on how to do that:

Server 2003
So officially, Microsoft says if you forget the Administrator password for your machine and you can’t login (ie it’s not a member of a domain, the domain is unavailable) your only recourse is to re-install. Hog wash! So for 2003, you’ll need a tool to reset the SAM (Security Accounts Manager) password for the account you want to access. A non-trojan horse laden version of ERD commander is harder to come by these days. Fortunately someone has come to the rescue with a tiny utility called NTRestTool ( 100% command line, and not very pretty, but it does the trick.