Windows Vista Forums

Windows Server 2003 listing out users from AD
  1. #1


    Jason Guest

    Windows Server 2003 listing out users from AD

    Hello All

    I'm trying to List out about 75 users from a windows server security group
    2003. I have one security with about 75 users i need to check that all the
    users are acount for



    Cheers



      My System SpecsSystem Spec

  2. #2


    Sergiy Grykshtas Guest

    Re: Windows Server 2003 listing out users from AD

    in active directory users mmc create a query and export results into csv
    file.
    easiest way.

    serggry

    "Jason" <Jason@newsgroup> сообщил/сообщила в новостях следующее:
    news:uR9kTBflKHA.2188@newsgroup

    > Hello All
    >
    > I'm trying to List out about 75 users from a windows server security group
    > 2003. I have one security with about 75 users i need to check that all the
    > users are acount for
    >
    > Cheers
    >
    >


      My System SpecsSystem Spec

  3. #3


    Meinolf Weber [MVP-DS] Guest

    Re: Windows Server 2003 listing out users from AD

    Hello Jason,

    See the following script, works fine and is for free:
    http://www.wisesoft.co.uk/scripts/vb...p_members.aspx

    Best regards

    Meinolf Weber
    Disclaimer: This posting is provided "AS IS" with no warranties, and confers
    no rights.
    ** Please do NOT email, only reply to Newsgroups
    ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


    > Hello All
    >
    > I'm trying to List out about 75 users from a windows server security
    > group 2003. I have one security with about 75 users i need to check
    > that all the users are acount for
    >
    > Cheers
    >


      My System SpecsSystem Spec

  4. #4


    Richard Mueller [MVP] Guest

    Re: Windows Server 2003 listing out users from AD


    "Jason" <Jason@newsgroup> wrote in message
    news:uR9kTBflKHA.2188@newsgroup

    > Hello All
    >
    > I'm trying to List out about 75 users from a windows server security group
    > 2003. I have one security with about 75 users i need to check that all the
    > users are acount for
    >
    > Cheers
    If the group is a local group, a VBScript program can use the WinNT provider
    to bind to the group object, then use the Members collection to enumerate
    the members. For example:
    =========
    ' Specify NetBIOS name of computer.
    strComputer = "MyServer"

    ' Specify name of local group.
    strGroup = "MyGroup"

    ' Bind to the local group object.
    Set objGroup = GetObject("WinNT://" & strComputer & "/" & strGroup &
    ",group")

    ' Enumerate direct members of the group.
    For Each objMember In objGroup.Members
    ' Display the name of the member.
    Wscript.Echo objMember.Name
    Next
    ========
    You could run this script at a command prompt with the cscript host and
    redirect the output to a text file. For example, if the VBScript program is
    saved in the file Group.vbs, the command could be:

    cscript //nologo Group.vbs > report.txt

    This assumes you are in the folder where the file Group.vbs is saved.
    Otherwise, you must specify the full path. If the group is a domain group
    (in Active Directory), you should use the LDAP provider. The VBScript
    program would be similar, but you would bind with the full Distinguished
    Name of the group. For example:
    ============
    ' Specify the full Distinguished Name of the group.
    strGroup = "cn=Test Group,ou=Sales,ou=West,dc=MyDomain,dc=com"

    ' Bind to the the group object.
    Set objGroup = GetObject("LDAP://" & strGroup)

    ' Enumerate direct members of the group.
    For Each objMember In objGroup.Members
    ' Display Distinguished Name and "pre-Windows 2000 logon" name of
    member.
    Wscript.Echo objMember.distinguishedName & " (" &
    objMember.sAMAccountName & ")"
    Next
    ============
    You would run this the same way at a command prompt with cscript so you can
    redirect the output to a text file. I hope this helps.

    --
    Richard Mueller
    MVP Directory Services
    Hilltop Lab - http://www.rlmueller.net
    --



      My System SpecsSystem Spec

Windows Server 2003 listing out users from AD problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2003 SBS Max connections / users Don Devenney SBS Server 3 15 Apr 2010
RWW Not Listing Servers for Users CourtK SBS Server 7 04 Nov 2009
Re: After Installing SBS 2003 SP1 and Windows 2003 SP2 HP server gets slow in morning and users can't login Steve SBS Server 0 13 Aug 2009
After Installing SBS 2003 SP1 and Windows 2003 SP2 HP server gets slow in morning and users can't login Steve SBS Server 1 12 Aug 2009
hardware to support 4000 to 5000 users on single 2003 server ptatherton .NET General 1 18 Dec 2008