Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Windows Version Command in CMD: How to Check

· 4 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To check the Windows version from Command Prompt, open CMD and type ver then press Enter. That returns the Windows version number, such as Microsoft Windows [Version 10.0.19045.3803]. For a fuller picture, including the edition and build, type winver (this opens a small dialog) or run systeminfo for a detailed list. The ver command is the fastest, but it only shows the version number, not the edition name.

What you need is minimal: a Windows PC and access to Command Prompt. You do not need administrator rights for ver or winver, but systeminfo may take longer and can require elevation on some systems. The steps below are for Windows 10 and Windows 11; older versions like Windows 8.1 or 7 follow the same pattern, but the exact output differs.

What You'll Need

  • A Windows PC running Windows 10 or Windows 11 (steps also work on Windows 8.1 and 7 with minor differences).
  • Access to Command Prompt. You can open it from the Start menu search or by pressing Win+R and typing cmd.
  • No special software or admin rights for the basic ver and winver commands.

Step-by-Step

  1. Open Command Prompt. Press the Windows key, type cmd, and click Command Prompt in the results. Alternatively, press Win+R, type cmd, and press Enter. On Windows 11, the default terminal may open; that is fine, the commands work the same.
  2. Type ver and press Enter. You will see a line like Microsoft Windows [Version 10.0.19045.3803]. The number after “Version” is the OS build. This is the quickest way to get the version number.
  3. For a dialog with edition and build, type winver and press Enter. A small “About Windows” window opens showing the Windows edition (e.g., Windows 11 Pro) and the build number. Close it when done.
  4. For a detailed report, type systeminfo and press Enter. This lists OS Name, OS Version, System Type, and more. It can take a few seconds. Scroll to the top to see “OS Name” and “OS Version”. If you get an access denied message, open Command Prompt as administrator: right-click the Start button, choose Terminal (Admin) or Command Prompt (Admin), then run the command again.
  5. Optional: use wmic os get caption,version. This returns the OS name and version in a compact table. Note that WMIC is deprecated in newer Windows builds and may not be available; if it fails, use systeminfo instead.

Menu labels and command output can differ slightly by Windows version, edition, and region. The commands themselves are the same across editions.

Common Mistakes

  • Typing version instead of ver. The command is ver; version is not recognized.
  • Expecting ver to show the edition name. It only shows the version number. Use winver or systeminfo for the edition.
  • Running systeminfo without admin rights and getting errors. Open CMD as administrator if you see access denied.
  • Confusing the build number with the Windows version. The number after “Version” is the build; the marketing name (Windows 10/11) is separate.
  • Using PowerShell and expecting the same output. In PowerShell, ver is not a native command; use [System.Environment]::OSVersion or run cmd /c ver.

Tips

  • You can run ver from any folder; it does not depend on the current directory.
  • To copy the output, right-click in the Command Prompt window and choose Mark, select the text, then press Enter. Or use systeminfo | clip to copy the whole report to the clipboard.
  • If you only need the build number for troubleshooting, ver is enough.
  • On Windows 11, the winver dialog shows the edition and build clearly; it is often the easiest for support calls.

Troubleshooting

If ver returns “'ver' is not recognized as an internal or external command”, you are likely in PowerShell or another shell. Type cmd and press Enter to switch to Command Prompt, then run ver again. If systeminfo hangs or fails, try running it as administrator. If you see a message that WMIC is not recognized, it has been removed in your Windows build; use systeminfo or winver instead. If the Command Prompt window closes immediately, open it from the Start menu search rather than a shortcut. If you cannot open Command Prompt at all, check that you are not restricted by group policy (common on work computers); contact your IT administrator.

Frequently Asked Questions

What does the ver command show?

It shows the Windows version number and build, for example Microsoft Windows [Version 10.0.19045.3803]. It does not show the edition name.

How do I see the Windows edition (Home, Pro) in CMD?

Use winver for a dialog, or systeminfo and look for “OS Name”. Both show the edition.

Why does ver not work in PowerShell?

ver is a Command Prompt command, not a PowerShell cmdlet. In PowerShell, run cmd /c ver or use [System.Environment]::OSVersion.

Do I need administrator rights to check the Windows version?

No for ver and winver. systeminfo may require elevation on some systems.

Can I check the Windows version without CMD?

Yes. Press Win+R, type winver, and press Enter. Or go to Settings > System > About.

What if systeminfo is not recognized?

It is a built-in tool; if it is missing, your PATH may be altered. Use winver or Settings > System > About instead.