Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Windows 10 / How to Find Windows Version and Build Number Installed

February 10, 2024

How to Find Windows Version and Build Number Installed

The easiest way to quickly find out the version and build number of the Windows OS that is installed on your computer is to press the Win+R on the keyboard and run the winver command.

The following screenshot shows that Windows 10 version 22H2 is installed on the computer (build number 19045.3324). Both the release number and the build number of Windows allow you to uniquely identify the version of the operating system installed on your computer.

How to check Windows version, build and edition

A table with all version numbers (releases) and builds of Windows 10 is available here https://learn.microsoft.com/en-us/windows/release-health/release-information.

You can also open the System Information dialogue using a Win+Pause keyboard shortcut. This will take you to the appropriate Settings section (System -> About) or the System Properties window (depending on your version of Windows).

What version of Windows am I running?

Starting with Windows 10 20H2, the classic System Properties applet in the Control Panel is hidden and cannot be accessed directly. To open it, use the command:
shell:::{bb06c0e4-d293-4f75-8a90-cb05b6477eee}

Also, you can get info about your computer’s Windows build and version from the command line. Run the command:

systeminfo

Command output can be filtered:

systeminfo | findstr /B /C:"OS Name" /B /C:"OS Version"

Or use the WMI command:

wmic os get Caption, Version, BuildNumber, OSArchitecture

Find windows OS version and build from command line

The PowerShell equivalent of the systeminfo command is the Get-ComputerInfo cmdlet:

Get-ComputerInfo | select OsName, OsVersion, WindowsVersion, OsBuildNumber, OsArchitecture

PowerShell Get-ComputerInfo: WindowsVersion, OsBuildNumber

The disadvantage of the Get-ComputerInfo cmdlet is that its execution is rather slow. If you need to quickly check the Windows version and build from a PowerShell script, it is better to use one of the following commands.

Get the Windows version with the environment variable:

[System.Environment]::OSVersion.Version

From the WMI class:

Get-WmiObject -Class Win32_OperatingSystem | fl -Property Caption, Version, BuildNumber

In new versions of PowerShell Core, you must use Get-CimInstance instead of the Get-WmiObject cmdlet:

Get-CimInstance Win32_OperatingSystem | fl -Property Caption, Version, BuildNumber, OSArchitecture

Get-CimInstance Win32_OperatingSystem: Version, BuildNumber, OSArchitecture

You can determine whether the x86 or x64 version of Windows is installed on the computer by the value of the OSArchitecture parameter.

To find out the build and version number of Windows, you can also check the registry.

Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName
Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v DisplayVersion
Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentBuild

Or:

Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion"| select ProductName, DisplayVersion, CurrentBuild

How to find the Windows version using Registry

You can use the ProductVersion, TargetReleaseVersion, and TargetReleaseVersionInfo registry parameters in the HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate registry key to specify the maximum target Windows build your device can automatically upgrade to. These options can be used to prevent an automatic update to Windows 11.

Use PowerShell Remoting to check the Windows version on remote hosts:

Invoke-Command -ScriptBlock {Get-ItemProperty 'HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion' | Select-Object ProductName, ReleaseID, CurrentBuild} -ComputerName dskt-pc01

Or use WMI/CIM:

Get-ciminstance Win32_OperatingSystem -ComputerName dskt-pc01 | Select PSComputerName, Caption, OSArchitecture, Version, BuildNumber | FL

If your computer is joined to the Active Directory domain, you can get the Windows version and build from the computer’s attributes in AD (Getting Windows OS build numbers from Active Directory).

You can also find the Windows version, edition, and build from the ISO image or WIM file.
1 comment
2
Facebook Twitter Google + Pinterest
PowerShellWindows 10Windows 11Windows Server 2019
previous post
Fix: Action Center Not Opening on Windows 10 and 11
next post
How to Enable Wake-on-LAN (WOL) in Linux

Related Reading

How to Allow Multiple RDP Sessions on Windows...

March 15, 2024

How to Run Program without Admin Privileges and...

June 8, 2023

How to Install Remote Server Administration Tools (RSAT)...

March 17, 2024

Refresh AD Groups Membership without Reboot/Logoff

March 15, 2024

Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows

March 17, 2024

Managing Windows Firewall Rules with PowerShell

March 11, 2024

Create a Custom Windows Image with Pre-installed Apps

February 28, 2024

How to Enable and Configure Hyper-V Remote Management

June 8, 2023

1 comment

Anonymous October 20, 2024 - 10:55 pm

Why is someone changing my build number as version

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Delete Old User Profiles in Windows
  • Fix: Remote Desktop Licensing Mode is not Configured
  • How to Install Remote Server Administration Tools (RSAT) on Windows
  • Configuring User Profile Disks (UPD) on Windows Server RDS
  • How to Create UEFI Bootable USB Drive to Install Windows
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11
  • How to Allow Non-Admin User to Start/Stop Service in Windows
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top