Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Local Users

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

local account in SAM → local authentication → local token

Evidence · next step

Validate logon state/token or inspect the resource ACL.

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

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.

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
Scope / prerequisiteUse Local Users when the account exists only on one machine, when a workgroup or break-glass account is involved, or wh…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
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

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 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
Key points
  • Local accounts are machine-scoped security principals.
  • PCNAME\user and DOMAIN\user are different identities even when user is 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.
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

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.

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 → 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%
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
local windows accountlocal user accountcomputer local user
Embedded reference data

Quick lookup tables

Local account facts

Operational distinctions for local Windows users.

ItemMeaningBoundary
ScopeOne Windows computernot trusted as a domain identity by default
Name formCOMPUTER\userremoves ambiguity with domain accounts
SIDMachine-specific SID + RIDcanonical ACL identity
GroupsLocal groupsmembership contributes to token on that computer
ProfileUsually local profileprofile path/state is separate from account identity
Confirmation

Confirm action

Continue?