Have a look at ntpasswd.
And a tip for now: http://www.tenforums.com/tutorials/5193-password-reset-disk-create-usb-flash-drive-windows-10-a.html
Don't forget where you store that stick!
Kees
I have a Compaq Presario F577CL with a bad charging port I had to put aside and buy one for immediate use. I finally fixed it and can't remember the password. I boots up fine and has no other issues (besides age) Manufacturer and Microsoft are useless in this. How do I set a new password or delete the current one. Please help, I want to give this to someone to use.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic