The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,437 other followers

Easy ways to show which Windows version/service packs are installed; via Super User: windows command line: can I tell Service pack number?

Posted by jpluimers on 2011/12/23

Sometimes you want to know which SP is installed on Windows with built-in tools only.

For end-users the fastest way is to start Winver, it will give you dialogs like these (left: XP with SP3, right: Windows 7 without any SP):

For command-line lovers, the one I like this most is this:

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

[WayBack] systeminfo can show a truckload of information, and [WayBack] findstr condenses this to what I need.

On Windows XP SP3, it shows this:

OS Name: Microsoft Windows XP Professional
OS Version: 5.1.2600 Service Pack 3 Build 2600

On vanilla Windows 7, it shows this:

OS Name: Microsoft Windows 7 Ultimate
OS Version: 6.1.7600 N/A Build 7600

–jeroen

via: [WayBackwindows command line: can I tell Service pack number? – Super User.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: