I need to be able to read the registry and find the Edition of Windows 2003. I can find the edition of Windows 2008 and Windows 2008 R2 by looking into:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\@ProductName
and I see something like:
"Microsoft Windows Server 2008 R2 Standard" or "Microsoft Windows Server 2008 R2 Enterprise"
However, when I look at this value in Windows 2003, I only see:
"Microsoft Windows Server 2003 R2" with no Edition (e.g. Standard or Enterprise) information.
I have looked everywhere in the registry for something to help me to find the edition information, but I cannot find it. I can see it in System Information, but nowhere in the registry?!
I need this information, as I need to work out which one I am working with for an inventory.