Lesson 14 of 14 · 14m
Servicing: The Cumulative Model and What 'Patch It' Means
One LCU is the whole patched state — Patch Tuesday cadence, WUfB/WSUS/Intune delivery, pending-reboot registry keys, and the rollback tradeoffs.
One update is the whole state
Windows servicing is cumulative: the monthly LCU — latest cumulative update — contains every fix since RTM. Install the newest one and you are current; there is no chain to replay. Since early 2021 the servicing stack update ships inside the LCU, retiring the old "install the SSU first" dance. The cadence: Patch Tuesday is the second Tuesday of the month around 10:00 Pacific (the "B" release); optional non-security preview updates land in weeks three and four ("C"/"D"); out-of-band releases arrive when something is on fire — PrintNightmare (CVE-2021-34527) got its OOB within days.
Two update classes run on different tracks. Quality updates are the monthly LCUs — security and reliability, cumulative, safe to deploy fast. Feature updates are the annual OS upgrade — 23H2→24H2 — which is really an in-place OS reinstall and deserves its own ring schedule, its own rollback plan, and months of runway, not weeks. Conflating them is how "patching" becomes a twice-a-year fire drill.
The components live in WinSxS, the component store — versioned assemblies, hardlinked into place — serviced by CBS, Component-Based Servicing. DISM /online /get-packages lists what's installed; /cleanup-image /startcomponentcleanup prunes superseded versions on a schedule rather than in panic; adding /resetbase makes the cleanup permanent — after it, installed updates can never be uninstalled, which is a real decision on boxes where rollback is your plan B. When WinSxS itself is corrupt, /restorehealth repairs it from Windows Update or a mounted WIM (/source:wim:) — that command is the fix for a whole class of "updates fail with a CBS error" reports.
Where "patch it" actually comes from
- Windows Update for Business — deferral windows and deadlines set by policy, max roughly 30 days on quality updates
- WSUS — the on-prem replica: syncs the catalog, you approve per computer group, clients pull from it
- Intune update rings and Autopatch — the cloud-native versions of the same deferral model
PSWindowsUpdate— the scripting module:Get-WindowsUpdate,Install-WindowsUpdate -AcceptAll -AutoRebootwusa.exe— installs standalone.msupackages;wusa /uninstall /kb:5034441is the rollback verb while/resetbasehasn't run
Delivery Optimization is the P2P piece people forget: peers on a LAN share downloaded payloads, controlled by DOGroupId / download-mode policy — on a bandwidth-starved site it's the difference between a patch wave and a WAN event.
Diagnostics: on Windows 10+ the readable WindowsUpdate.log is gone — Get-WindowsUpdateLog decodes the ETW traces into a file. winver plus the UBR registry value (HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UBR) tells you exactly which LCU you're on, and Get-HotFix lists installed KBs.
The half-applied state
Kill the wrong model: "update when convenient; the box is fine either way." A cumulative update stages into pending operations — pending.xml and three registry keys — and until reboot you're running a half-applied state:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperationsThose three keys are the pending-reboot check every monitoring stack implements.
The tradeoff is real — quality updates versus the annual feature update, and deferral measured in weeks for a pilot ring to catch the bad ones. But the asymmetry flipped in 2017: WannaCry and NotPetya detonated against SMBv1/EternalBlue a month after MS17-010 shipped, and median time-to-exploit has only collapsed since. "The update might break something" now weighs against "the exploit ships this week."
The practice: patch a pilot ring within days, broad deployment within the WUfB deferral window (deadlines and grace periods are separate knobs — a deadline forces the reboot when it expires), feature updates on your calendar not Microsoft's. Check the three reboot keys instead of asking the box. Prune WinSxS on schedule. Keep rollback honest — don't /resetbase a machine you might need to unwind.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
BlueHammer: The Unpatched Windows Zero-Day That Weaponizes Microsoft Defender Against Your Own System
BlueHammer is an unpatched, publicly released Windows local privilege escalation exploit that chains Microsoft Defender's update workflow, Volume Shadow Copy, Cloud Files callbacks, and opportunistic locks to reach NT AUTHORITY\SYSTEM from a standard user account.
A Fake GTA 6 ISO Didn’t Install a Game. It Installed a Wiper.
A fake GTA 6 ISO used a believable installer error to cover remote-access malware, browser-data theft, and destructive file wiping. The “License not found” message wasn’t the crack failing. It was there so the victim would stop looking.
Running a Minecraft Network: Four JVMs, One Box, and the Settings That Lie to You
Four servers on one host means four JVMs each sizing its thread pools for a machine it does not own. The measured cost of that, the systemd ordering that guarantees nothing, and the throttle that switches itself back on when your forwarding breaks.
Building a Minecraft Network: Four Servers Pretending to Be One Place
A proxy, a lobby, an SMP and a PvP arena is four JVMs that know nothing about each other. What actually has to be shared, why your permissions don't follow players, and the two LuckPerms defaults that silently share nothing at all.