Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Platform Name detection on windows #5134

Open
AdamVB opened this issue Jan 29, 2025 · 2 comments
Open

Incorrect Platform Name detection on windows #5134

AdamVB opened this issue Jan 29, 2025 · 2 comments

Comments

@AdamVB
Copy link

AdamVB commented Jan 29, 2025

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

@jaym
Copy link
Contributor

jaym commented Feb 18, 2025

We're getting this information from HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion. ProductName there is Windows 10. https://techcommunity.microsoft.com/discussions/windows-management/windows-10-21h2-and-windows-11-21h2-both-show-up-as-2009-release/2994441 says we should check the build version is greater than 22000 for windows 11

@jaym
Copy link
Contributor

jaym commented Feb 18, 2025

#5238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants