-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Debug game report shows wrong OS version on Windows #55454
Comments
Left this issue open because a similar problem exists in Windows 11 due to it using legacy values in the registry for most version information. I'm going to implement option The problemIt appears that these registry values are present in Windows 11 and will not be updated:
As far as I can tell Sources(such as they are, I mostly only found it discussed it in the MS forums) Potential solutionsNote: Existing comments state that most Windows APIs will lie about the OS version if an app doesn't have a compatibility manifest. That would need to be investigated for the other APIs mentioned here. A) Read build number from registryThe only confirmed registry values that will indicate Win11 are build numbers, with values >= 22000 being Windows 11 ("at least for now", according to source
We could live with the literal reported version for Win11 (e.g. Pros:
Cons:
B) Call AnalyticsInfo.GetSystemPropertiesAsync() from the WinRT APIPros:
Cons
C) Call to
|
The attitude around this git is fairly laissez-faire; your implementation of this feature is likely to be the permanent 1, @ least until it breaks again. I'd recommend making it as robust as you can. I think you already understand version reporting is mainly there for troubleshooting. What's the worst that could happen?? |
Describe the bug
The game report claims I'm running Windows 10.0 version 2009 when I'm currently on Windows 10 version 21H2.
I've also noticed here on GitHub there are only 6 total issues reporting version 21H1, and none with version 21H2, which is rather suspicious. Seems like a lot of current issues may have the wrong version included.
Sorry if there's already an existing issue on this, it's a little hard to search for since the game report is present in every issue.
Steps to reproduce
Expected behavior
The game report and the OS should show the same OS version.
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions],
Blaze Industries [blazeindustries],
Magiclysm [magiclysm],
Generic Guns [generic_guns],
DinoMod [DinoMod],
Alternative Map Key [alt_map_key],
Crazy Cataclysm [crazy_cataclysm],
Stats Through Kills [stats_through_kills]
]
Additional context
System info as reported in Windows Settings:
Edition Windows 10 Home
Version 21H2
Installed on 26 Nov 2021
OS build 19044.1526
Experience Windows Feature Experience Pack 120.2212.4170.0
The text was updated successfully, but these errors were encountered: