How to Check Your Windows Version in Command Prompt

Use ver if you only need a quick version string from Command Prompt. Use systeminfo when you need the exact build, OS name, or edition. Use winver if you want a small GUI confirmation, and use wmic os get version only on systems where WMIC is still available.

Open Command Prompt and run ver for a fast version check. If you need the edition, build, or OS name, run systeminfo. For a shorter version line on systems that still support it, use wmic os get version. Use winver when you want the version number in a small dialog.

What you'll need

  • A Windows 10 or Windows 11 PC can use Command Prompt version-check commands.
  • Access to the Run dialog with Win+R.
  • A standard Command Prompt window, or Administrator: Command Prompt if a policy or permission issue blocks the command.
  • The ability to type one command and press Enter.

How do you check it in Command Prompt?

How do you check it in Command Prompt?
A Windows Command Prompt window shows user account details and group memberships

Open Command Prompt from Run, type cmd, and press Enter. Then type ver and press Enter. That usually gives a quick version string in cmd.exe. If you need the Windows build or the OS name, use systeminfo. If you only want a short version-only readout and WMIC is still present on the machine, use wmic os get version.

Quickest path

  1. Press Win+R to open Run.
  2. Type cmd and press Enter.
  3. Type ver and press Enter.
  4. Read the version string on the next line.

A common first-timer mistake is opening PowerShell and expecting the same output format. Command Prompt is the cmd.exe shell; PowerShell can run Windows commands too, but the prompt and command behavior are not identical.

Need only a quick version string? use ver. Need the OS name, edition, or exact build? use systeminfo. Need GUI fallback? use winver. If your support ticket asks for “Windows 11 23H2 or later,” use systeminfo to check the OS name and build details instead of relying on ver alone.

How do you find the exact build?

How do you find the exact build?
A laptop screen shows a Windows search for Command Prompt

Use systeminfo when version alone is too vague. It returns detailed OS information, including OS Name and OS Version, which helps separate the product name, build, and edition. If you only need a concise version line, wmic os get version is shorter, but it is not as detailed as systeminfo and may not be available on every system.

Read the full output

  1. Open Command Prompt.
  2. Type systeminfo and press Enter.
  3. Find OS Name for the edition label and OS Version for the version/build line.
  4. If you need a shorter version-only result, run wmic os get version instead.

Suppose a device shows Windows 10 in the UI but the task needs a specific build. Use systeminfo rather than guessing from the general version label. That is the safer path when the difference between a major release and a build number matters for drivers, features, or policy checks.

If that still does not give you what you need, open Administrator: Command Prompt and run the same command again. Elevated access is not usually required for version checks, but it can matter on locked-down systems where local policy limits what a standard prompt can reveal. Microsoft also notes that WMIC is deprecated and can be unavailable in some installs, so treat wmic os get version as a fallback rather than your primary option.

Windows version comparison table

Check What it returns Shows edition / version / build? Available on Windows 10 vs Windows 11? Admin rights usually required?
ver A concise Windows version string, for example a short line showing the OS version in cmd.exe Version only; no edition, no full build detail Yes on Windows 10 and Windows 11 No
systeminfo Detailed OS information, including OS Name and OS Version, for example the OS name plus a version/build line Edition and version/build detail; edition appears in OS Name wording Yes on Windows 10 and Windows 11 Usually no
wmic os get version A short version value from WMI, for example a compact version line Version only; no edition Sometimes on Windows 10; limited or unavailable on Windows 11 No
Non-CMD fallback: winver A small About Windows dialog with version and build Version and build; edition is not the main output Yes on Windows 10 and Windows 11 No

What does the output mean?

What does the output mean?
A laptop screen shows the Windows search results for Command Prompt

Version is a numeric release value, while build tells you the more exact revision. OS Name gives the product identity, and edition is the product label, such as Home or Pro. A short command can confirm one field without covering all four.

Use the right field for the job

If a driver note says “Windows 11 only,” check the OS name or product identity, not just the numeric version string. If a feature note says “build 22631 or later,” you need the build number, not just the version label. If software licensing or domain policy matters, use the edition from systeminfo or the winver dialog.

Windows commands documentation notes that all supported versions of Windows include built-in console commands, which is why these checks work from cmd.exe on current Windows releases. PowerShell can also run Windows commands, but Command Prompt is still the quickest path for this specific check.

Windows version history matters here because the same user-facing name can hide different build lines. That is why a short result is useful for speed, while systeminfo is better when you need the exact build and OS name together.

Common mistakes

  1. Using the wrong shell. If you want cmd.exe output, open Command Prompt from Run with cmd, not PowerShell.
  2. Reading ver too loosely. It is a quick check, not a full system report.
  3. Expecting edition data from ver. Use systeminfo or winver for that.
  4. Assuming every Windows release behaves the same. wmic os get version is a good lightweight option only when WMIC is present.

Keep cmd, ver, systeminfo, and winver in a short note. That makes it easier to pick the right command the next time a ticket asks for a build number instead of a broad version.

Keep reading

Frequently asked questions

What command shows the Windows version?

ver shows a quick version string, while systeminfo shows more detail. Use winver if you prefer a dialog box.

How do I find out what version of Windows I have from cmd?

Run ver for the quickest answer, then use systeminfo if you need the OS name or build details.