How to Find Your Windows Version Using Command Prompt

November 6, 2025 / Command Line

Knowing your Windows version helps you identify the operating system build, edition, and version installed on your computer. This information is essential for troubleshooting, ensuring software compatibility, and verifying system updates.

This article explains how to check your Windows version using the Command Prompt (CMD). You will learn multiple command-line methods to retrieve system details, including the Windows edition, build number, and release version.

Why Check Your Windows Version?

Identifying your Windows version is useful for:

  • Troubleshooting issues related to system updates or compatibility.
  • Installing compatible software or drivers.
  • Verifying Windows updates and build numbers.
  • Ensuring security compliance with the latest OS release.

Methods to Check Windows Version Using Command Prompt

  1. Option 1: Use the ver Command
    This simple command displays the Windows version number:

    ver

    Example Output:

    Microsoft Windows [Version 10.0.19045.4046]

    Tip: This command shows only the version number, not edition details.

  2. Option 2: Use the systeminfo Command
    Displays detailed system information, including OS name, version, build, and architecture.

    systeminfo

    Example Output (Excerpt):

    OS Name:                   Microsoft Windows 10 Pro
    OS Version:                10.0.19045 N/A Build 19045
    System Type:               x64-based PC

    Use this for a complete summary of your system configuration.

  3. Option 3: Use the wmic Command
    Provides a clean summary of your Windows edition, version, and build number.

    wmic os get Caption, Version, BuildNumber

    Example Output:

    Caption                             Version        BuildNumber
    Microsoft Windows 11 Pro            10.0.22631     22631

    This command is concise and ideal for quick reference.

  4. Option 4: Use the Registry Query Command
    You can also retrieve OS version details directly from the Windows registry.

    reg query “HKLM\Software\Microsoft\Windows NT\CurrentVersion” | findstr /i “ProductName ReleaseId CurrentBuild”

    Example Output:

    ProductName    REG_SZ    Windows 11 Pro
    ReleaseId      REG_SZ    23H2
    CurrentBuild   REG_SZ    22631

    This method helps confirm the exact release and build from registry data.

Example Outputs

Here’s what you can expect when using each command:

  • ver Command:
    Displays the basic Windows version number.
    Example:

    Microsoft Windows [Version 10.0.19045.4046]
  • systeminfo Command:
    Provides full system details such as OS name, version, and build.
    Example:

    OS Name: Microsoft Windows 10 Pro
    OS Version: 10.0.19045 Build 19045
  • wmic os get Caption, Version, BuildNumber Command:
    Shows your Windows edition, version, and build number in a structured format.
    Example:

    Microsoft Windows 11 Pro – 10.0.22631 – Build 22631
  • reg query Command:
    Displays version details from the Windows registry.
    Example:

    ProductName: Windows 11 Pro
    ReleaseId: 23H2
Running applications on a Windows server?
For better performance and administrative control, consider using a Windows VPS Hosting solution with dedicated resources and full administrator access.

Conclusion

Using Command Prompt is one of the quickest ways to check your Windows version, edition, and build details.
For most users, the systeminfo or wmic commands provide the most complete and clear results. Keeping this information handy helps with system troubleshooting, updates, and software compatibility checks.

For further assistance, contact our support team.

Next, enhance your Windows hosting setup – learn How to subscribe to a Microsoft access database in Plesk for Windows

Spread the love