List All Local User Groups with Get-LocalGroup

Show every security group on the PC (Administrators, Users, Guests and more) before assigning account permissions.

WindowsuserssecuritypowershellLow risk
Run `Get-LocalGroup | Select-Object Name, Description` in PowerShell to list all local groups.

01Command

Command
$ Get-LocalGroup | Select-Object Name, Description

02What it does

Windows decides what an account may do largely through group membership, and before you add a user anywhere it helps to see which groups actually exist on this machine. Get-LocalGroup lists them all with their descriptions — Administrators, Users, Guests, Remote Desktop Users and any custom groups installed by software. Pair it with Get-LocalGroupMember to inspect who is inside a specific group.

03Risk

RiskLow risk

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-09-19 · Category: Security & Privacy

06Related solutions