When processing the SOFTWARE registry hive, the winver plugin appears to extract the value of ProductName from:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
I've seen instances of Windows 11 hosts having the ProductName recorded as "Windows 10 Enterprise" or "Windows 10 Pro".
This does not appear to be the fault of winver (as that is the value stored in the registry), but would it be possible to look at the CurrentBuild value (or similar) and add a warning if the build number is higher than 22,000? (Windows 10 builds appear to be between 10,000-20,000)
Windows 11 Versions / Builds / Release Dates
Version | Build | Release Date
21H2 | 22000 | October 4, 2021
22H2 | 22621 | September 20, 2022
23H2 | 22631 | October 31, 2023
24H2 | 26100 | H2 2024
When processing the SOFTWARE registry hive, the winver plugin appears to extract the value of ProductName from:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersionI've seen instances of Windows 11 hosts having the ProductName recorded as "Windows 10 Enterprise" or "Windows 10 Pro".
This does not appear to be the fault of winver (as that is the value stored in the registry), but would it be possible to look at the CurrentBuild value (or similar) and add a warning if the build number is higher than 22,000? (Windows 10 builds appear to be between 10,000-20,000)
Windows 11 Versions / Builds / Release Dates
Version | Build | Release Date
21H2 | 22000 | October 4, 2021
22H2 | 22621 | September 20, 2022
23H2 | 22631 | October 31, 2023
24H2 | 26100 | H2 2024