- Windows Server 2012 Version
- Windows 2012 R2 Sp1 Download
- Windows Server 2012 R2 Download
- Windows 2012 R2 Version Number 3
The infomation about your Windows version and Edition will be displayed. This is and example of Microsoft Windows Server 2012, Datacenter edition. 2- Using the command 'systeminfo' 1- Connect to your Windows server remotely (Remote Desktop) 2- Open a Microsoft MS-DOS command prompt shell window 'cmd' 3- Type the following command. . For applications that have been manifested for Windows 8.1 or Windows 10. Applications not manifested for Windows 8.1 or Windows 10 will return the Windows 8 OS version value (6.2). To manifest your applications for Windows 8.1 or Windows 10, refer to Targeting your application for Windows. Windows Version Numbers Information. This post serves as a quick reference of Windows Version numbers for both server and client Microsoft Operating Systems. Windows 10 and Windows Server are broken down in the first sections in greater detail as they are moving into a Windows as a service model.
-->
Platforms
- **Clients -** Windows 8.1 **Servers -** Windows Server 2012 R2
Description
We have made some significant changes in how the GetVersion(Ex) APIs work in Windows 8.1 due to undesirable customer behaviors resulting from how the GetVersion(Ex) APIs have been used in the past.
In previous versions of Windows, calling the GetVersion(Ex) APIs would return the actual version of the operating system (OS), unless the process had been mitigated by an app compat shim to give it a different version. This was done on a provisional basis and was relatively incomplete in terms of the number of processes that Microsoft could reasonably shim in a release. Many applications fell through the cracks because they didn’t get shimmed due to poorly designed version checks.
The number one reason to do a version check is to show some message of OS supportability for the application. However due to the poor checks, the message would often show that the app needed to be run on XP or later, which of course the newest OS is. More often than not, the newest OS would run the application without any issues if not for these checks.
Windows Server 2012 Version
Manifestation
In Windows 8.1, the GetVersion(Ex) APIs have been deprecated. That means that while you can still call the APIs, if your app does not specifically target Windows 8.1, you will get Windows 8 versioning (6.2.0.0).
Solution
In order to target Windows 8.1, you need to either include the app manifest or include _NT_TARGET_VERSION=$ (_NT_TARGET_VERSION_LATEST) in the source file.
This is what the app manifest would look like:
And then add this to your sources:
- SXS_MANIFEST_RESOURCE_ID=1 SXS_MANIFEST=foo.manifest SXS_ASSEMBLY_NAME=Microsoft.Windows.Foo SXS_ASSEMBLY_VERSION=1.0 SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1 SXS_MANIFEST_IN_RESOURCES=1
For Windows 8.1, the two lines above marked with an asterisk (*) show how to accurately target your application for the Windows 8.1 version of the operating system. Manifesting the .exe for Windows 8.1 will not have any impact when run on previous operating systems. You can also add this to your .rc file if you already have it defined.
Windows 2012 R2 Sp1 Download
Adding the trustInfo isn’t essential, but it is highly recommended. This will allow your .exe to always get the correct version, no matter whether the operating system is Windows 8.1 or Windows 8.
The replacement APIs are known as VersionHelpers. They are extremely easy to use; all you have to do is #include <VersionHelpers.h>.
Example
The inline functions available in the VersionHelpers.h header file enable you to verify the version of the operating system by returning a Boolean value when testing for the version of Windows. For example, if your application requires Windows 8 or later, use the following test:
The available APIs are:
Windows Server 2012 R2 Download
- #define VERSIONHELPERAPI FORCEINLINE BOOL VERSIONHELPERAPI IsWindowsXPOrGreater() VERSIONHELPERAPI IsWindowsXPSP1OrGreater() VERSIONHELPERAPI IsWindowsXPSP2OrGreater() VERSIONHELPERAPI IsWindowsXPSP3OrGreater() VERSIONHELPERAPI IsWindowsVistaOrGreater() VERSIONHELPERAPI IsWindowsVistaSP1OrGreater() VERSIONHELPERAPI IsWindowsVistaSP2OrGreater() VERSIONHELPERAPI IsWindows7OrGreater() VERSIONHELPERAPI IsWindows7SP1OrGreater() VERSIONHELPERAPI IsWindows8OrGreater() VERSIONHELPERAPI IsWindows8_1OrGreater() VERSIONHELPERAPI IsWindowsServer()
They will return TRUE or FALSE depending on the question you are asking, and you only need to define the minimum level operating system that you support.