{"id":9089,"date":"2024-02-09T15:07:11","date_gmt":"2024-02-09T15:07:11","guid":{"rendered":"https:\/\/cheapwindowsvps.com\/blog\/a-step-by-step-guide-how-to-identify-your-installed-windows-version-and-build-number\/"},"modified":"2025-01-16T11:13:03","modified_gmt":"2025-01-16T11:13:03","slug":"a-step-by-step-guide-how-to-identify-your-installed-windows-version-and-build-number","status":"publish","type":"post","link":"https:\/\/cheapwindowsvps.com\/blog\/a-step-by-step-guide-how-to-identify-your-installed-windows-version-and-build-number\/","title":{"rendered":"A Step-by-Step Guide: How to Identify Your Installed Windows Version and Build Number"},"content":{"rendered":"<p>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 <code>Win+R<\/code> on the keyboard and run the <code>winver<\/code> command.<\/p>\n<p>The following screenshot shows that <em>Windows 10 version 22H2<\/em> is installed on the computer (<em>build number 19045.3324<\/em>). 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.<\/p>\n<p>A table with all version numbers (releases) and builds of Windows 10 is available here <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/release-health\/release-information\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/learn.microsoft.com\/en-us\/windows\/release-health\/release-information<\/a>.<\/p>\n<p>You can also open the System Information dialogue using a <code>Win+Pause<\/code> keyboard shortcut. This will take you to the appropriate <code>Settings<\/code> section (System -&gt; About) or the System Properties window (depending on your version of Windows).<\/p>\n<p>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:<\/p>\n<p><code>shell:::{bb06c0e4-d293-4f75-8a90-cb05b6477eee}<\/code><\/p>\n<p>Also, you can get info about your computer\u2019s Windows build and version from the command line.<\/p>\n<p>Use the <code>systeminfo<\/code> command.<\/p>\n<p>You can also filter the output of this command:<\/p>\n<p><code>systeminfo | findstr \/B \/C:\"OS Name\" \/B \/C:\"OS Version\"<\/code><\/p>\n<p>Alternatively, you can use the WMI command:<\/p>\n<p><code>wmic os get Caption, Version, BuildNumber, OSArchitecture<\/code><\/p>\n<p>The PowerShell equivalent of the <code>systeminfo<\/code> command is the <strong>Get-ComputerInfo<\/strong> cmdlet:<\/p>\n<p><code>Get-ComputerInfo | select OsName, OsVersion, WindowsVersion, OsBuildNumber, OsArchitecture<\/code><\/p>\n<p>The Get-ComputerInfo cmdlet has a drawback of being slow. If you need to promptly verify the Windows version and build from a PowerShell script, it is advisable to use the commands below.<\/p>\n<p>You can obtain the Windows version via the environment variable:<\/p>\n<pre>[System.Environment]::OSVersion.Version<\/pre>\n<p>Or from the WMI class:<\/p>\n<p><code>Get-WmiObject -Class Win32_OperatingSystem | fl -Property Caption, Version, BuildNumber<\/code><\/p>\n<p>In <a href=\"https:\/\/woshub.com\/install-update-powershell-windows\/\" target=\"_blank\" rel=\"nofollow noopener\">new versions of PowerShell Core<\/a>, you must use Get-CimInstance instead of the Get-WmiObject cmdlet:<\/p>\n<p><code>Get-CimInstance Win32_OperatingSystem | fl -Property Caption, Version, BuildNumber, OSArchitecture<\/code><\/p>\n<div>You can determine whether the x86 or x64 version of Windows is installed on the computer by the value of the <strong>OSArchitecture<\/strong> parameter.<\/div>\n<p>To find out the build and version number of Windows, you can also check the registry.<\/p>\n<p><code>Reg Query \"HKLMSOFTWAREMicrosoftWindows NTCurrentVersion\" \/v ProductName<br \/>\nReg Query \"HKLMSOFTWAREMicrosoftWindows NTCurrentVersion\" \/v DisplayVersion<br \/>\nReg Query \"HKLMSOFTWAREMicrosoftWindows NTCurrentVersion\" \/v CurrentBuild<\/code><\/p>\n<p>Or:<\/p>\n<p><code><a href=\"https:\/\/woshub.com\/how-to-access-and-manage-windows-registry-with-powershell\/\" target=\"_blank\" rel=\"nofollow noopener\">Get-ItemProperty<\/a> -Path \"HKLM:SOFTWAREMicrosoftWindows NTCurrentVersion\"| select ProductName, DisplayVersion, CurrentBuild<\/code><\/p>\n<p>You can use the <code>ProductVersion<\/code>, <code>TargetReleaseVersion<\/code>, and <code>TargetReleaseVersionInfo<\/code> registry parameters in the HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdate registry key to specify the maximum target Windows build your device can automatically upgrade to. These options can be used to <a href=\"https:\/\/woshub.com\/block-auto-update-windows-version\/\" target=\"_blank\" rel=\"nofollow noopener\">prevent an automatic update to Windows 11<\/a>.<\/p>\n<p>Use PowerShell Remoting to check the Windows version on remote hosts:<\/p>\n<p><code><a href=\"https:\/\/woshub.com\/invoke-command-run-powershell-scripts-remotely\/\" target=\"_blank\" rel=\"nofollow noopener\">Invoke-Command<\/a> -ScriptBlock {Get-ItemProperty 'HKLM:SOFTWAREMicrosoftWindows NTCurrentVersion' | Select-Object ProductName, ReleaseID, CurrentBuild} -ComputerName dskt-pc01<\/code><\/p>\n<p>Or use WMI\/CIM:<\/p>\n<p><code>Get-ciminstance Win32_OperatingSystem -ComputerName dskt-pc01 | Select PSComputerName, Caption, OSArchitecture, Version, BuildNumber | FL<\/code><\/p>\n<p>If your <a href=\"https:\/\/woshub.com\/add-computer-to-active-directory-domain\/\" target=\"_blank\" rel=\"nofollow noopener\">computer is joined to the Active Directory domain<\/a>, you can get the Windows version and build from the computer\u2019s attributes in AD <a href=\"https:\/\/woshub.com\/find-windows-os-versions-builds\/\" target=\"_blank\" rel=\"nofollow noopener\">(Getting Windows OS build numbers from Active Directory<\/a>).<\/p>\n<div>You can also <a href=\"https:\/\/woshub.com\/find-windows-version-edition-build-iso-wim-file\/\" target=\"_blank\" rel=\"nofollow noopener\">find the Windows version, edition, and build from the ISO image or WIM file<\/a>.<\/div>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117,98,99,100],"tags":[],"class_list":["post-9089","post","type-post","status-publish","format-standard","hentry","category-powershell","category-windows-10","category-windows-11","category-windows-server-2019"],"_links":{"self":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/9089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/comments?post=9089"}],"version-history":[{"count":2,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/9089\/revisions"}],"predecessor-version":[{"id":10264,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/9089\/revisions\/10264"}],"wp:attachment":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media?parent=9089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/categories?post=9089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/tags?post=9089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}