Need VB Script to list all users in administrators group.
Posted on 2008-10-03
We would like to be able to run a VBS script to tell us who is a member of the administrators group on a remote machine.
I can modify it to run on several computers, I just can't find the code tidbit that will tell me where to look for that information.
Scriptomatic does not return useful information, rather it returns a lot of information about the local accounts and then a bunch of info about what looks like every account on the domain. (see below)
I will probably be out until Monday for replying to questions.
Thanks in advance!
Description: Administrators have complete and unrestricted access to the computer/domain
Caption: computername\Backup Operators
Description: Backup Operators can override security restrictions for the sole purpose of backing up or restoring files
Name: Backup Operators