VER – Windows CMD Command

Display the current operating system version.

A very simple method of version checking is to pipe a version string into FIND, however there is a possibility that something which is a unique string today might match a minor version released in the future.

e.g. the following would also match “7.6.1”

Batch file to find the current operating system version:

Version / Release ID

The VER command returns the Major/Minor / Build number, but does not include the Version/Release ID as displayed in Settings > About.

The Release ID is typically a 4 digit code – a 2 digit year plus 2 digit month = the planned release date,
so 1709 means 2017 month 09 (September).
In practice the final release date can be a month or so later.

Mobile, Desktop and Server releases will have the same Version/Release ID but different build numbers.
This Release ID can be retrieved from the registry with PowerShell:

List of Windows Version numbers

Product nameMajor version / buildVersion / Release ID
Windows 954.0.950 
Windows XP5.1.2600 
Windows Vista, Service Pack 26.0.6002 
Windows 7, RTM (Release to Manufacturing)6.1.7600.16385 
Windows 76.1.7600 
Windows 7, Service Pack 16.1.7601 
Windows 8, RTM6.2.9200.16384 
Windows 10 Gold10.0.102401507
Windows 10 November Update, 2015-11-0310.0.105861511
Windows 10 Aniversary Update 2016-08-0210.0.14393.17941607
Windows 10 Creators Update 2017-04-1110.0.15063.6741703
Windows 10 Fall Creators Update 2017-10-1710.0.16299.191709
Windows 10 April 2018 Update10.0.171341803
Windows 10 October 2018 Update10.0.17763.551809
Windows 10 version 1903 (May 2019 Update)10.0.18362.2391903
Product nameMajor version / buildVersion / Release ID
Windows Server 20035.2.3790 
Windows Server 20086.0.6001 
Windows Server 2008 R2, RTM6.1.7600.16385 
Windows Server 20126.2.9200 
Windows Server 2012 R26.3.9600 
Windows Server 2016 RTM 2016-09-2610.0.143931607
Windows Server 2016 Aniversary Update 2017-03-2210.0.14393.9701703
Windows Server 2016 Fall Creators Update10.0.16299.151709
Windows Server, version 1803 (Semi-Annual Channel) (Datacenter, Standard)10.0.17134.11803
Windows Server, version 190310.0.183421903

See also Wikipedia list of Windows versions and Microsoft Windows 10 release history

Finding the version remotely

PowerShell can be used to find the OS versions of multiple machines across a domain:

Get-ADComputer -Filter {OperatingSystem -like “Windows 10*”} -Property * | Format-Table Name,OperatingSystem,OperatingSystemVersion -Wrap –Auto

Service Pack Level

This batch script or this PowerShell script will return the Service Pack level.

32 bit or 64 bit process detection

The environment variable PROCESSOR_ARCHITECTURE holds the following possible values:

If we are running WOW64 then PROCESSOR_ARCHITEW6432 =AMD64


via David Wang @MSFT


If the version was successfully displayed %ERRORLEVEL% = 0
If a bad parameter is given %ERRORLEVEL% = 1
VER /? will not reset the ERRORLEVEL, this is a bug.

VER is an internal command.

You may also like...

2 Responses

  1. Stacy Kornfeld says:

    very nice submit, i actually love this web site, keep on it

  2. zortilonrel says:

    I conceive this internet site holds some real excellent info for everyone :D. “Believe those who are seeking the truth doubt those who find it.” by Andre Gide.

Leave a Reply

Your email address will not be published. Required fields are marked *