How to list who belong to a local administrator group in windows 2000
Posted on 2006-05-17
Currently we have several users in our windows 2000 domain and windows 2000 desktops that are part of the Local Administrator Group on their own machines.
I need a script that can walk the windows 2000 desktop computers in my domain either doing a query to the AD about member computers or i can tell the script an IP range. The the script will tell me who (a group or a user) belongs to that machine's Local Administrator Group or is equivalent to a local administrator.
Note that they are *not* domain admins. They are admins, but only on their own machines. and I want to remove that priviledge but going thru 200+ computers is a real pain.
The report should be dumped to a text file.
If that solution already exists as a vbscript, please let me know where.
Note: I am not an expert vbscript programmer.