-u引数を指定してpspasswdを使用する方法


1

LAN上のすべてのコンピューターでパスワードを変更するには、pspasswdユーティリティを使用します。私はグーグルで、次のことが役立つことを知った

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

しかし、このコマンドを実行すると、次の出力が得られます

PsPasswd v1.23-ローカルおよびリモートパスワードチェンジャーCopyright(C)2003-2010 Mark Russinovich Sysinternals-www.sysinternals.com

PsPasswdは、ローカルシステムまたはリモートシステムのパスワードを変更します。

ローカルアカウントの使用:pspasswd [\ [computer [、computer、[、...]] | @file] [-uユーザー名[-pパスワード]]]アカウント[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.

構文に何か間違ったことを書いているかどうかはわかりません。誰かが問題を見つけてください。


ドメインではなく、ワークグループに入れますか?
フランクトーマス

はい、それはワークグループ内にありますが、pspasswd v 1.23のバグであり、以前のバージョンは見つかりません。このforum.sysinternals.com/を
プラモドジョダーニ
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.