Как узнать версию windows server 2012 r2

Время на прочтение5 мин

Количество просмотров27K

Как же определить версию Windows, работающую в корпоративном окружении?

Вопрос кажется простым, правда?

Microsoft позволяет определить номер версии Windows различными способами:

  • Существуют значения в реестре, которым отчаянно не хватает документации.
  • Есть множество командлетов PowerShell, вызовов Windows API и т. п.
  • Также есть варианты для конечного пользователя, например, команда winver, которая вызывает всплывающее окно с версией Windows.
  • И много других способов…

Разобраться во всём этом вам поможет наш пост.

Существует множество инструментов, позволяющих определить, какая версия Windows запущена у ваших клиентов, например, SCCM и PDQ. В этом посте мы рассмотрим встроенные способы определения версии Windows.

▍ Реестр

Для определения запущенной в системе версии Windows можно использовать следующие значения реестра:

Примечание: перечисленные в таблице значения официально не задокументированы Microsoft (см. ниже).

Предупреждение

Microsoft не сообщала об изменениях в этих значениях реестра, не документировала их официальную поддержку и не гарантировала, что в будущем не появится критических изменений. Из-за этого описанными выше ключами реестра пользоваться бывает иногда неудобно, учитывая непостоянство изменений этих ключей, вносимых Microsoft в прошлом. Примеры:

  • ReleaseID не рекомендуется к использованию, начиная с версии 21H1. ReleaseID для 21H1 остаётся равным 2009.
  • Server 2012R2 не имеет ReleaseID и DisplayVersion (они пока не были добавлены в Windows)
  • Server 2016 имеет ReleaseID (1607), но не имеет DisplayVersion
  • Server 2019 имеет ReleaseID (1809), но не имеет DisplayVersion

▍ PowerShell

Ниже приведено несколько примеров того, как можно использовать PowerShell, чтобы определить версию Windows, которая работает в системе:

# При помощи класса System.Environment
[System.Environment]::OSVersion

# При помощи класса CIM Win32_OperatingSystem
Get-CimInstance Win32_OperatingSystem

# При помощи исполняемого файла systeminfo
systeminfo.exe /fo csv | ConvertFrom-Csv

# При помощи командлета Get-ComputerInfo
# ПРИМЕЧАНИЕ: начиная с 21H1 OsHardwareAbstractionLayer не рекомендуется к использованию
Get-ComputerInfo | Select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayer

▍ Windows API Call

Единственный поддерживаемый (задокументированный) систематический способ определения версии Windows — при помощи вызова Windows API класса AnalyticsInfo. Это можно сделать через PowerShell:

<#
    Класс AnalyticsInfo - задокументированный способ отслеживания версии ОС. Он возвращает
    строковое значение. Формат этой строки не задокументирован, и нельзя полагаться
    на определённое значение. Эти значения можно использовать только чтобы отличать
    одну версию ОС от другой.
    https://docs.microsoft.com/uwp/api
        /windows.system.profile.analyticsversioninfo.devicefamilyversion
    Этот API недоступен на Server Core
#>

$AnalyticsInfo = [Windows.System.Profile.AnalyticsInfo,Windows.System.Profile,ContentType=WindowsRuntime]
$VersionInfo = $AnalyticsInfo.GetMember( 'get_VersionInfo' )
$AnalyticsVersionInfo = $VersionInfo.Invoke( $Null, $Null )

# На моей тестовой машине этот код возвращает `2814751015109593`
$AnalyticsVersionInfo.DeviceFamilyVersion

<#
    Строго говоря, строку *можно* парсить, если вам любопытно, что в ней,
    хотя этого делать *нельзя*
    https://stackoverflow.com/questions/31783604/windows-10-get-devicefamilyversion
#>

$v  = [System.Int64]::Parse( $AnalyticsVersionInfo.DeviceFamilyVersion )
$v1 = ( $v -band 0xFFFF000000000000l ) -shr 48
$v2 = ( $v -band 0x0000FFFF00000000l ) -shr 32
$v3 = ( $v -band 0x00000000FFFF0000l ) -shr 16
$v4 =   $v -band 0x000000000000FFFFl

# На моей тестовой машине этот код возвращает `10.0.19043.985`
[System.Version]::Parse( "$v1.$v2.$v3.$v4" )

<#
    Не опубликовано *никакого* способа декодирования, позволяющего преобразовать
    какое-то из приведённых выше значений в удобную для отображения версию,
    например `21H1`
    Показанная ниже альтернатива доступна только в последних версиях ОС, 
    начиная с Azure Stack HCI, версии 20H2
#>

Get-ComputerInfo -Property 'osDisplayVersion'

▍ Варианты для конечного пользователя

В документации Microsoft перечислено несколько команд, которые конечные пользователи могут применять для определения запущенной версии Windows. Например, чтобы выяснить версию Windows, можно использовать команду winver или меню Параметров Windows. Эти способы предназначаются больше для конечных пользователей, чем для масштабного определения версии системы. Ниже показаны примеры:

▍ Почему это важно

После определения запущенной в системе версии Windows можно использовать эту информацию выполнения детерминированных действий: обновлений Windows, установки патчей и т. п. Например:

Можно запросить значение реестра DisplayVersion (см. раздел «Реестр» выше), чтобы определить запущенную версию Windows. Затем можно задать перечисленные ниже значения реестра, чтобы сообщить Windows, какая версия должна быть запущена в системе. При помощи трёх ключей реестра вы полностью контролируете то, до какой версии Windows ваши системы будут пытаться обновиться!

Эти значения реестра можно задавать или напрямую, или через групповую политику.

▍ Куда двигаться дальше

Хотя вам необязательно управлять версиями Windows, запущенными на компьютерах компании, ей было бы ценно знать, какие это версии Windows. По крайней мере, потому, что Microsoft регулярно прекращает поддержку разных версий Windows.

Стоит также заметить, что показанные выше примеры — это неполный список способов определения версии Windows, однако он полезен для людей, управляющих окружением Windows. Эти способы оказались полезными для меня при устранении проблем, задании политик и т. п. Надеюсь, вам они тоже пригодятся.

Кроме того, ситуация с управлением версиями Windows постоянно меняется, поэтому я напишу ещё один пост, когда Microsoft перестанет рекомендовать перечисленные здесь способы.

Дополнительные ссылки

  • Microsoft nixes update deferral settings, but gives us a TargetReleaseVersionInfo
  • Windows 10 Version History
  • Windows Server Versions.

How to Check Windows Server Version?

As an IT professional, it’s essential to know the version of your Windows Server to ensure compatibility with applications, troubleshoot issues, and plan for upgrades. In this article, we’ll discuss various methods to check the Windows Server version.

Direct Answer: How to Check Windows Server Version?

To check the Windows Server version, follow these simple steps:

  • Press the Windows + R keys to open the Run dialog box.
  • Type winver and press Enter.
  • The System Information window will appear, displaying the OS Build and Windows Version information.

This method is the most straightforward way to check the Windows Server version.

Additional Methods to Check Windows Server Version

In addition to the above method, here are some more ways to check the Windows Server version:

1. Using the System Properties Window

  • Open the System Properties window by right-clicking on Computer or This PC and selecting Properties.
  • Click on the Device specifications or Device Properties tab.
  • Look for the OS Name and System Type information.

Note: The System Properties window may not display the exact Windows Server version, but it provides valuable information about the operating system.

2. Using the CMD or PowerShell

  • Open the Command Prompt or PowerShell as an administrator.
  • Type wmic os get name and press Enter.
  • The wmic command displays the Windows Operating System name, including the version.

3. Using the Control Panel

  • Open the Control Panel by searching for it in the Start menu or typing control in the Run dialog box.
  • Click on System and Security, then System.
  • Look for the Windows edition and System type information.

Table: Windows Server Version Information

Feature Windows Server 2012 Windows Server 2012 R2 Windows Server 2016 Windows Server 2019
Code name 8.0 8.1 10.0 10.0
OS version 6.2 6.3 10.0 10.0
Architecture 64-bit 64-bit 64-bit 64-bit

Key Points to Note

  • Windows Server version numbers are denoted as Major Version.Minor Version (e.g., 6.2 for Windows Server 2012).
  • The OS Build number in the System Information window is not the same as the Windows Version number.
  • Some features and applications may not be compatible with older Windows Server versions.
  • Regular updates and patches are essential for maintaining the security and reliability of your Windows Server environment.

Conclusion

In conclusion, checking the Windows Server version is a simple process that can be performed using various methods. Remember to keep your Windows Server up-to-date with regular updates and patches to ensure optimal performance and security. By following the methods discussed in this article, you’ll be able to check your Windows Server version with ease.

Your friends have asked us these questions — Check out the answers!

To find out which version of Windows your device is running, press the Windows logo key + R, type winver in the Open box, and then select OK.

How do I find out my windows server version?

System Properties

  1. Click Start > Settings > System > click About from the bottom of the left-hand menu.
  2. You’ll now see Edition, Version, and OS Build information.
  3. You can simply type the following in the search bar and press ENTER to see version details for your device.
  4. “winver”

How do I find out what version of Windows Server 2019 I have?

You can find out the version number of your Windows version as follows:

  1. Press the keyboard shortcut [Windows] key + [R]. This opens the “Run” dialog box.
  2. Enter winver and click [OK].

How do I tell what version of Windows 2012 r2 I have?

Look under Windows for the version and edition. Windows 8 or Windows Server 2012 – On the Start screen, type Computer, press and hold or right-click Computer, and then tap or click Properties. Then look under Windows edition for the version.

Is my Windows 32 or 64?

Click Start, type system in the search box, and then click System Information in the Programs list. When System Summary is selected in the navigation pane, the operating system is displayed as follows: For a 64-bit version operating system: X64-based PC appears for the System Type under Item.

Is Server 2012 R2 still supported?

Windows Server 2012, and 2012 R2 End of Extended support is approaching per the Lifecycle Policy: Windows Server 2012 and 2012 R2 Extended Support will end on October 10, 2023. Customers are upgrading to the latest release of Windows Server and applying the latest innovation to modernize their IT environment.

What is the current version of Windows Server 2016?

Windows Server 2016

General availability October 12, 2016
Latest release 1607 (10.0.14393.4704) / October 12, 2021
Marketing target Business
Update method Windows Update, Windows Server Update Services, SCCM
Support status

How can I tell what version of Windows 2008 r2 I have?

Windows Server 2008 Server Core

  1. Click Start.
  2. Click Run or Start Search.
  3. Type the following text into the available window, and then press <ENTER>. systeminfo.
  4. In the System Information window, review the value for the System Type item:

What are the versions of Windows Server 2016?

The operating system comes in two editions, Standard and Datacenter. The purpose of our article is to reveal the differences and similarities between the two Windows Server 2016 versions. The key difference is in the type of workloads they can handle.

Do I have 2012 R2?

For the evaluation version of Windows Server 2012 Standard, you can also convert to the retail version of Windows Server 2012 Datacenter in one step using this same command and the appropriate product key. For more information about Dism.exe, see https://go.microsoft.com/fwlink/?LinkId=192466.

How can I tell if my server is R2?

Right-click My Computer and select Manage. Expand the Local Users and Groups: Windows Server 2012 and Windows Server 2012 R2 this is found within Server Manager then Select Tools > Computer Management. Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2 this is found within Configuration.

What are the different editions of Windows Server 2012?

Windows Server 2012 has four editions: Foundation, Essentials, Standard and Datacenter.

Is a 64-bit faster than 32?

The difference in performance between 32-bit and 64-bit versions of applications depends greatly upon their types, and the data types they are processing. But in general you may expect a 2-20% performance gain from mere recompilation of a program – this is explained by architectural changes in 64-bit processors [1].

Is Windows 10 Home Edition 32 or 64-bit?

Windows 10 comes in both 32-bit and 64-bit varieties. While they look and feel nearly identical, the latter takes advantage of faster and better hardware specs. With the era of 32-bit processors winding down, Microsoft is putting the lesser version of its operating system on the back burner.

Is my System X64 or X86?

In the right pane, look at the System Type entry. For a 32-bit version operating system, it will say X86-based PC. For a 64-bit version, you’ll see X64-based PC.

How long is Server 2012 R2 supported?

Support Dates

Listing Start Date Extended End Date
Windows Server 2012 R2 Nov 25, 2013 Oct 10, 2023

Is Windows Server 2016 obsolete?

It’s big news, so we couldn’t blame you if you missed the fact that Windows Server 2016 has reached end of life (EoL) and will be considered obsolete at the end of November 2019. There’s no need to fear.

Is Server 2008 R2 still supported?

Extended support for Windows Server 2008 and Windows Server 2008 R2 ended on January 14, 2020, and extended support for Windows Server 2012 and Windows Server 2012 R2 will be ending on October 10, 2023.Migrate existing Windows Server 2008 and 2008 R2 workloads as-is to Azure Virtual Machines (VMs).

What is R2 means in Windows Server?

It is a cumulative set of security, critical and other updates. Windows Server 2012 R2 is derived from the Windows 8.1 codebase, and runs only on x86-64 processors (64-bit).

What is Window Server version 20H2?

Windows Server, version 20H2 is the next Semi-Annual Channel release of Windows Server, version 2004. This version focuses on reliability, performance, and other general improvements, but has no new features. Like other Semi-Annual Channel releases, it’s supported for 18 months after its release.

How do I know if my Windows Server 2008 is x86 or x64?

In “System Information”, review the value for the System Type item:

  1. For 32-bit editions of Windows, the value of the System Type item is “x86-based PC.”
  2. For 64-bit editions of Windows, the value of the System Type item is “x64-based PC.”

Tested on

Windows 7

Windows 10

Windows Server 2012 / 2012 R2

Windows Server 2016

Option 1. Winver command

Press the following keyboard combination Win-R to launch the following dialog and type winver command as shown below

run-dialog

If you are using a remote session (like RDP) you need to click on Windows button and type winver

Windows 2012 /  2012 R2

Windows 10 / Windows Server 2016

Winver command shows information about Windows edition, version and build.

Winver-dialog

Winver-dialog-2012R2-server

Winver-dialog-2016-server

Option 2. About your PC/System information

Click on Windows start button and type about. Launch that application

Windows 7

Windows 2012 /  2012 R2

Windows 10 / Windows Server 2016

It shows the same information (and even more if you need to know)

windows-about-dialog

Option 3. Systeminfo command

  • Launch command line (type cmd)

Windows 7

Windows 2012 /  2012 R2

Windows 10 / Windows Server 2016

An alternative to launch Command prompt is to use right click on Windows button (works in Windows 10 / Windows Server 2012 and above)

Windows Server 2012 / 2012 R2

Windows 10 / Windows Server 2016

  • Type systeminfo | findstr OS in the command prompt window
systeminfo | findstr OS

command-prompt-systeminfo


2- Using the command “systeminfo” The infomation about your Windows version and Edition will be displayed. – This is and example of Microsoft Windows Server 2012, Datacenter edition.

Windows Server 2012 is an operating system built by Microsoft and is the successor of Windows Server 2008 R2. Windows Server 2012 is the server-edition of Windows 8 and is available since September 2012. Its minor update (Windows Server 2012 R2) is available since Oktober 2013.

How can I tell what Windows Server version I have?

Which version of Windows operating system am I running? Select the Start button > Settings > System > About . Under Device specifications > System type, see if you’re running a 32-bit or 64-bit version of Windows. Under Windows specifications, check which edition and version of Windows your device is running.

How do I know if I have Windows Server 2012?

Right-click it, then on the Details tab check either File version of Product version. With the table listed in the blogpost titled Determining your Windows 8 and Windows Server 2012 version, you can now find the major pre-release version of your installation media.

What is the version number for Windows Server 2012 R2?

* For applications that have been manifested for Windows 8.1 or Windows 10.In this article. Operating system Version number Windows Server 2016 10.0* Windows 8.1 6.3* Windows Server 2012 R2 6.3* Windows 8 6.2.

Is Windows Server 2012 R2 still available?

Windows Server 2012 R2 will continue to have the same licensing model as Windows Server 2012, with two editions available in volume licensing: Standard edition and Datacenter edition. The Windows Server 2012 related CALs provide entitlement to access and use Windows 2012 R2 functionality.

Is Windows 2000 Server operating system?

Windows 2000 is a continuation of the Microsoft Windows NT family of operating systems, replacing Windows NT 4.0. The original name for the operating system was Windows NT 5.0 and the first beta was released in September 1997, followed by Beta 2 in August 1998.

How do I know my server type?

Another simple way is to use a web browser (Chrome, FireFox, IE). Most of them allow to access its developer mode pressing the F12 key. Then, access the web server url and go to the “Network” tab and “Response Headers” option to find if the “Server” response header is present.

How do I find my server operating system?

Open a command prompt and type uname -a. If you see x86_64 or ia64 then your OS is 64-bit. If you see i386 or i486 or i586 or i686 then your OS is 32-bit.

How do I find my server information?

How to Find the Host Name and MAC Address of your machine Open the command prompt. Click on the Windows Start menu and search “cmd” or “Command Prompt” in the taskbar. Type in ipconfig /all and press Enter. This will display your network configuration. Find your machine’s Host Name and MAC Address.

What is Windows 20H2?

As with previous fall releases, Windows 10, version 20H2 is a scoped set of features for select performance improvements, enterprise features, and quality enhancements. To download and install Windows 10, version 20H2, use Windows Update (Settings > Update & Security > Windows Update).

What is the latest version of Windows Server?

Windows Server 2016 vs 2019 Windows Server 2019 is the latest version of Microsoft Windows Server. The current version of Windows Server 2019 improves on the previous Windows 2016 version in regards with better performance, improved security, and excellent optimizations for hybrid integration.

How can I tell if my server is R2?

At the command prompt, type “winver”, which will tell you what version of Windows you are running. 2. Right click on computer and select “Properties”. If you are running R2, it will say so.

Is Windows Server 2012 R2 a physical server?

For example, a Windows 2012 Server R2 Standard edition installed on a physical server with one socket (CPU) can support up to two instances of virtual machines. These virtual machines can be Server 2012 R2 Standard or Essentials edition.

What is Windows Server 2012 based on?

Windows Server 2012 is based on Windows Server 2008 R2 and Windows 8 and requires x86-64 CPUs (64-bit), while Windows Server 2008 worked on the older IA-32 (32-bit) architecture as well.

What is Windows Server 2012 R2 used for?

Windows Server 2012 R2 is configured, like Server 2012, via Server Manager. It’s a modern-style desktop application that gives you an overview of running services from its dashboard, as well as launching the familiar Windows Server management tools and handling role and feature installation.

How long is Server 2012 R2 supported?

Support Dates Listing Start Date Extended End Date Windows Server 2012 R2 Nov 25, 2013 Oct 10, 2023.

What is the minimum hardware requirements for Windows Server 2012?

Table 2-2 Windows Server 2012 R2 Hardware Requirements Component Minimum Requirement Microsoft Recommended Processor 1.4 GHz 2 GHz or faster Memory 512 MB RAM 2 GB RAM or greater Available Disk Space 32 GB 40 GB or greater Optical Drive DVD-ROM drive DVD-ROM drive.

Does Windows Server 2012 R2 support Windows 10?

While the goal of Windows 10, Windows 8, Windows 8.1, and Windows Server 2012 R2 is to stay highly compatible with most of their respective apps written for previously released operating systems, some compatibility breaks are inevitable due to innovations, tightened security, and increased reliability.

Did Windows 11 release?

When will Windows 11 be released to the public? Microsoft says the official release of Windows 11 (what the company calls General Availability, or GA) will arrive on new hardware in late 2021.

Are Windows ME and 2000 the same?

Windows Me, along with Windows 2000, was eventually succeeded by the NT-based Windows XP, which was launched on August 24, 2001.

Will there be a Windows 11?

Microsoft has officially announced Windows 11, the next major software update, which will be coming to all compatible PCs later this year. Microsoft has officially announced Windows 11, the next major software update that will be coming to all compatible PCs later this year.

How do I find my server URL?

How to Find a Server URL Click on the “Start” button and click on “Run” (Windows XP) or click on the Search Bar (Windows Vista or Windows 7). Type “cmd” into the box and hit the “Enter” key (all versions of Windows). Type “ping -a 123.456. Read the server URL from the response given in the command prompt window.

What type of Web server is used?

Apache, IIS and Nginx are the most used web servers on the World Wide Web.

How many types of Web servers are there?

There are mainly four types of web servers – Apache, IIS, Nginx and LiteSpeed. Apache Web Server. IIS Web Server. Nginx Web Server. LiteSpeed Web Server. Apache Tomcat. Node. js. Lighttpd.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Код остановки attempted write to readonly memory windows 10
  • Как подключить airpods pro к компьютеру windows 11
  • Как посмотреть какие файлы занимают место на диске с windows 10
  • Графический драйвер не совместим с данной версией windows 10 что делать
  • Lenovo ideapad 110 15ibr драйвера windows 10