Enable LSA Protection (RunAsPPL) on Windows
Protect saved Windows credentials from theft by running LSASS as a protected process.
01Command
$ reg add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v RunAsPPL /t REG_DWORD /d 2 /f02What it does
The Local Security Authority (LSASS) holds your Windows logon credentials in memory, which is exactly what password-stealing malware targets. LSA protection runs LSASS as a 'protected process' so normal programs cannot read it or inject code into it. Setting RunAsPPL to 2 turns protection on via registry alone (no UEFI lock), and Windows 11 clean installs already have it enabled — older upgraded PCs often do not.
03Risk
04Undo
$ reg add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v RunAsPPL /t REG_DWORD /d 0 /f05Sources
- Configuring Additional LSA Protection | Microsoft LearnEvidence: RunAsPPL=2 enables LSA protection without UEFI variable; the LSASS process runs as protected process preventing code injection and credential dumping.
Last verified: 2026-09-18 · Category: Security & Privacy
06Related solutions
Understand PowerShell's execution policy scopes and set the one that lets you run your own local scripts without gutting the security model.
Two-step command sequence that makes you the owner of a locked file tree and grants yourself full control — the standard fix for 'Access is denied' on old profiles and OS reinstall leftovers.
Built-in Windows command to compute MD5, SHA1 or SHA-256 hashes of any file.