The best option is to have a nice Boot CD loaded with utils to help in an emergency situation.

I like Hiren Boot CD

It has lot's of useful tools, not only to reset passwords.