Systems administrators that manage local administrative accounts on multiple computers regularly need to change the account password as part of standard security practices. PsPasswd is a tool that lets you change an account password on the local or remote systems, enabling administrators to create batch files that run PsPasswd against the computer's they manage in order to perform a mass change of the administrator password.
Copy PsPasswd onto your executable path and type pspasswd with command-line options defined below.
You can use PsPasswd to change the password of a local or domain account on the local or a remote computer.
usage: pspasswd [\\computer[,computer[,...] | @file [-u username [-p password]]] Username [NewPassword]
|
computer |
Run the command on the computer or computers specified. If you omit the computer name the command runs on the local system and if you enter a computer name of \\* then the command runs on all computers in the current domain. |
|
@file |
Execute the command on each of the computers listed in the file. |
|
-u |
Specifies optional user name for login to remote computer. |
|
-p |
Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password. |
|
Username |
Specifies name of account for password change. |
|
NewPassword |
New password. If ommitted a NULL password is applied. |