jimmy1829
asked on
A script that will change name of local admin from "1" to "something" for all the computers on the network
Hello Expert
I am trying to write a script that will change the name of the local admin from "1" to"something" for all the computers on the network.
Please help
I am trying to write a script that will change the name of the local admin from "1" to"something" for all the computers on the network.
Please help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To which machines it applies is only depending on where you link the GPO with the "rename administrator" policy.
For starters, you can just link it to an OU with just a few test machines in it. Once you've made sure it's working as it should, apply it to the other OUs where the machines are for which you want to have the administrator renamed.
The machines don't have to be restarted, but it might take up to 90 minutes to apply the setting by themselves (unless you run a "gpupdate /target:computer" on them).
For starters, you can just link it to an OU with just a few test machines in it. Once you've made sure it's working as it should, apply it to the other OUs where the machines are for which you want to have the administrator renamed.
The machines don't have to be restarted, but it might take up to 90 minutes to apply the setting by themselves (unless you run a "gpupdate /target:computer" on them).
ASKER
thanks again
how about change the password as well?
how about change the password as well?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks, I will try them
ASKER
Thanks oBdA
it worked! Great solution!
it worked! Great solution!
ASKER
is this going to apply to all the computers in the network?
Do the computers have to be restarted to make the change?