Forum Discussion
Windows 11 Registry Still reports Windows 10 as OS Name
Hi All,
Just to bring something to up just a minor bug but might confuse a few users as I know Some Applications use the Registry to report the OS Version but, the registry still reports as Windows 10 under:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Auto\OSName
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName
I know minor fix but some application that query these registry location will report the Wrong OS Back.
Minor Issue but found in the release build of Windows 11.
Maybe a patch can be released 🙂
6 Replies
- sweetwife17Copper Contributor
Nov 25, 2023 - I bought a Windows Pro 11 - explain why I still have this?
Computer Name: Windows Version:Architecture:Time:
From my About System - Edition Windows 11 ProCollection information Kxxx-xxxxx 10.0x64Saturday, November 25, 2023, 2:09:18 - GregMallable2022Copper ContributorTrue a year later
- abbodi1406Steel ContributorIt's intentional, not a bug
- rmanginCopper Contributor
Don't get your answer... when you say intentional: is there an official documentation, a deprecated statement, a replacement key? how customers are supposed to rely on these values if the logic breaks suddenly?
Are we really supposed to code ourselves as explained here based on the version >= 22000 https://stackoverflow.com/questions/69460588/how-can-i-find-the-windows-product-name-in-windows-11 ?
Problem is that now this situation is no longer a beta but a productive case at customers.// os = "Windows 10 Enterprise" at this point
if (Environment.OSVersion.Version.Build >= 22000)
{
// Windows 11 case declared as Windows 10.
os = os.Replace("10", "11");
}- abbodi1406Steel ContributorThere are nothing official, but for compatibility requirements
https://learn.microsoft.com/en-us/answers/questions/555857/windows-11-product-name-in-registry.html?page=2&pageSize=10&sort=oldest
as the stackoverflow answers explain, you can use WMI Win32_OperatingSystem or winbrand.dll BrandingFormatString
- I highly recommend you to report this via Feedback hub.