About Me

Josh Lyon

Name: Joshua Lyon
Birthday: August 8, 1985
Location: Grapevine, TX
E-mail: josh@boshdirect.com

Home View Blog Technology Verify Local Group Membership
Verify Local Group Membership
Written by Josh Lyon   
Thursday, 16 August 2007 10:14

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.

 

Comments (0)add comment

Write comment

busy