Windows servicing

CBS.log

CBS.log is the Component-Based Servicing log of Windows. It records the installation of updates, features and servicing operations such as DISM and SFC repairs.

Location
C:\Windows\Logs\CBS\CBS.log
Used for
Windows updates, features and servicing repairs
Open CBS.log in CMTrace.devDrop the file in. It is read in your browser and never uploaded.

What CBS.log records

  • Installation and removal of cumulative updates and optional features
  • Servicing stack activity, including DISM and SFC repair runs
  • Component store corruption and missing source files

What to search for

Search forWhat it tells you
ErrorA servicing operation failed. The HRESULT nearby is the code to look up.
Failed toA specific step failed. Read upwards for the package or component involved.
RebootA restart is pending, which can block further servicing.

Example lines

Info CBS Appl: detect Parent, Package: Package_for_KB5000000~31bf3856ad364e35~amd64~~10.0.1.0
Error CBS Failed to process package. [HRESULT = 0x800f081f - CBS_E_SOURCE_MISSING]
Info CBS Session: 30800000_1234567 finalized. Reboot required: no

Simplified for illustration. Real lines carry a time stamp, component and thread.

Common error codes in CBS.log

CodeMeaning
0x800F081FSource files could not be found. Point DISM at a valid source.
0x80070BC2Success, but a restart is required.
0x80070BC9A restart is required to complete the operation.

The viewer's error lookup (Ctrl+E) explains these codes and links to Microsoft Learn.

Tips for reading it

  • The file is large. Filter to errors first, then widen the view around each hit.
  • Run DISM /Online /Cleanup-Image /RestoreHealth when the log points at component store corruption.
  • Older content is archived to CbsPersist files in the same folder.

Questions about CBS.log

Where is CBS.log?

In C:\Windows\Logs\CBS on the Windows device.

How do I find the error in CBS.log?

Filter to the Error severity, then read the lines before the first hit. The HRESULT next to it can be looked up for its meaning.