Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Users & Groups

Direct answer

Users & Groups explains the Windows security-principal model behind sign-in and access decisions. A user account has an identity such as a SID; group membership expands the SIDs and privileges carried in an access token; a user profile stores per-user state but is not the account itself.

When to use this

Use this branch when you need to determine which account Windows is actually using, whether the principal is local or domain-scoped, which groups contribute to authorization, why the same username maps to different identities, or why a profile problem is being mistaken for an account problem.

First 30 seconds

1. Local or domain account? whoami.

2. Exists and enabled: Get-LocalUser / Get-ADUser.

3. Groups: whoami /groups (new logon).

4. Admin rights: Get-LocalGroupMember Administrators.

5. Profile loads correctly?

Operational verification

account (local SAM or AD) → authentication → token with SIDs → access

Evidence · next step

Inspect the token/resource authorization boundary or the profile-load boundary, depending on the symptom.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Do not infer identity from the visible username alone. Do not assume a group change instantly updates existing processes. Do not equate Administrators membership with an elevated token. Do not delete/recreate a profile until you have showed the account is healthy and the profile boundary is actually failing.

Platform / version applicability
Microsoft Windows
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformMicrosoft Windows · Windows / Windows Server / PowerShell
Key commandnet user
Scope / prerequisiteUse this branch when you need to determine which account Windows is actually using, whether the principal is local or d…
Reference · 2
What next?3 suggested next steps
Child topics (this level)10
Catalog command links2
Evidence1
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Start from the exact failing process or sign-in. Confirm whether the account is local or domain-scoped, resolve the SID, inspect relevant group membership, then recreate the logon/process if membership changed. Finally test the target resource from that same context. If the symptom is desktop/profile-specific, verify profile load separately from authentication.

Evidence references

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.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic Local Users

Local Windows user accounts: machine scope, local SID identity, credentials, group membership and local sign-in behavior.

Subtopic Local Groups

Local Windows groups: machine-scoped group SIDs used to aggregate users and other principals for rights and permissions.

Subtopic Microsoft Accounts

Microsoft account sign-in on Windows: cloud-backed identity linked to a local Windows security context and user profile.

Subtopic Domain Accounts

Active Directory domain user accounts on Windows: domain SID identity, domain authentication, group membership, cached logon and local resource authorization.

Subtopic User Profiles

Windows user profiles: per-user filesystem and registry state, profile loading, HKCU mapping and profile-vs-account troubleshooting.

Subtopic SID

Windows Security Identifiers (SIDs): stable principal identifiers used in access tokens, ACLs, ownership and account/group authorization.

Subtopic Built-in Accounts

Windows built-in and system-managed accounts: predefined principals with special roles, known SIDs/RIDs and security implications.

Subtopic Administrators

Windows local Administrators group: administrative group membership, privileges, UAC filtered/elevated tokens and authorization boundaries.

Subtopic Local Users and Groups

Local Users and Groups management surface for inspecting and managing local accounts, groups and membership on supported Windows editions.

Subtopic Account Troubleshooting

Systematic Windows account troubleshooting: principal scope, SID, authentication, group/token state, profile load and authorization boundaries.

Key points
  • Windows authorizes security principals by SID, not by the display name alone.
  • Local and domain accounts can have the same username while remaining completely different principals.
  • Group membership affects the access token; changing membership may require a new sign-in or new token before a running process sees the change.
  • A user profile is per-user runtime/configuration state and can fail independently of the account.
  • Administrator-group membership does not mean every process is elevated; UAC is a separate boundary.
Key checks
  • Get-LocalUser — local accounts
  • Get-LocalGroupMember Administrators — local admins
  • whoami /all — current user, SID, groups, privileges
  • net user <user> /domain — domain account details
ReferenceWhat it is1 section · depth on demand

Core model

Windows treats accounts and groups as security principals. Names are convenient labels, but authorization is evaluated with SIDs in an access token. Local accounts are scoped to one computer, domain accounts are issued by Active Directory, and Microsoft accounts provide cloud-backed sign-in while still participating in the local Windows security model. Groups simplify authorization by adding group SIDs and privileges to a user token.

ReferenceImportant terms & boundaries2 sections · depth on demand

Security boundary

Keep five objects distinct: account (the identity record), SID (stable security identifier), group membership (authorization aggregation), access token (the runtime security context of a process) and user profile (per-user files/settings). Most confusing failures come from proving one object and assuming the rest match.

In depth

Windows account types:

TypeStored inIdentifier
Local userSAM database on the machineS-1-5-21-<machine>-RID
Domain userActive DirectoryS-1-5-21-<domain>-RID
Microsoft account / Entra IDCloud, cached locallyS-1-12-1-… (Entra)
Built-in service accountsSystemS-1-5-18 SYSTEM, -19 LocalService, -20 NetworkService
Virtual/managed service accountsAD (gMSA) or systemNT SERVICE\<name>

Windows authorises by SID, not name: renaming an account keeps its permissions; deleting and recreating with the same name does not.

whoami /all
Get-LocalUser | Select Name,Enabled,SID
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docMicrosoft Windows current

Authoritative/upstream documentation reviewed for bounded claims in Users & 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%
Terminology layer

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.

Aliases that resolve here
windows users and groupswindows accountslocal users groupswindows security principals
Embedded reference data

Quick lookup tables

Windows identity boundary map

Separate account source, SID, token and profile before troubleshooting access.

ItemMeaningBoundary
Local accountLocal machine SAM / local account databasemachine-scoped SID; usable without domain connectivity
Microsoft accountCloud identity linked to Windows sign-inWindows creates/uses a local security context and profile for the sign-in
Domain accountActive Directory domaindomain SID plus RID; domain authentication/policy applies
GroupCollection of security principalsgroup SID can be present in token and grant/deny access
User profilePer-user files and registry statenot the identity itself; can be corrupt while the account is valid
Confirmation

Confirm action

Continue?