📖 ~1 min read
Table of contents
Symptom & Impact
Server stalls during configuring updates and returns to reboot loops.
Environment & Reproduction
Common when maintenance restarts are interrupted by power or orchestrator timeouts.
dism /image:C: /get-packages | findstr /i pending
notepad C:WindowsLogsCBSCBS.log
Root Cause Analysis
A servicing transaction is incomplete, leaving the component store in inconsistent state.
Quick Triage
Confirm pending.xml presence and package state from recovery shell.
dir C:WindowsWinSxSpending.xml
dism /image:C: /cleanup-image /checkhealth
Step-by-Step Diagnosis
Review CBS log for first fatal package processing error.
findstr /i /c:'error' C:WindowsLogsCBSCBS.log

Solution — Primary Fix
Revert pending actions and reset update components.
Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.
dism /image:C: /cleanup-image /revertpendingactions
ren C:WindowsSoftwareDistribution SoftwareDistribution.old

Solution — Alternative Approaches
Uninstall latest quality update package offline.
dism /image:C: /remove-package /packagename:
Verification & Acceptance Criteria
Boot reaches login and update status returns to stable state.
Get-HotFix | Sort InstalledOn -Descending | Select -First 5
Rollback Plan
Recover from last known good backup if servicing corruption remains.
wbadmin get versions
Prevention & Hardening
Use controlled reboot windows and UPS-backed infrastructure for patch cycles.
sconfig
Related Errors & Cross-Refs
Related to 0x800f0922 and CBS corruption events.
Related tutorial: View the step-by-step tutorial for Windows Server 2012 R2.
View all Windows Server 2012 R2 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Microsoft Learn on servicing stack repair and pending update rollback.
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.