Security Basics mailing list archives

Re: Local Administrators


From: Ansgar -59cobalt- Wiechers <bugtraq () planetcobalt net>
Date: Wed, 31 Dec 2003 14:35:58 +0100

On 2003-12-30 Van Meter, John wrote:
I have 1000 workstation to collect the local admin from, that is why
I've been trying to come up with a script to pull the info from.

I guess you could use Sysinternals' psexec [1], "net localgroup
administrators" and a simple for-loop to collect that information from
the remote systems.

[1] http://www.sysinternals.com/ntw2k/freeware/psexec.shtml

Regards
Ansgar Wiechers

---------------------------------------------------------------------------
----------------------------------------------------------------------------


Current thread: