PsPasswd – Windows CMD Command
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Change account password
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
Syntax pspasswd [[\\computer[,computer[,..] | @file [-u user [-p passwd]]] Username [NewPassword] Options: computer The computer on which the user account resides. Default=local system -p passwd Specify a password for user (optional). Passed as clear text. If omitted, you will be prompted to enter a hidden password. -u user Specify a user name for login to remote computer(optional). @file Execute the command on each of the computers listed in the file. Username Name of account for password change. NewPassword The new password, If ommitted a NULL password is applied. -accepteula Suppress the display of the license dialog. |
This tool allows administrators to create a batch file that will run against multiple computers to perform a mass change of the administrator password.
When launched for the first time, PsPasswd will create the regkey
HKCU\Software\Sysinternals\PsPasswd\EulaAccepted=0x01
1 2 3 4 5 |
Examples: Change the password for user JDoe on \\workstationF4T C:\> pspasswd \\workstationF4T jdoe password567 |