Link to home
Start Free TrialLog in
Avatar of KellyCraig
KellyCraig

asked on

Local Account lockout (remote)

We have an account called "lroot" on most of the windows machines in our network.
These windows boxes are controlled by an Active Directory.
Thus a script can be run against them with administrative priv.
I have a list of every windows machine in our network.

I need to know how to mass "disable/lockout" the "lroot" account on all of the machines listed in a file per line
ie:
machine1
machine2
machine3

Maybe WMI or vbs?
Avatar of fpthree
fpthree

This lroot account. Is it a domain account? Or is it the local administrator account?
ASKER CERTIFIED SOLUTION
Avatar of fpthree
fpthree

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KellyCraig

ASKER

Yes, they are local accounts in the administrators group.

Even if we could remove them from  the admin group without changing OUP?