1

Я хочу использовать утилиту pspasswd для смены пароля на всех компьютерах в локальной сети. Я погуглил и узнал, что следующее поможет

pspasswd \\* -u AdminUserName -p AdminPassword Username NewPassword

но когда я выполняю эту команду, я получаю следующий вывод

PsPasswd v1.23 - локальный и удаленный сменщик паролей Copyright (C) 2003-2010 Марк Руссинович Sysinternals - www.sysinternals.com

PsPasswd меняет пароли в локальной или удаленной системе.

Использование для локальных учетных записей: pspasswd [\[computer [, computer, [, ...]] | @file] [-u Имя пользователя [-p Пароль]]] Account [NewPassword] Использование для учетных записей домена: pspasswd Domain\Account [ Новый пароль]

 computer    Computer or computers on which the local account exists. If
             you omit the computer name, the local computer is assumed.
             If you specify a wildcard (\\*), PsPasswd runs the
             command on all computers in the current domain or workgroup.
 @file       PsPasswd will change the password on 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.
 Domain      Specifies name of the domain of the target account.
 Account     Specifies name of the account for password change.
 NewPassword New password. If omitted a NULL password is applied.

Кажется, я не вижу, написал ли я что-то неправильно в синтаксисе. Если кто-то может, пожалуйста, выяснить проблему.

0