currentversion
CurrentVersion is a registry value in Microsoft Windows that encodes the operating system version. It is stored under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion. The value is used by software, installers, and system components to identify the platform and tailor behavior accordingly.
The CurrentVersion value is typically a string representing the major and minor version of the OS, for
Usage of CurrentVersion and its related values spans software compatibility checks, deployment scenarios, and diagnostic tools.
Notes and considerations: on 64-bit Windows, registry access may be subject to file system redirection for 32-bit
See also: Windows Registry, Windows NT, registry paths for Windows Version information, CurrentBuild.