G
Guest
We has someone leaving our Tech group so i need to change the admin name and
pswd.
I need to change the local admin psw on all our machines in AD. I'm an admin
in our OU and have an admin account on all the machines. I also have all the
current computer names.
I need to be able to change the admin pswd and admin name, and be able to
log successes and failures.
I belive this will change the local admin pswd but how do i change the name
and log the results.
On Error Resume Next
Set DomObj = GetObject("WinNT://Domain/Computer/Administrator,User")
DomObj.SetPassword "pswd"
any help would be appreciated
thanks
pswd.
I need to change the local admin psw on all our machines in AD. I'm an admin
in our OU and have an admin account on all the machines. I also have all the
current computer names.
I need to be able to change the admin pswd and admin name, and be able to
log successes and failures.
I belive this will change the local admin pswd but how do i change the name
and log the results.
On Error Resume Next
Set DomObj = GetObject("WinNT://Domain/Computer/Administrator,User")
DomObj.SetPassword "pswd"
any help would be appreciated
thanks