Click here for Low cost website hosting!

IP Address Lookup
IP Address

Microsoft Windows Tips And Tricks!


Get OS Version From The Command Prompt In Windows Xp, 2003, Vista, 7 And 8

Windows has command line utilities that show us the version of the Windows OS we are using including the service pack number. If you just want to find the OS name, you can use the ver command.

Just open a command prompt and type ver and press enter.

Ver Command From CMD Prompt

As you can see above, ver command just tells you the OS name or version number but not the service pack number you are using. We can find service pack number as well as the OS name using Systeminfo command. But Systeminfo dumps lot of other information also. So we need to use findstr command to filter out unwanted information.

Use Of System Info CMD

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

Use Of System Info CMD With More Info

Using WMI:
The below wmi command gives the OS and the service pack version.
wmic os get Caption,CSDVersion /value

Use Wmi To Get OS And Service Pack

Last you can use the 'winver' command at the command prompt to get the OS and Service Pack GUI Window.

Windows Version CMD From CMD Prompt

Thanks for visiting

Return to Index Page

Valid HTML 4.01 Transitional
Copyright ©2019 CSN All Rights Reserved