My laptop is running on Windows 11 Pro, and the system settings indeed confirm that it's running Windows 11 Pro. However, when I use PowerShell to query the registry for the Windows version powershell Get-ItemPropertyValue -Path 'HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name ProductName
, it shows Windows 10 Pro
.
I've verified multiple times that the system settings indeed show Windows 11 Pro
Could there be a reason why the registry isn't reflecting the correct Windows version? Why is that happening and how can I ensure that the registry reflects the accurate Windows version?
Any insights or suggestions would be greatly appreciated.
Thank you!
Windows system settings vs. PowerShell command
powershell Get-ItemPropertyValue -Path 'HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name ProductName
is not the command that will tell you the windows version. That is appropriatelywinver
. That powershell command just shows you the contents of a key in the registry