How to change the Administrator Account Password in all the desktops (Windows 7) using a script.
I have used the Pspasswd tool, which is part of the Sysinternals PsTools download, to reset the local administrator password across one or more machines locally or remotely.
The tool must be run while logged on with an account that has administrative rights on the target computer, for example a domain admin account. You can also specify those credentials via the command-line. Pspasswd uses Windows authentication methods to authenticate to remote systems and does not put passwords in clear text over the network.
For a single computer:
pspasswd \\computer_name Local_administrator_account_name “New_Password”
For multiple computers:
pspasswd \\computer1_name,computer2_name,computer3_name Local_administrator_account_name “New_Password”
For all computers in the environment:
pspasswd \\* Local_administrator_account_name “New_Password”
For multiple computers using a text file containing the computer names:
pspasswd \\@file.txt Local_administrator_account_name “New_Password”
Can this be done from kace 1000 as well?