« All posts

Server 2019 CU Failures (0x800f0986): Truncated WinSxS File, MIT Toolkit Released

A truncated WinSxS file broke months of Server 2019 updates unseen by DISM/SFC. Learn the msdelta.dll replay method and the MIT-licensed fix toolkit.

For months, a production Windows Server 2019 SQL host failed every monthly cumulative update with error 0x800f0986. Standard remediation - SFC, DISM RestoreHealth, Windows Update resets, manual catalog installs - all failed silently, because the corruption sat inside the WinSxS delta chain, a layer none of these tools deep-verify.

The breakthrough came from calling msdelta.dll, the same delta engine CBS uses internally, directly from PowerShell. Replaying a component's delta chain in both directions pinpoints exactly which stored file is corrupt. Because PA30 deltas embed the hash of their target, a delta that applies cleanly certifies its own output - allowing the true bytes of a damaged file to be reconstructed purely from what's already on disk, without a donor server, ISO, or in-place upgrade.

In this case, replaying Microsoft's own reverse delta revealed that the RTM base of driversipolicy.p7b had been silently truncated from 6,630 to 1,395 bytes, breaking every cumulative update since. The author released a generalized MIT-licensed toolkit - covering evidence collection, chain replay with a verdict matrix, verified file swap, and TrustedInstaller ownership restoration - along with hard-won gotchas around WinSxS folder-name contraction, non-SxS components, ownership semantics, and the danger of running DISM /ResetBase on a broken system.

This synthesis was produced from its source by AI; there is no human editor or manual review step. How we work