I have 300 machines that I need to change the local admin password on. I am wondering how I can change the local admin account on these machines.
The password begins with the $computerName.
Machine 1
ex: account name is BillyBob
ex: password is D8873904_i_forgot_my_password
Machine 2
account name is BillyBob
password is D88293590_i_forgot_my_password
I created a policy and I have tried just putting the $computerName_i_forgot_my_password in the "Reset password" The result is a reset password to $computerName_i_forgot_my_password and not the D88293590_i_forgot_my_password.
If no one thinks I can reset the passwords with a variable and thinks I can only do it with a shell script, can someone please post a shell script that will work.
Thanks