Windows Server Domain Controller Restart Loop (KB5082063) — Out-of-Band Fix Guide
TL;DR: The April 2026 security update KB5082063 caused LSASS crashes → infinite restart loops on non-Global-Catalog (non-GC) DCs in environments with PAM (Privileged Access Management) enabled, on Windows Server 2016 through 2025. Microsoft released out-of-band fixes on April 19, 2026: KB5091157 (Server 2025) and KB5091575 (Server 2022). If you haven’t installed KB5082063 yet, you can defer it; if installed and looping, wusa /uninstall via safe mode or apply the out-of-band update.
Affected environments
| OS Version | Affected? | Out-of-Band Fix | Build |
|---|---|---|---|
| Windows Server 2016 | ✅ Yes | KB5091577 | 14393.7632 |
| Windows Server 2019 | ✅ Yes | KB5091578 | 17763.6996 |
| Windows Server 2022 | ✅ Yes | KB5091575 | 20348.5024 |
| Windows Server 2025 | ✅ Yes | KB5091157 | 26100.32698 |
Two conditions for impact:
- DC is non-GC (Global Catalog) — common in multi-domain forests
- Environment has Privileged Access Management (PAM) enabled (time-bound roles, Just-in-Time admin)
⚠️ Symptom detection
- DC reboots before reaching login prompt (boot loop)
- Event ID 1015 (“LSASS terminated unexpectedly”) or Event ID 7034
- Faulting module:
lsasrv.dllorsamsrv.dll - Authentication unavailable across domain
repadmin /replsummaryshows affected DC “unreachable”
Scenario 1 — I haven’t installed the update yet
- Decline KB5082063 in WSUS/Intune — critical step, otherwise it installs automatically
- Push out-of-band update directly (table above)
- The out-of-band update includes KB5082063 fixes + LSASS fix
# WSUS decline (PowerShell)
$Wsus = Get-WsusServer
$Update = $Wsus.SearchUpdates("KB5082063") | Where-Object Title -Match "Cumulative Update"
$Update | ForEach-Object { $_.Decline() }
Scenario 2 — Installed, affected, still running (no loop)
- Download out-of-band MSU from Microsoft Update Catalog
- RDP to DC, open elevated cmd
wusa.exe C:UpdatesKB5091575.msu /quiet /norestart- Reboot:
shutdown /r /t 60 - Verify post-restart:
Get-HotFix -Id KB5091575 - Health check:
dcdiag /vandrepadmin /replsummary
Scenario 3 — In a boot loop, can’t log in
- During boot, press F8 or Shift+F10 for boot menu (for VMs, use ESXi/Hyper-V console)
- After 3 failed boots, Recovery menu often opens automatically — “Troubleshoot → Advanced Options → Startup Settings → Restart”
- Select 4 — Safe Mode (not “with Networking” — LSASS-less networking risk)
- Login as Administrator (DSRM password may be required on DCs)
- Remove KB5082063:
wusa.exe /uninstall /kb:5082063 /quiet /norestart
shutdown /r /t 60
- Boot normally, system should come up
- Apply out-of-band update immediately (Scenario 2 steps)
If you forgot DSRM password
- Reset DSRM password remotely from a working DC:
ntdsutil → set dsrm password → reset password on server <DCName> - All DCs down: Windows Server installation media → “Repair → Command Prompt” → offline registry edit (advanced, risky)
- Last resort: Authoritative restore from System State backup
Post-patch verification
Get-HotFix | Where-Object HotFixID -in @("KB5082063","KB5091575","KB5091578")
Get-Process lsass
Get-WinEvent -LogName System -MaxEvents 100 | Where-Object Id -in @(1015, 7034)
dcdiag /v
repadmin /replsummary
Common issues
- “Can’t enter Safe Mode, DSRM password doesn’t work.” Password not set or DSRM sync disabled at forest level. Reset via
ntdsutilfrom another DC. - “wusa /uninstall says ‘update not found’.” KB5082063 is Cumulative Update, can’t be uninstalled directly. Use DISM:
dism /online /remove-package /packagename:Package_for_KB5082063 - “Out-of-band installed but LSASS still crashes.” PAM settings may be protected. Review with
Get-PAMRolesByPolicy; temporarily disable PAM feature. - “All my DCs are down, replication lost.” Last resort: authoritative restore from System State backup.
Preventive recommendations
- Never patch all DCs simultaneously — 50% per-site rule
- Define a Pilot group in WSUS/Intune: 1 test DC, 1 week observation, then production
- Run System State backup weekly (at least 2 different media)
- Store DSRM password in password manager, rotate yearly
- Follow Microsoft Release Health Dashboard via RSS
Active Directory and Windows Server support
Need help with DC recovery, AD replication issues, PAM configuration, WSUS/Intune patch management, or disaster recovery scenarios? We have provided Windows Server and Active Directory consulting across Turkey since 1998.




