Re: script to list users and groups in domain admin and local admin gr

From: Roger Abell (mvpNOSpam_at_asu.edu)
Date: 03/24/05


Date: Thu, 24 Mar 2005 08:30:06 -0700

Take a look at the ScriptCenter
www.microsoft.com/technet/scriptcenter
These are not full, off-the-shelf scripts, but you should find code
that can do what you are after with very little adjustment.

-- 
Roger Abell
Microsoft MVP (Windows  Security)
MCSE (W2k3,W2k,Nt4)  MCDBA
"crosswired" <crosswired@discussions.microsoft.com> wrote in message
news:1BA8FDE1-B57F-42A1-9F35-E664D9F4960A@microsoft.com...
> I am looking for a script or guidance to write a script that will list all
> the users and groups that belong to the domain admin group and the local
> admin group on each server in the domain.  This way, I will not have to
check
> each server individually when doing periodic security scans.
>
> If anyone can help, I would appreciate.  Thanks.
>
> N.P.


Relevant Pages

  • Re: NT AUTHORITY/INTERACTIVE auto populating the admin group
    ... I think you’re on to something with the local script, ... If I remove the account and then reboot, ... >> it auto populates the admin group at next boot. ... > How to Configure a Global Group to Be a Member of the Administrators ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: adding users using ad logon script?
    ... I just thought make a logon script that would add users to admin group. ... Enable user loopback policy mode in computer configuration. ... in OUs containing only computers so I would link the policy to those OUs. ...
    (microsoft.public.windows.server.active_directory)
  • script to list users and groups in domain admin and local admin gr
    ... I am looking for a script or guidance to write a script that will list all ... the users and groups that belong to the domain admin group and the local ... admin group on each server in the domain. ...
    (microsoft.public.win2000.security)
  • Re: Smart user removing domain admin group from local admin group
    ... GPO processing does occur every 90 mins by default, ... the local admin group, the membership will refresh every time the GPO is ... The script would force this do to ...
    (microsoft.public.win2000.active_directory)
  • Re: script to list users and groups in domain admin and local admi
    ... > using the net command and such to enumerate local administrators. ... > Restricted Groups can be used to enforce membership in any domain or local ... >>I am looking for a script or guidance to write a script that will list all ... >> admin group on each server in the domain. ...
    (microsoft.public.win2000.security)