A: You can use the SysInternals Pspasswd tool, which is part of the PsTools download, to reset the local administrator password on multiple machines remotely. Pspasswd uses the Windows password reset APIs to deal with a password reset—it doesn't send passwords in clear text over the network.

To reset the administrator account password on a single computer, use the syntax

pspasswd \\<computer name> <local administrator account name> "<New_password>"

To reset the administrator account password on multiple computers, use

pspasswd \\<PC1_name>, <PC2_name>, <PC3_name>, <PC4_name> <Local_administrator_accountname> "<New_password>"

To reset the administrator account password on multiple computers using a text file named myfile.txt that lists the computer names, use

pspasswd \\@<myfile.txt> <Local_administrator_accountname> "<New_password>"

You must run Pspasswd with an account that has administrative rights on the target computers. You can specify those credentials using the command-line switches -u (for the accountname) and -p (for the password).