Running Windows 7 on my work PC, how can I check which groups I am a part of on the domain from my PC? I know how to check the local groups using MMC (Microsoft Management Console), just not the groups managed on the domain. I do not have remote access to our domain controller to check this, as we use a proprietary admin tool to access the server and licensing prevents additional installation.
Asked
Active
Viewed 2.7e+01k times
68
-
Is it an Active Directory domain, or something else? – Taegost Jun 25 '13 at 14:22
-
Active Directory, sorry – codewario Jun 25 '13 at 14:25
1 Answers
124
Open a command prompt.
Type: net user <userName> /domain
It will list both Local and Global groups that user belongs to.
If you want it to only list the groups, you can use Find to filter it:
net user <userName> /domain | find "Group"
This has worked in all (NT) version of Windows since at least NT 4.
On Vista/2008 and above, you can also use WhoAmI /Groups to get a verbose list of group memberships (including their UIDs, etc.) for the current user.
Ƭᴇcʜιᴇ007
- 111,883
- 19
- 201
- 268
-
nice. didn't know about this. FWIW it also works on 2008 R2 (not just Win7 as question is tagged with) – James Jun 25 '13 at 14:25
-
20this worked, i also just found out that WHOAMI /GROUPS also shows more verbose information about the groups you are a member of as well – codewario Jun 25 '13 at 14:27
-
2I forgot about WHOAMI /groups, Old habits I guess, the Net User command has been around since NT 4 days. :) I'll add that to my answer to round it out. – Ƭᴇcʜιᴇ007 Jun 25 '13 at 14:39
-
this post is also useful http://serverfault.com/questions/49405/command-line-to-list-users-in-a-windows-active-directory-group shows how to get all the users in a group – JonnyRaa Dec 02 '14 at 13:05
-
2This is not helpful, because the group names are truncated to 21 characters. A better solution, which also does not require extra software, is here http://serverfault.com/a/594724/66588 – t0r0X Mar 16 '15 at 19:51
-
1@Vistor Feel free to add an additional answer instead of claiming the existing answer is not helpful (18 people disagree ;) ) and just posting a link. The more answers the better. :) – Ƭᴇcʜιᴇ007 Mar 16 '15 at 19:54
-
Also the group list can span several lines but the find command only shows the first. – Zitrax Jan 18 '16 at 15:07