Question: how to change administrator password in windows 7 by cmd?
Answer: Click Start and type "cmd" in search box, then right-click "cmd.exe" and Run as administrator.
Click Yes on pop-up UAC dialog and successfully run Command Prompt.
Enter net user command to reset Windows 7 administrator password.