π ~1 min read
Table of contents
Symptom & Impact
DISM /RestoreHealth completes with errors on Windows Server 2019 and reports component store corruption that prevents future updates.
Environment & Reproduction
Occurs after partial cumulative update installs or abrupt shutdowns during servicing operations.
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /restorehealth
Root Cause Analysis
CBS database entries reference missing payloads, often because Windows Update Cleanup removed superseded components still needed for repair.
Quick Triage
Identify the failing package by checking the DISM log for the first 0x800f081f entry.
Select-String -Path C:WindowsLogsDISMdism.log -Pattern '0x800f081f'
Step-by-Step Diagnosis
Determine the package KB and locate matching source media or WIM.
Get-WindowsPackage -Online | Sort InstallTime -Desc | Select PackageName -First 20

Solution β Primary Fix
Run DISM with an explicit source pointing to a clean install.wim matching the same patch level.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
dism /online /cleanup-image /restorehealth /source:WIM:E:sourcesinstall.wim:1 /limitaccess
sfc /scannow

Solution β Alternative Approaches
Mount an offline image, apply latest LCU, and use it as the repair source for the running OS.
dism /mount-image /imagefile:E:sourcesinstall.wim /index:1 /mountdir:C:wim
dism /image:C:wim /add-package /packagepath:C:updates
Verification & Acceptance Criteria
DISM reports component store healthy and subsequent updates install without failure.
dism /online /cleanup-image /checkhealth
sfc /verifyonly
Rollback Plan
Restore from a recent system state backup when corruption is too deep to repair in place.
wbadmin start systemstaterecovery -version:
Prevention & Hardening
Avoid component cleanup before all pending updates apply and maintain matching install media on file shares.
Dism /Online /Cleanup-Image /AnalyzeComponentStore
Related Errors & Cross-Refs
Related: SFC unable to repair, 0x800f0922 staging error, and Servicing Stack Update prerequisites.
Related tutorial: View the step-by-step tutorial for Windows Server 2019.
View all Windows Server 2019 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Microsoft Learn guidance on DISM image repair, component store maintenance, and offline servicing.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.