Printing Active Directory

Is there a way to print out the groups and/or users from active directory?  Is there a file with a list maybe?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

right click over the container in ad users and computers that contains the user accounts/groups that you want to print. choose export or export to file (I can't remember which). then save the exported file as a text (.txt) document. you can open it with notepad and print it out.
wordtoolAuthor Commented:
This is good but I should have been more clear in what I was trying to accomplish.  What I need is to be able to print a list of groups and the detail of who is in them. For example:

administrators:  john, joe, james
users:           sam, sarah
wordtoolAuthor Commented:
Or it could be the other way around.  Display users but add the column "member of".
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

wordtoolAuthor Commented:
Or it could be the other way around.  Display users but add the column "member of".
wordtoolAuthor Commented:
Or it could be the other way around.  Display users but add the column "member of".
the windows 2000 server resource kit has a command line tool named global.exe that will do want you want to do here. unfortunately, there are no built-in tools for this task (that i'm aware of).

take care.
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
Pete LongTechnical ConsultantCommented:
Copy all AD users to a text file


Being a scripting nut, I tend to approach these kind of problems from a scripting standpoint.

copy and paste the code below into "Mattisastud.vbs" and then run it.

Then open the GroupMembership.txt file and it should have everything you need.  
If you want to view the machine accounts also, uncomment the commmented line...

-=-=-=-=-=-=-=-=-=-=-=-=-=-  Code Below  -=-=-=-=-=-=-=-=-=-=-=-=-=-  

Dim myNetwork
Set myNetwork = CreateObject("Wscript.Network")

strDomain = myNetwork.UserDomain

Set objDomain = getobject("WinNT://" & strDomain) 'Grab the domain object
objDomain.filter = Array("Group") 'Filter for just computers.

Dim myFSO
Set myFSO = CreateObject("Scripting.FileSystemObject")
Set myFile = myFSO.CreateTextFile("GroupMembership.txt",1)

myOutput = ""

For each objGroup in objDomain
    myOutput = myOutput & objGroup.Name & vbcrlf
   For Each objUser in objGroup.Members
'          myOutput = myOutput & vbtab & objUser.Name & vbcrlf
         If right(,1) <> "$" Then
              myOutput = myOutput & vbtab & objUser.Name & vbcrlf
         End if

WScript.Echo myOutput
myfile.writeline myOutput

-=-=-=-=-=-=-=-=-=-=-=-=-=-  End Code  -=-=-=-=-=-=-=-=-=-=-=-=-=-  


*****Other Links*****

How can I create a file containing all the user names in my domain?

How can I produce a list of the user logon names in my domain?

Run a Group/User or User/Group report.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: night_monkey {http:#8105346} & PeteLong {http:#9929370}

Please leave any comments here within the next seven days.

Julian Crawford
EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.