How To Check Windows Version From CMD
Open a command prompt and type
winver. It will open a popup window showing the information about your operating system.
The following screenshot shows the output of the
winver command in Windows 10:
The head section shows the operating system you are running on your PC. The bottom part shows the build version and the edition (e.g., Pro, Home, Education, Enterprise).
You will see something similar to the following when you run the
winver command on Windows 11:
systeminfo command displays the operating system configuration information of your computer. You will find the Windows version under the OS Name directive (usually the second line).
systeminfo CMD command also shows other operating system information such as time zone, boot time network card(s) model, RAM size, etc.
The PowerShell equivalent to the
Get-ComputerInfo (this will not work on CMD).
To check the Windows version without all other details, add
WindowsProductName Parameter to the command, as shown in the above screenshot.