Quick editing the Windows system password command

Because the site needs to be more than 30 virtual machines on the password change. Modify the normal way to go to Control Panel - User Accounts - Change Password, enter the original password, the new password 2 times (once for password confirmation) complete the password change.

In this way the operation is more complicated, we can directly modify the password by way of command.

For example, I need to modify the administrator password for the user qaz @ 123 , execute the following command after you log on to the server directly in cmd:

net user administrator gas @ 123

Where the administrator for the user name, qaz @ 123 is modified password. 

Guess you like

Origin www.cnblogs.com/Jingkunliu/p/11719315.html