Well-Known SIDs
S-1-5-18 — Local System (NT AUTHORITY\SYSTEM)
S-1-5-18 is the Local System account: the highest-privileged local principal on a Windows host, used by the Service Control Manager and most core services.
What it is
S-1-5-18 is the Local System account, shown as NT AUTHORITY\SYSTEM. It is
not a real user account — there is no profile to log into interactively and no
password an administrator sets. It is a built-in identity the operating system
uses to run its own code.
Local System is the most powerful local principal on a Windows host. It
holds every privilege on the machine, and on the network it authenticates as the
computer account (DOMAIN\MACHINE$), not as a user.
Where you see it
- The Service Control Manager and most core services run as
SYSTEMby default (the service's "Log On As" isLocalSystem). - Scheduled tasks configured to run as
SYSTEM. - The owner or a DACL entry on files, registry keys and processes created by the OS.
- Tokens in Event Log 4624/4688 records where the account name is
SYSTEMand the SID isS-1-5-18.
How to resolve it
# SID -> name
([System.Security.Principal.SecurityIdentifier]'S-1-5-18').Translate(
[System.Security.Principal.NTAccount]).Value # NT AUTHORITY\SYSTEM
# Current token (a SYSTEM process prints S-1-5-18)
[System.Security.Principal.WindowsIdentity]::GetCurrent().User.Value
S-1-5-18 is a well-known SID with the same value on every Windows
installation — it is not domain- or machine-specific, unlike the RID-based
account SIDs (…-500, …-512).
Related
S-1-5-19— Local Service (NT AUTHORITY\LOCAL SERVICE)S-1-5-20— Network Service (NT AUTHORITY\NETWORK SERVICE)S-1-5-32-544— Builtin Administrators