Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CurrentVersion value in registry for each windows operating system

I want to know CurrentVersion value for each operating system at

HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion"

For example: I have windows 7 professional installed on my machine and CurrentVersion value is 6.1.

Can any one list it down for all windows operating systems since Windows 98?

like image 774
Ajinkya Avatar asked Feb 01 '13 14:02

Ajinkya


People also ask

What are Windows Registry values?

Registry values are name/data pairs stored within keys. Registry values are referenced separately from registry keys. Each registry value stored in a registry key has a unique name whose letter case is not significant.

How do I find OS version in registry?

1 – Press and hold windows logo key and press R on your keyboard to open run. 2 – Now, type regedit in it. 3 – Now, in the registry editor go to the following location from the left side menu. 4 – In the right side all the build number, version number are written.

Where are registry values stored?

On Windows 10 and Windows 7, the system-wide registry settings are stored in files under C:\Windows\System32\Config\ , while each Windows user account has its own NTUSER. dat file containing its user-specific keys in its C:\Windows\Users\Name directory.


2 Answers

These are the required versions of windows operating systems:

Operating system              Version number
----------------------------  --------------
Windows 10                      10.0
Windows Server 2019             10.0
Windows Server 2016             10.0
Windows 8.1                     6.3
Windows Server 2012 R2          6.3
Windows 8                       6.2
Windows Server 2012             6.2
Windows 7                       6.1
Windows Server 2008 R2          6.1
Windows Server 2008             6.0
Windows Vista                   6.0
Windows Server 2003 R2          5.2
Windows Server 2003             5.2
Windows XP 64-Bit Edition       5.2
Windows XP                      5.1
Windows 2000                    5.0
Windows ME                      4.90
Windows 98                      4.10

If you want to know it by reading it from registry, you need to check the new CurrentMajor/MinorVersionNumber keys as well. The new values CurrentMajorVersionNumber (which is 10) and CurrentMinorVersionNumber (which is 0) under Windows 10. Those 2 keys are new in Windows 10 to detect Windows Version from Registry.

like image 126
Ajinkya Avatar answered Sep 19 '22 08:09

Ajinkya


You should be using WinVer.nsh to check the Windows version...

like image 35
Anders Avatar answered Sep 18 '22 08:09

Anders