This issue has been reported and I advise you to open the Feedback Hub app and look into already existing feedback and if that is your case, you may upvote it. Otherwise, you may create a new bug report.
Get correct OSName for Windows 11 from Hyper-V
There appears to be no way of obtaining the correct OS name for Hyper-V virtual machines running Windows 11.
We get this information from the Msvm_KvpExchangeDataItem class, but Windows 11 reports incorrectly as Windows 10, even on latest builds.
Per documentation this value comes from the registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProductName
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/virtual/msvm-kvpexchangedataitem
Is this something Microsoft plans to address? We rely on this value to display information about virtual machines without needing to query the guests directly.
1 additional answer
Sort by: Most helpful
-
Darrell Gorter 2,126 Reputation points
2022-04-29T16:06:57.227+00:00 Hello,
The value of Windows 10 on that registry key is by design, there are no plans to change it.