Use Local Groups when troubleshooting why a local or domain principal gains access through group membership, when managing built-in groups, or when checking whether a membership change has reached the runtime token.
Local Groups
A local group is a machine-scoped security principal that contains members and provides a group SID to eligible logon tokens. Permissions and user rights can be granted to the group instead of to each account individually.
1. Get-LocalGroup; members: Get-LocalGroupMember <group>.
2. Add: Add-LocalGroupMember -Group <g> -Member <user>.
3. Remote Desktop Users, Administrators most relevant.
4. Managed by GPO (Restricted Groups)? gpresult.
5. New logon to apply.
local group → members (local or domain) → included in token
Inspect the target ACL/share permission or assigned user right.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not stop at “the user is in the group.” A stale token, a deny ACE, a missing share permission or a UAC filtered token can produce access denied even when configured membership is correct.
Operational reference
Fast context before you go deeper.
Get-LocalGroupMember AdministratorsPrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Verify the local group object, direct membership, and then the token used by the failing process. If membership changed, create a new sign-in/process before retesting. Finally follow the group SID into the ACL or user-right assignment that should authorize the action.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Permissions should usually target groups rather than many individual users.
- Local groups can contain local principals and, on domain-joined systems, domain principals.
- Membership changes affect newly created tokens; existing processes can continue with the old token.
- Built-in local groups such as Administrators have well-known security semantics.
Get-LocalUser— local accountsGet-LocalGroupMember Administrators— local adminswhoami /all— current user, SID, groups, privilegesnet user <user> /domain— domain account details
ReferenceWhat it is1 section · depth on demand
Core model
Local groups reduce permission sprawl by assigning access and rights to a stable group SID. A Windows logon token can include many group SIDs, allowing one account to inherit authorization from several groups.
ReferenceImportant terms & boundaries2 sections · depth on demand
Security boundary
Configured membership and runtime membership are separate states. Windows constructs an access token at logon/process creation. Existing sessions are not automatically rewritten when an administrator later changes a group membership.
In depth
Important local groups:
| Group | Grants |
|---|---|
| Administrators | Full control of the machine |
| Users | Normal use |
| Remote Desktop Users | RDP logon |
| Remote Management Users | WinRM/PowerShell remoting |
| Backup Operators | Back up/restore files regardless of ACLs |
| Event Log Readers | Read logs remotely |
| Hyper-V Administrators | Manage Hyper-V without full admin |
Get-LocalGroupMember Administrators
Add-LocalGroupMember -Group 'Remote Desktop Users' -Member 'CORP\Helpdesk'
Manage membership centrally with GPO (Restricted Groups / Local Users and Groups preferences) or Intune account protection policies.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Users & Groups → Local Groups. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/security/identity-protection/access-control/local-accounts · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Local group troubleshooting
Distinguish configured membership from effective token membership.
| Item | Meaning | Boundary |
|---|---|---|
| Group exists | Local group object is present | does not prove user is a member |
| Member listed | Configured membership exists | does not prove old token refreshed |
| Group SID in token | Runtime membership is active | still requires resource ACL to grant access |
| ACL grants group | Resource authorization path exists | deny/share/UAC boundaries can still block |