Forum Discussion

TParkUK's avatar
TParkUK
Copper Contributor
Oct 05, 2021

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

  • sweetwife17's avatar
    sweetwife17
    Copper Contributor

    TParkUK 

    Nov 25, 2023 - I bought a Windows Pro 11 - explain why I still have this? 

    Computer Name: Windows Version:Architecture:Time:
    Collection information
    Kxxx-xxxxx
    10.0
    x64
    Saturday, November 25, 2023, 2:09:18
    From my About System - Edition Windows 11 Pro
    • rmangin's avatar
      rmangin
      Copper 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");
      }

Resources