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

From: crosswired (crosswired_at_discussions.microsoft.com)
Date: 03/24/05

  • Next message: hi: "how to use Robocopy.exe Sync file at special security folder ?"
    Date: Wed, 23 Mar 2005 22:49:03 -0800
    
    

    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.


  • Next message: hi: "how to use Robocopy.exe Sync file at special security folder ?"

    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: Domain Admin groups - users disappear/reappear ???
      ... user is added to or removed from an admin group in the domain (Domain ... The way the script works is ... members to a text file (using DSQUERY/DSGET for group membership). ... importantly the problem occurs at random intervals, not all intervals, ...
      (microsoft.public.windows.server.active_directory)
    • Re: Domain Admin groups - users disappear/reappear ???
      ... user is added to or removed from an admin group in the domain (Domain ... The way the script works is ... members to a text file (using DSQUERY/DSGET for group membership). ... importantly the problem occurs at random intervals, not all intervals, ...
      (microsoft.public.windows.server.active_directory)
    • 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)
    • Re: script to list users and groups in domain admin and local admin gr
      ... Microsoft MVP (Windows Security) ... > 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)