Pages

Showing posts with label CBS Log CheatSheet. Show all posts
Showing posts with label CBS Log CheatSheet. Show all posts

Saturday, August 8, 2026

Windows Servicing Reference | CBS Log Cheat Sheet

CBS Log Interpretation Cheat Sheet
Windows Servicing Reference

CBS Log Cheat Sheet

Component Based Servicing Windows Update Diagnostics HRESULT Error Codes Log Path: C:\Windows\Logs\CBS\CBS.log
INTRO What Are CBS Logs & When Should You Use Them?

What is CBS.log?

The Component Based Servicing (CBS) log is Windows' primary record of every servicing operation performed on the OS — including Windows Updates, hotfixes, feature installations, role changes, and DISM operations. It is written by the TrustedInstaller service and captures every decision the servicing engine makes: what packages were evaluated, which were applied, which were skipped, and any errors encountered along the way.

Located at C:\Windows\Logs\CBS\CBS.log, it is one of the most detailed and reliable sources of truth for diagnosing update failures on Windows Server and Windows Desktop environments. When the log grows beyond a certain size, older entries are archived to CBS.persist.log in the same directory.

What Does CBS.log Contain?

✓ Package Applicability Checks
Every update is evaluated against the OS version, edition, and architecture before being applied. CBS records the full verdict.
✓ Installation Progress
Step-by-step record of each package being staged, installed, or skipped — including DPX decompression progress.
⚠ Warnings & Skipped Items
Missing optional components, absent parent packages for non-matching editions, and non-fatal conditions.
✗ Errors & HRESULT Codes
Failed operations with specific error codes, missing files, access denials, and component store corruption markers.
ℹ Dependency Resolution
Full trace of how CBS resolves package dependencies, prerequisite chains, and version conflicts before applying changes.
ℹ Rollback & Supersession
Records when older package versions are unprojected or superseded as part of applying a newer cumulative update.

When Should You Open CBS.log?

ScenarioWhat to Look For
Windows Update stuck at 0% or hangingHRESULT codes, timeout errors, BITS failures
Update shows "Failed" in Windows Update historyError entries near the timestamp of the failure
DISM /RestoreHealth fails or takes unusually longCorruption markers, missing source file errors
Server not patched for extended periodAborted entries, repeated failures on same KB
Feature or role installation failsPackage applicability failures, missing parent packages
Post-patching instability or unexpected rebootsIncomplete commit entries, pending reboot markers
Security scan flags outdated component versionsInstalled vs targeted state mismatches for specific packages
PSWindowsUpdate or Salt patching script errorsCorrelate script error timestamps with CBS entries
💡 Pro Tip — CBS.log is verbose by design. The presence of Warning or Info level entries about absent packages or skipped components is completely normal. Only focus on Error level entries and lines containing HRESULT, failed, or corruption when troubleshooting.
PART 01 Component Abbreviations
Abbreviation Full Name What It Does
CBSComponent Based ServicingCore Windows servicing engine — orchestrates all updates and component changes
CSIComponent Servicing InfrastructureHandles low-level component installation, registration, and deployment
DPXDelta Package ExpanderExpands and decompresses delta/compressed update packages
DISMDeployment Image Servicing and ManagementManages Windows images and component store integrity
TITrusted InstallerWindows Modules Installer — physically applies component changes to disk
BITSBackground Intelligent Transfer ServiceDownloads update packages in the background with bandwidth throttling
WUWindows UpdateUpdate detection, cataloging, and orchestration service
POQPrimitive Operation QueueLow-level file operation queue executed during servicing transactions
OCOptional ComponentWindows optional features such as IIS, DirectPlay, Hyper-V roles
WCPWindows Component PlatformPlatform abstraction layer for component lifecycle management
SQMService Quality ManagementTelemetry and diagnostics collection during servicing operations
EXECExecution EngineThe CBS sub-component that physically applies packages and file operations
APPLApplicability EngineEvaluates whether a given package or update is applicable to this system
RESLResolverResolves dependencies and conflicts between packages before installation
PLOGPrimitive LogVery low-level operation logging below the CBS layer
PLANPlanning EngineBuilds the execution plan — which packages to install, update, or remove
PART 02 Log Entry Format & Anatomy
2026-08-08 02:56:22, Info                  CBS    Exec: Skipping Package: Microsoft-Windows-IIS~amd64~~10.0.26100.1 because it is already in the correct state
Timestamp
2026-08-08 02:56:22
Log Level
Info / Warning / Error
Source
CBS
Sub-Component
Exec / Appl / Plan / Resl
Message
Actual operation detail
Log Levels
LevelMeaning
InfoNormal operation — no action needed
WarningUnexpected but non-fatal condition
ErrorOperation failed — investigation required
Sub-Components in Log
Sub-ComponentRole
ExecPhysically applying package changes
ApplEvaluating package applicability
PlanBuilding installation execution plan
ReslResolving package dependencies
PART 03 Package States
StateMeaningAction Required?
AbsentPackage is not installed and not staged on diskNormal if not applicable to this edition
StagedPackage files are present on disk but not yet activeWill be installed on next servicing pass or reboot
ResolvedPackage dependencies have been successfully resolvedReady for installation
InstalledPackage is fully installed and active on the systemNo action needed
SupersededPackage has been replaced by a newer versionOld version can be cleaned up with DISM
DefaultNo explicit state set — follows parent package stateNormal planning state
InvalidPackage is in a broken or unknown stateRun DISM /RestoreHealth
DetectCBS is in detection/evaluation mode only — no changes madeInformational only
PART 04 Common Log Keywords & Meanings
Keyword / PhraseMeaningStatus
Appl: detectParentChecking if prerequisite or parent package is present on the systemInfo
Appl: Evaluating package applicabilityDetermining whether this update applies to the current OS edition and versionInfo
Exec: Skipping PackagePackage already in the correct state — no changes neededOK ✓
Exec: Unproject packageRemoving or rolling back a superseded package versionNormal
Plan: Merge into existing executionCombining package operations for efficiency in one transactionInfo
parent state: AbsentA prerequisite package for this edition is not present — normal for non-matching editionsUsually Normal
parent state: InstalledRequired parent package confirmed present — update can proceedOK ✓
applicable state: InstalledFinal applicability verdict — update is applicable and cleared for installationOK ✓
Not able to find .mum in directoryPackage manifest file missing from local Software Distribution cacheWarning
Failed to find fileA required file is missing from the update packageError ✗
Commit completeUpdate transaction successfully committed to diskSuccess ✓
Failed with HRESULTOperation failed — error code follows for diagnosisError ✗
Mark store corruptionCBS has detected corruption in the Windows component storeCritical ✗
Reboot requiredA pending reboot is needed to complete the servicing operationAction Needed
External EvaluateApplicabilityAn external plugin or CBS extension is evaluating applicabilityInfo
Unprojecting PackageUninstalling a specific deployment of a componentNormal
Resolving packageWorking out dependency chain for a package before installationInfo
PART 05 Common HRESULT Error Codes
Error CodeMeaningRecommended Action
0x80070002File not foundClear SoftwareDistribution cache and retry
0x80070005Access deniedEnsure you are running as Administrator
0x8007000DInvalid / corrupted dataDelete cached download and re-download update
0x80070020File in use by another processReboot server and retry update
0x800705B4Operation timed outCheck network connectivity to WSUS or Microsoft Update
0x80072EFEConnection was abortedCheck firewall rules — server may be air-gapped or proxy blocked
0x80072EE2Network timeout — cannot reach update serverVerify WSUS server reachability or internet connectivity
0x80073712Component store is corruptedRun DISM /Online /Cleanup-Image /RestoreHealth
0x8024200DUpdate files are corruptClear SoftwareDistribution folder and force rescan
0x80242016Installer encountered an errorReview CBS.log for the specific failing package
0x800F0805Package not applicable to this OS editionVerify correct update for OS version and edition
0x800F0906DISM source files not foundProvide source with /Source flag or mount Windows ISO
0x800F0922CBS transaction timeoutCheck disk space and disable antivirus during patching
0xC1900101Driver compatibility failureCommon during feature updates — update drivers first
0x80096004Certificate validation errorCheck system clock sync and Windows Update certificate store
0x800B0109Certificate chain not trustedEnsure root certificates are up to date
PART 06 Package Naming Convention
Microsoft-Windows-ErrorReportingCore-Package~31bf3856ad364e35~amd64~~10.0.26100.7309
Package Name Publisher Token (Microsoft) Architecture Version (Major.Minor.Build.Rev)
Architecture Values
ValueArchitecture
amd6464-bit x86 (most servers)
x8632-bit
arm64ARM 64-bit
wow6432-bit layer on 64-bit OS
neutralArchitecture independent
Version Number Format
SegmentExampleMeaning
Major10Windows 10/11/Server
Minor0Always 0 for Win10+
Build26100OS build number
Revision7309Patch/update number

Common OS Build Numbers
BuildOS Version
14393Windows Server 2016 / Windows 10 1607
17763Windows Server 2019 / Windows 10 1809
20348Windows Server 2022
25398Windows Server 2025 (early)
26100Windows Server 2025 / Windows 11 24H2
22000Windows 11 21H2
22621Windows 11 22H2
22631Windows 11 23H2
PART 06B Windows Update Error Codes

These error codes appear in WindowsUpdate.log, Get-WUHistory output, PSWindowsUpdate results, and the Windows Update UI. They are distinct from CBS HRESULT codes but often accompany them during patching failures.

Error CodeHex CodeCommon NameMeaning & Fix
0x80070002-2147024894ERROR_FILE_NOT_FOUNDUpdate file missing from cache — clear SoftwareDistribution and retry
0x80070005-2147024891ERROR_ACCESS_DENIEDPermissions issue — ensure TrustedInstaller and SYSTEM have full access
0x80070020-2147024864ERROR_SHARING_VIOLATIONFile locked by another process — reboot and retry immediately
0x8007007E-2147024770ERROR_MOD_NOT_FOUNDRequired DLL or module missing — may need SFC /scannow
0x800700C1-2147024703ERROR_BAD_EXE_FORMATCorrupt update binary — re-download the update package
0x8007041D-2147023843ERROR_SERVICE_REQUEST_TIMEOUTWindows Update service timed out — restart wuauserv and retry
0x80070422-2147023838ERROR_SERVICE_DISABLEDWindows Update service is disabled — set wuauserv to Manual or Automatic
0x80070570-2147023504ERROR_FILE_CORRUPTCorrupt file in update package — clear download cache, run CHKDSK
0x800705B4-2147023436ERROR_TIMEOUTConnection timed out — check WSUS reachability and network latency
0x80072EE2-2147012894WININET_E_TIMEOUTCannot reach Windows Update / WSUS server — check firewall and DNS
0x80072EFD-2147012867WININET_E_CANNOT_CONNECTNo connection to update server — verify WSUS URL and port 8530/8531
0x80072EFE-2147012866WININET_E_CONNECTION_ABORTEDConnection dropped mid-download — firewall or proxy terminating connection
0x80072F8F-2147012721WININET_E_DECODING_FAILEDTLS/SSL certificate issue — check system time and root certificates
0x80073712-2147010798ERROR_SXS_COMPONENT_STORE_CORRUPTComponent store corrupted — run DISM /Online /Cleanup-Image /RestoreHealth
0x8007371B-2147010789ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETEIncomplete servicing transaction — reboot, then run SFC /scannow
0x80096004-2146869244TRUST_E_CERT_SIGNATURECertificate signature invalid — sync system clock, check root CA store
0x8024000B-2145124341WU_E_CALL_CANCELLEDUpdate operation was cancelled — retry, check for conflicting WU tasks
0x8024000E-2145124338WU_E_XML_INVALIDWindows Update XML data invalid — clear SoftwareDistribution\DataStore
0x80240016-2145124330WU_E_INSTALL_NOT_ALLOWEDInstall blocked — another install in progress or pending reboot required
0x80240017-2145124329WU_E_NOT_APPLICABLEUpdate not applicable to this system — OS version or edition mismatch
0x8024001E-2145124322WU_E_SERVICE_STOPWindows Update service stopped unexpectedly — restart wuauserv
0x8024001F-2145124321WU_E_NO_CONNECTIONNo network connection available — check NIC, DNS, and routing
0x80242006-2145116154WU_E_UH_INVALIDMETADATAUpdate metadata invalid — re-sync WSUS or clear WU cache
0x8024200D-2145116147WU_E_UH_NEEDANOTHERDOWNLOADUpdate files corrupt or incomplete — delete cached files and re-download
0x80242016-2145116138WU_E_UH_POSTREBOOTUNEXPECTEDSTATEUpdate in unexpected state after reboot — re-run Windows Update
0x8024402C-2145107924WU_E_PT_WINHTTP_NAME_NOT_RESOLVEDWSUS/WU server DNS resolution failed — check DNS and WSUS hostname
0x80244010-2145107952WU_E_PT_EXCEEDED_MAX_SERVER_TRIPSToo many round trips to server — WSUS server overloaded or throttling
0x80245003-2145107965WU_E_REDIRECTOR_ID_SMALLERRedirector cabinet file version mismatch — clear WU cache and retry
0xC1900101-1056505087MOSETUP_E_DRIVER_COMPATDriver compatibility failure during feature update — update all drivers first
0xC1900200-1056505344MOSETUP_E_COMPAT_SYSREQ_BLOCKSystem does not meet minimum requirements for the update
0xC1900208-1056505336MOSETUP_E_COMPAT_INSTALLREQ_BLOCKIncompatible app blocking upgrade — uninstall flagged application first
0x800F0805-2146963451CBS_E_INVALID_PACKAGEUpdate package not valid for this OS edition — verify correct KB for OS
0x800F0906-2146963194CBS_E_MISSING_EXECUTION_SOURCESource files not found for DISM — mount ISO or provide /Source path
0x800F0922-2146963166CBS_E_INSTALLERS_FAILEDOne or more installers failed — low disk space or antivirus interference
0x800F081F-2146963425CBS_E_SOURCE_MISSINGSource for .NET or feature package missing — use DISM with Windows ISO
💡 DPX Progress Note — DPX Progress : 80 in CBS.log means the Delta Package Expander is 80% through decompressing the update package. Values 0–99 indicate active decompression; 100 means expansion is complete and CBS will proceed to installation. If this value does not advance for 15+ minutes and TiWorker shows 0% CPU, the operation is stuck and a WU component reset is needed.
PART 07 PowerShell Grep Commands for Troubleshooting
Find all errors and failures
Select-String -Path "C:\Windows\Logs\CBS\CBS.log" -Pattern "error|failed" | Select-Object -Last 30
Find specific HRESULT error codes
Select-String -Path "C:\Windows\Logs\CBS\CBS.log" -Pattern "HRESULT"
Find component store corruption markers
Select-String -Path "C:\Windows\Logs\CBS\CBS.log" -Pattern "corrupt|corruption"
Find reboot pending entries
Select-String -Path "C:\Windows\Logs\CBS\CBS.log" -Pattern "reboot"
Find entries for a specific KB
Select-String -Path "C:\Windows\Logs\CBS\CBS.log" -Pattern "KB5012345"
View last 100 lines
Get-Content "C:\Windows\Logs\CBS\CBS.log" | Select-Object -Last 100
Find entries from a specific time window
Select-String -Path "C:\Windows\Logs\CBS\CBS.log" -Pattern "2026-08-08 03:"
Find missing file errors specifically
Select-String -Path "C:\Windows\Logs\CBS\CBS.log" -Pattern "Not able to find|Failed to find"
Export all errors to a text file for review
Select-String -Path "C:\Windows\Logs\CBS\CBS.log" -Pattern "error|failed|HRESULT" | Out-File "C:\Temp\CBS_Errors.txt"
View archived/older CBS log
Get-Content "C:\Windows\Logs\CBS\CBS.persist.log" | Select-Object -Last 100
PART 08 Common Scenarios & What to Look For
⚠ Update Stuck at 0%
Check BITS service status and SoftwareDistribution folder size. If static, reset WU components.
✗ Update Failing / Aborted
Note the HRESULT code and cross-reference with Part 5. Most common fix is clearing SoftwareDistribution cache.
✗ Component Store Corrupted
Run DISM /Online /Cleanup-Image /RestoreHealth then retry Windows Update.
⚠ Missing Package Files
Package manifest (.mum) or payload files missing from cache. Usually resolves after clearing SoftwareDistribution.
✓ Update Completed Successfully
Servicing transaction committed. May still require reboot to finalize — check for "reboot required" entries.
⚠ Reboot Pending
Kernel drivers and some components can only be replaced after reboot. Schedule maintenance window.
ℹ Applicability Check (Normal)
CBS evaluating which editions/versions the update applies to. "Absent" parent states for non-matching editions are normal.
✗ Access / Certificate Error
Check Administrator privileges, system clock synchronization, and root certificate store integrity.
⚠ Network / WSUS Connectivity
Server cannot reach update source. Verify WSUS server URL in registry and firewall rules for port 8530/8531.

Quick Fix — Reset Windows Update Components
Run as Administrator — resets WU cache and services
# Stop services
Stop-Service wuauserv, BITS, cryptsvc -Force

# Clear corrupted cache
Remove-Item "C:\Windows\SoftwareDistribution\*" -Recurse -Force
Remove-Item "C:\Windows\System32\catroot2\*" -Recurse -Force

# Restart services
Start-Service cryptsvc, BITS, wuauserv

# Force rescan
UsoClient StartScan
UsoClient StartDownload