cnquery icon indicating copy to clipboard operation
cnquery copied to clipboard

Incorrect Platform Name detection on windows

Open AdamVB opened this issue 1 month ago • 2 comments

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

Image

Image

Additional context The correct policies seem to still apply, so this is more of a cosmetic issue

AdamVB avatar Jan 29 '25 15:01 AdamVB