Close
Social profiles

We can find service pack number as well with Systeminfo command. Systeminfodumps lot of other information too, which we can filter out using findstr command.

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
C:\Users\techwithguru>systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 10 Home
OS Version:                10.0.17763 N/A Build 17763

If you want to print more details, then you can use just ‘OS’ in the findstr search pattern. 

C:\Users\techwithguru>systeminfo | findstr /C:"OS"
OS Name:                   Microsoft Windows 10 Home
OS Version:                10.0.17763 N/A Build 17763
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
BIOS Version:              Insyde F.20, 8/1/2018

Run the below WMIC command to get OS version and the service pack number.

C:\Users\techwithguru>wmic os get Caption,CSDVersion /value
Caption=Microsoft Windows 10 Home
CSDVersion=

If you want to find just the OS version, you can use ver command. Open command window and execute ver command.

Check out more about operating systems from Command Prompt category.

Leave a Reply

Your email address will not be published. Required fields are marked *

Close