Use Local Users when the account exists only on one machine, when a workgroup or break-glass account is involved, or when you need to distinguish local credentials from domain credentials.
Local Users
A local user is a security principal defined on one Windows computer. Its SID is derived from that computer’s local security authority identity plus a relative identifier, and it is independent of an identically named account on another computer or in a domain.
1. Get-LocalUser — enabled, password expiry, last logon.
2. Create: New-LocalUser.
3. Disable unused: Disable-LocalUser.
4. LAPS manages the built-in admin password?
5. Test sign-in.
local account in SAM → local authentication → local token
Validate logon state/token or inspect the resource ACL.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes are signing in as a domain account while inspecting a local account, assuming a recreated username retains old permissions, and troubleshooting a profile error as if the account record itself were missing.
Operational reference
Fast context before you go deeper.
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
Confirm the machine scope, SID, account state and local group membership. If the account was recently changed, sign out and create a fresh session/token. Test the failing operation using the same local identity rather than an administrator test account.
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.
- Local accounts are machine-scoped security principals.
PCNAME\userandDOMAIN\userare different identities even whenuseris the same text.- ACLs preserve the SID; renaming a local user does not create a new principal.
- A local account can be disabled, locked or password-expired independently of domain state.
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 are defined on the Windows computer rather than in Active Directory. They are useful for standalone systems, local administration and recovery scenarios. Windows security decisions still use the local user SID and any local group SIDs in the process access token.
ReferenceImportant terms & boundaries2 sections · depth on demand
Security boundary
The same username can exist locally and in a domain. Always qualify ambiguous names. A renamed account keeps its SID, so permissions that reference the SID continue to reference the same principal. Deleting and recreating an account with the same name creates a different SID and therefore a different security principal.
Operational checks for Local Users — Security boundary: Anchor the same process/service/object, security context and effective runtime state; registry or GUI configuration alone is not closure.
In depth
Managing local users:
New-LocalUser -Name svc-backup -Password (Read-Host -AsSecureString) -PasswordNeverExpires -UserMayNotChangePassword
Add-LocalGroupMember -Group 'Backup Operators' -Member svc-backup
Set-LocalUser -Name svc-backup -Description 'Backup job account'
Disable-LocalUser -Name Guest
Get-LocalUser | Select Name,Enabled,LastLogon,PasswordLastSet
net user alice /active:no
In domains, manage local admin passwords with Windows LAPS (passwords rotated and stored in AD or Entra ID) instead of identical passwords across machines.
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. 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 account facts
Operational distinctions for local Windows users.
| Item | Meaning | Boundary |
|---|---|---|
| Scope | One Windows computer | not trusted as a domain identity by default |
| Name form | COMPUTER\user | removes ambiguity with domain accounts |
| SID | Machine-specific SID + RID | canonical ACL identity |
| Groups | Local groups | membership contributes to token on that computer |
| Profile | Usually local profile | profile path/state is separate from account identity |