Check your Windows edition, version and build with Command Prompt

Quickly display the exact Windows edition, version and build number by running a single command in Command Prompt (no menus or Settings hunting required).

What the video covers

Show how to open Command Prompt and run the winver command to view Windows edition, version and build number.

Watch the video on YouTube

Step-by-step instructions

  1. Open Command Prompt
    Press the Windows key, type cmd, then open Command Prompt from the search results.
  2. Run the winver command
    Type winver and press Enter.
  3. Read the About Windows window
    A small window will pop up showing your Windows edition, the version number (for example 21H2 or 22H2) and the OS build number. Use these details for troubleshooting or reporting to support.

Watch the video

Video thumbnail for Check your Windows edition, version and build with Command Prompt Play tutorial

Watch on YouTube

Why it matters

Knowing the exact Windows version and build helps with troubleshooting, installing compatible software and providing accurate system details to support.

Check your result

A small window titled About Windows appears, listing the Windows edition, version (e.g., 22H2) and the OS build number. That confirms the command worked.

Troubleshooting

If Command Prompt doesn’t open, try using the Run dialog (Windows key + R), type winver and press Enter. If no About Windows window appears, you may not have permissions or a system issue—try opening Command Prompt as an administrator or check for system file errors.