Hi,
I want to find the version number of my windows vista. i don know how to find out the product edition, build number and revision number for Windows Vista. Is there a way to determine what Windows version and edition a script is running on.
Hi,
I want to find the version number of my windows vista. i don know how to find out the product edition, build number and revision number for Windows Vista. Is there a way to determine what Windows version and edition a script is running on.
You can find the product edition, build number and revision number for Windows Vista by using Registry.
- Open Registry Editor
- Select this registry key
- HKEY_LOCAL_MACHINE\Software\Microsoft \Windows NT\CurrentVersion
- Now in right pane, you will find many registry subkeys and its value date.
From here you can read the value for some of the keys.
ProductName - windows vista
EditionID - edition of the operating system - if its home edition it will show you the same.
BuildLabEx - this will give the build number and the next set of number if revision number
6000.20532.x86fre.vista_ldr.070207-1500
To obtain the full version number for the operating system you can see it by using the GetVersionEx, GetSystemMetrics, GetProductInfo, and GetNativeSystemInfo. see here for more details http://msdn.microsoft.com/en-us/libr...29(VS.85).aspx
Bookmarks