Посмотреть версию windows 2012

Q

How to view Windows version and build number of my Windows Server 2012?

A

If you want to know the Windows version and build number of a Windows Server 2012 system,
you can follow these steps to view system properties:

1. Open the PowerShell command window, and type in the «winver» command
as shown below. You will see the «About Windows» screen displayed.

PS C:\Users\fyicenter> winver

2. Review the information on the screen. For example:

Windows Server 2012 R2
    Microsoft Windows Server
    Version 6.3 (Build 9600)
    ...

Here is how the system properties screen of Windows Server 2012 R2 looks like:

⇒System Information on Windows Server 2012

⇒⇒Windows Server 2012 Tutorials

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!

Reading Time: 2 minutes

With the release of Windows 8 and Windows Server 2012, many people are eager to download and install the latest and greatest Operating Systems from Redmond. For people who have deployed one of the pre-release versions of Windows 8, Windows Server 8 and Windows Server 2012, the big question now is which version they are running. (and whether they can perform in-place upgrades to the RTM version)

When you want to upgrade, transition or migrate to Windows Server 2012 and want assistance from the guys and girls at the TechNet forums you might even get asked for it. (or at least get asked for the ‘name’ of the version)

To determine the version of your Windows 8, Windows Server 8 and/or Windows Server 2012 installations, we use the same method as we used for Windows Server 2008, but with a little twist.

Method 1, through the registry

To determine the build number for the installed Operating System from the registry, we query the following registry key:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentBuildNumber

Tip!
Alternatively you can query the BuildLab, BuildLabEx, and CurrentBuild registry keys in the same location. All these keys will begin with the same four digits for Windows 8, Windows Server “8” and Windows Server 2012.

Method 2, using WMI

To determine the build number for the installed Operating System with WMI, use the following commandline on a prompt:

wmic os get buildnumber

Method 3, using the GUI

If you get too exited to wander through the registry or using the command line, there is a graphical tool, that you can use. Simpy start it by typing the following word in the Start screen:

Winver

Getting friendly names

The second step is to get the friendly name for the build number you just fetched. The table below shows you the corresponding version of Windows 8:

8102 Windows 8 Developer Preview
8250 Windows 8 Consumer Preview
8400 Windows 8 Release Preview
9200 Windows 8

Below is the table for Windows Server “8” and Windows Server 2012:

8102 Windows Server “8” Developer Preview
8250 Windows Server “8” Beta
8400 Windows Server 2012 Release Candidate
9200 Windows Server 2012

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

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

Как же определить версию 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.

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


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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как включить запись видео на windows 10 горячие клавиши
  • Windows anytime upgrade windows 7 ultimate
  • How to disable autorun in windows
  • Как не входить в аккаунт при установке windows
  • Линейка на экране монитора windows 10