looking particularly at the 2019 servers, it looks for the build number of >=7792 to mark as 'up to date'
i have verified on individual servers, that in fact, the servers are at 7792
When tsysOS.OScode Like '10.0.19045%' And SubQuery2.Buildnumber >= 6332
Then 'Up to date'
When tsysOS.OSname = 'Win 2019' And SubQuery2.Buildnumber >= 7792 Then
'Up to date'
When tsysOS.OScode Like '10.0.20348%' And SubQuery2.Buildnumber >= 4166
Then 'Up to date'
but, in the scan of the report, i am seeing this as my result
Workstation/Server OS SP Version Buildnumber Highest KB Patch installed Installed On Install one of these updates
Server Win 2019 0 1809 7786 5065765 9/11/2025 0:00 KB5065428
Server Win 2019 0 1809 7786 5065765 9/11/2025 0:00 KB5065428
notice the build number is incorrect (which if retrieved correctly, would mark as up to date)
and also notice that the latest installed patch is greater than the one suggested to install.
AND, i am using the report posted here as the workaround.