I am on Windows Server 2012, but I believe this applies to other windows versions.

Under Control Panel -> Computer Management -> Local Users and Groups, I can right click a group and view properties to see a list of the group members. However copy and paste does not work for this list. I want to list these users in a spreadsheet. How can I generate a text list of users for a local user group?

  • would running net localgroup administrators > list.txt do? Change the group name as required. If you need to dump all the users of all the groups that would be doable but might require a script. E.g. VBS, Powershell. – HelpingHand Jun 20 '18 at 7:27
  • Here is a Powershell example to list all users in each group - gallery.technet.microsoft.com/scriptcenter/… – HelpingHand Jun 20 '18 at 7:35

Ok, I found the command line answer:

net localgroup xxx

which lists the properties for the local group with name xxx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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