Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How do I export a list of all groups and the users who are members of each of the groups on a Windows 2003 server?

Thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted

On an individual server, net localgroup would display a list of all local groups. Then, run net localgroup <name> for each group, I'm not going to write that .BAT file for you :-)

On an AD domain, dsquery group | dsget group -members

share|improve this answer
    
Just what I'm looking for! Thanks mfinni! –  GernBlandston Jan 15 '10 at 19:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.