Duplicate cumulative kb, Windows 11 update returns false information
I use the windows update api to check which cabs are installed on the machine:
https://learn.microsoft.com/en-us/windows/win32/wua_sdk/using-the-windows-update-agent-api
On Windows 11 the scan sends incorrect information and duplicate cabs.
What I was able to observe is that for a 24h2, the API also sees the cumulative updates of the 23h3 and the 22h2 (the cab numbers are indicated but not their update id.).
In addition, the API indicates that the cab is installed, which is false since it has just been detected.
Is the 24h2 cab considered not installed. Which is true
Looks like there is a detectoid problem.
This is problematic because if we base ourselves on the kbids, Windows makes us believe that the cab is properly installed... Finally we have two contradictory results.