Getting the target OS version from CBS.log

Hi @garegin,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
Hi,

What do you mean with the target OS version? With the following DISM commands you can check the current edition / target editions.

Rich (BB code):
DISM /Online /Get-CurrentEdition
DISM /Online /Get-TargetEditions

However, I think you mean the following:

Rich (BB code):
2025-03-30 09:45:13, Info                  DISM   API: PID=16032 TID=16168 Target image information: OS Version=10.0.19045.5608, Image architecture=amd64 - CDismCore::LogImageSessionDetails

In the excerpt above you'll see te DISM result (19045.5608 = KB5053606), and the CBS will only show the Servicing Stack version (19041.5547).

Rich (BB code):
2025-03-30 17:50:25, Info                  CBS    Loaded Servicing Stack v10.0.19041.5547 with Core: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.5547_none_7e02b5467c95ffef\cbscore.dll
2025-03-30 17:50:25, Info                  CBS    Build: 19041.1.amd64fre.vb_release.191206-1406
2025-03-30 17:50:25, Info                  CSI    00000001@2025/3/30:15:50:25.268 WcpInitialize: wcp.dll version 10.0.19041.5547 (WinBuild.160101.0800)

P.s the 'target' OS info can also be retrieved with the following command in an elevated PoweShell prompt.

Rich (BB code):
$WindowsVersion = Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\'
"$($WindowsVersion.ProductName) ($($WindowsVersion.DisplayVersion)) (Build $($WindowsVersion.CurrentBuildNumber).$($WindowsVersion.UBR))"
 
So CBS.log won’t show the Target image version, only the servicing stack? What about either CBS.log or DISM.log showing the Host OS version, which includes the monthly release number. Currently all I can find is DISM.log showing 10.0.MajorRelease
 
That's correct the CBS shows only the (current) SSU version, but as said you can run the above PoweShell command which will show:

Rich (BB code):
PS C:\WINDOWS\system32> $WindowsVersion = Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\' 
"$($WindowsVersion.ProductName) ($($WindowsVersion.DisplayVersion)) (Build $($WindowsVersion.CurrentBuildNumber).$($WindowsVersion.UBR))"
Result:
Code:
Windows 10 Home (24H2) (Build 26100.3476)
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top