SEARCH

BYTE SIZE TIPS / QUICK, HELPFUL TIPS

How-To Geek

How to See Which Group Your Windows User Belongs To

image

Back when HTG was still in its early days we showed you how to check which groups your Linux user belongs to. Years later we needed to do this on a Windows box so we thought we would share it with you.

See Which Group Your Windows User Belongs To

Depending on which security groups your Windows user belongs to, you may or may not have access to specific files and folders on your local system. I am using Windows 8, but this will work on any system as far back as XP, and may even work on earlier versions on Windows although they were before my time.

whoami /groups

image

My user is just part of the default Window groups for the most part. Unfortunately Windows doesn’t have a built in way for you to see which groups another user is part of unless you are in a domain environment. Did you know about the WhoAmI command, what have you used it for in the past? Let us know in the comments.

  • Rick P.

    Would be nice to explain the Groups.

    I have a Group named Homeuser which has a hugely long identifier.

    S-1-5-21-1390182880-1087659049-2988118483-1002 Mandatory group, Enabled by default, Enabled group

    The other groups have an alias or known short identifier accounts.

Taylor Gibb is a Microsoft MVP and all round geek, he loves everything from Windows 8 to Windows Server 2012 and even C# and PowerShell. You can also follow him on Google+

  • Published 08/10/13

RECOMMENDED POSTS

Enter Your Email Here to Get Access for Free:

Go check your email!