Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

SID

Direct answer

A SID is the Windows security identifier for a user, group, computer or other security principal. ACLs and access tokens use SIDs because names can change or be ambiguous; the SID is the canonical identity used by access checks.

When to use this

Use SID when two identical names may refer to different principals, when an ACL shows an unresolved SID, when an account was deleted/recreated, or when tracing group/token authorization.

First 30 seconds

1. whoami /user — SID.

2. Resolve: (New-Object Security.Principal.SecurityIdentifier 'S-1-…').Translate([Security.Principal.NTAccount]).

3. Orphaned SID in ACLs → deleted account.

4. Cloned machines need unique machine SIDs (sysprep).

5. Well-known SIDs: S-1-5-18 SYSTEM, -32-544 Administrators.

Operational verification

account → SID (domain/machine + RID) → used in tokens and ACLs

Evidence · next step

Evaluate group/token state and the complete DACL/share permission path.

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

Do not use name equality as evidence of identity. Do not assume an unresolved SID is harmless or stale. Do not recreate an account expecting the old ACL entries to automatically match the new SID.

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 SID when two identical names may refer to different principals, when an ACL shows an unresolved SID, when an accoun…
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.

2 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

Resolve the SID, verify its scope, then trace it into the token and target security descriptor. For an unresolved ACL entry, determine whether the identity was deleted, belongs to an unavailable domain or is intentionally retained before changing it.

Step 2 Layered verification Verify boundary

SID — layered verification closure. Close the Topic in layers: local authoritative state → adjacent dependency/peer/backend → effective or programmed state → original workload/request → return path or regression. For every observation record what it supports, what it does not show, and the next discriminating check. A configuration read-back, successful job, established session or healthy status closes only the layer it directly observes.

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
  • Windows access checks use SIDs, not friendly names.
  • Renaming a principal normally keeps its SID; deleting/recreating it does not.
  • Local account SIDs are machine-scoped; domain account SIDs are domain-scoped.
  • An unresolved SID in an ACL can be evidence of a deleted/unreachable principal, not automatically corruption.
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

SIDs are the durable identity keys of Windows security. Human-readable names are resolved to and from SIDs, but access tokens, DACLs, ownership and many security records ultimately carry the SID.

ReferenceWhy it matters1 section · depth on demand

In depth

A SID (security identifier) uniquely identifies a user, group, computer or other security principal. Windows uses SIDs, not names, in access control lists and tokens, so renaming an account keeps its permissions while recreating it with the same name does not.

SIDMeaning
S-1-5-18LocalSystem
S-1-5-32-544Builtin\Administrators
S-1-5-domain-500Domain/local Administrator account
S-1-5-domain-512Domain Admins
S-1-1-0Everyone
S-1-5-11Authenticated Users
whoami /user
Get-ADUser ahansen | Select-Object SID
(New-Object System.Security.Principal.SecurityIdentifier('S-1-5-32-544')).Translate([System.Security.Principal.NTAccount])

Unresolved SIDs in ACLs (shown as raw S-1-5-...) belong to deleted accounts — clean them up. Cloned machines must be sysprepped so they do not share machine SIDs in ways that matter for some software.

ReferenceImportant terms & boundaries2 sections · depth on demand

Security boundary

A local user SID normally reflects the local machine security authority plus a RID; a domain user SID reflects the domain authority plus a RID. This is why two user accounts with the same name can be unrelated principals and why recreating an account does not restore permissions tied to the old SID.

Mechanics

For Users & Groups → SID, stable identity is computer/domain identity plus SID/GUID/resource/provider identity and exact Windows edition/build where behavior is version-sensitive.

The operating invariants are: target identity is explicit, authoritative configuration is known, pending restart/replication is visible, effective state is independently verified and native errors/events are preserved.

Keep desired configuration, effective policy, current runtime state and user/workload-visible behavior as separate facts.

Preserve computer/domain/object identity, SID/GUID/resource names, timestamps, provider/source and per-node results so repeated display names do not mislead.

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 → SID. 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
security identifierwindows siduser sidgroup sid
Embedded reference data

Quick lookup tables

SID interpretation

How SIDs help distinguish Windows security principals.

ItemMeaningBoundary
Friendly nameHuman-readable labelcan be renamed/ambiguous
SIDCanonical security identityused in tokens and ACLs
RIDRelative identifier portiondistinguishes principals under a common authority
Unresolved SIDName lookup failedmay reference deleted/offline principal
Well-known SIDStandard identitystable semantic role across systems
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

Capture computer/domain identity, object GUID/SID/resource name where relevant, version/build, effective state, native status/error, event provider/ID, timestamp and correlation/activity identifiers.

Confirmation

Confirm action

Continue?