Question: how to change administrator password in windows 10 by cmd?
Answer: Press Win + R to open Run box. Type cmd and click OK to run Command Prompt as administrator.
Type "net user username new-password" to change user password for Windows 10. For example: net user isunshare 123^G. ... 
Press Enter to make the command successfully.