Use it when you need the GUI/management concept behind local account and group administration, or when mapping UI observations to net user and net localgroup command evidence.
Local Users and Groups
Local Users and Groups is the Windows management surface for local security principals. It exposes local user accounts, local groups and their membership, allowing administrators to inspect or change machine-scoped identities without confusing them with domain objects.
1. Open lusrmgr.msc (not on Home editions).
2. Equivalent PowerShell: LocalAccounts module.
3. Domain controllers have no local users.
4. Changes take effect at next logon.
5. Compare with GPO-managed membership.
MMC snap-in → local SAM users and groups
Refresh the token and verify the target access or assigned right.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
A correct-looking GUI state can coexist with stale runtime tokens. Do not repeatedly toggle membership when the real issue is ACL, UAC or domain/local identity confusion.
Operational reference
Fast context before you go deeper.
net userPrimary Commands
Configuration and operational commands for this Topic.
net userReferenceDisplays or manages Windows user accounts. With no username it lists local accounts; with a username it displays account properties, and state-changing switches can create, modify or delete accounts.
Use when: Use read-only forms to confirm that the intended user exists and inspect account properties. Use state-changing forms only after verifying account scope and preserving the existing account/SID implications.
Quick note: Prefer SID-aware verification after identity changes. For detailed domain-account administration, use the AD-specific Windows branch/tools.
Windows / Windows Server / PowerShell · configuration · configuresnet localgroupReferenceDisplays or manages local Windows groups and their membership. It is useful for proving configured local group membership before checking whether a fresh access token contains the group SID.
Use when: Use net localgroup <group> to inspect configured membership. Use change forms only after confirming the target computer, group and principal scope.
Quick note: For Administrators membership, separate configured membership from UAC/elevation state.
Windows / Windows Server / PowerShell · configuration · configuresVerification & 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
Before editing, verify the target computer, principal scope and current membership. After changing a group, create a fresh logon/process and then test the actual resource or user right that motivated the change.
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.
- This surface manages local principals, not AD domain users/groups.
- Edition/management surface availability can vary; the underlying local security principals still exist.
- A GUI membership change still requires fresh token context for runtime effect.
- Account/profile/ACL are separate even when managed from nearby Windows tools.
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 Users and Groups provides a Windows administrative view of machine-local accounts and groups. It is useful for confirming account state and membership without mixing those objects with AD DS identities.
ReferenceImportant terms & boundaries2 sections · depth on demand
Security boundary
The management UI is only a configuration surface. The underlying security objects are SIDs and membership records. Effective authorization is evaluated later through the access token and resource security descriptors.
In depth
Local Users and Groups (lusrmgr.msc) is the MMC snap-in for SAM accounts; it is not available on Home editions or on domain controllers (DCs have no local SAM accounts in normal operation).
PowerShell equivalents (Microsoft.PowerShell.LocalAccounts module): Get-LocalUser, New-LocalUser, Get-LocalGroup, Add-LocalGroupMember, Remove-LocalGroupMember. In PowerShell 7 the module loads via Windows PowerShell compatibility.
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 Users and 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 Users and Groups scope
What this management surface owns and what it does not.
| Item | Meaning | Boundary |
|---|---|---|
| Local user | Machine account record | not AD user object |
| Local group | Machine group record | can contain eligible domain principals |
| Membership edit | Configuration change | old token may remain stale |
| Profile | Separate per-user state | not managed as the same security object |
| ACL | Separate resource security descriptor | not implied by group UI |