LSA Protection
Explanation
For Windows 11, version 22H2 and beyond a new setting is used to configure this. IT can be located at 'System\Local Security Authority\Configures LSASS to run as a protected process' which provides additional configuration options.
Enable LSA protection.
For more information, see http://technet.microsoft.com/en-us/library/dn408187.aspx
Use cases
Runs LSASS as a protected process (PPL), which prevents an untrusted process from reading its memory to steal credentials. Value 1 enables protection with a UEFI lock, value 2 without a lock (enforced on Windows 11 22H2 and later).
Audit first: LSA plug-ins must be Microsoft-signed with no shared sections, otherwise they stop loading (smart card, third-party password filters). Setting the policy to Not Configured does not undo a previous enablement: it must be set to Disabled.
Microsoft source: Configure added LSA protection
Registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa- Value name
RunAsPPL
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: SecGuide/Pol_SecGuide_0204_LsassRunAsPPL
$k = 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RunAsPPL' -Value 1 -Type DWordDisable
# Disable: SecGuide/Pol_SecGuide_0204_LsassRunAsPPL
$k = 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RunAsPPL' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": SecGuide/Pol_SecGuide_0204_LsassRunAsPPL
$k = 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa'
Remove-ItemProperty -Path $k -Name 'RunAsPPL' -ErrorAction SilentlyContinueApplication
Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.