Changing a password for a local user account remotely through script
Posted on 2006-11-30
Hope you can help out.
We have an NT domain.
We have a local user account, let's say its called "hjbox" on all our NT machines.
Often, people change the password, that then later we have to remote in and change it back to the right password for the day.
What Id like to do is the following:
Let's say we have discovered on our network that 50 NT machines need to have the password changed to a common password...lets say password should be "abcd1234".
Is there any way to script this out, so that when the script runs, it changes the password for the local account "hjbox" on all these 50 workstations?
I really dont want to push out a scheduled task to do this, but would rather get immediate feedback through a logfile of all that have been successfully changed.
Any help greatly appreciated.