Verify Local Group Membership

Here’s a quick tip for verifying local group membership.  This is a quick and easy way to see if someone is a member of a local group. I use this when trying to quickly see if someone is a member of the Administrators group. Simply open the command prompt and run the following code:

NET LOCALGROUP [GROUPNAME]

For Example:

C:\>NET LOCALGROUP ADMINISTRATORS
Alias name     administrators
Comment        Administrators have complete and unrestricted access to the computer/domain

Members

-------------------------------------------------------------------------------
Administrator
DOMAIN\Domain Admins
DOMAIN\JLyon
DOMAIN\PCAdmins
FSA
HELPDESK
The command completed successfully.

It will show you some extra details like the alias name and comments, but what we are looking for is the user names under Members… If this helps you, post a comment.

 


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *