cnquery
cnquery copied to clipboard
Incorrect Platform Name detection on windows
Describe the bug
We now have 2 cases of customers reporting incorrect platform names in Windows. It seems that the registry key we're pulling is not the most reliable source of information
To Reproduce The first case was a factory new Lenovo Laptop with Win 11 The second case was an Upgrade from 10 to 11.
Expected behavior The Platform Name should match the actual OS on the machine. Maybe using OsName is more reliable?
Screenshots or CLI Output
Additional context The correct policies seem to still apply, so this is more of a cosmetic issue