Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > How do I tell - R2 vs Service Pack 2?

Reply
Thread Tools Display Modes

How do I tell - R2 vs Service Pack 2?

 
 
Tom Edelbrok
Guest
Posts: n/a

 
      10-28-2009
We have a bunch of Windows Server 2003 servers. Our System Admin is away on
a course and we were trying to find out if we are on Service Pack 2 or
Release 2 (ie: R2).

Right-clicking My Computer on every server shows 'Service Pack 2'. Does that
mean we don't have R2, or could R2 have been installed but doesn't change
the display from 'Service Pack 2'.

Thanks

Tom


 
Reply With Quote
 
 
 
 
Pegasus [MVP]
Guest
Posts: n/a

 
      10-28-2009

"Tom Edelbrok" <> wrote in message
news:av_Fm.49705$Db2.2603@edtnps83...
> We have a bunch of Windows Server 2003 servers. Our System Admin is away
> on a course and we were trying to find out if we are on Service Pack 2 or
> Release 2 (ie: R2).
>
> Right-clicking My Computer on every server shows 'Service Pack 2'. Does
> that mean we don't have R2, or could R2 have been installed but doesn't
> change the display from 'Service Pack 2'.
>
> Thanks
>
> Tom


Save the script below as c:\SP.vbs, then run it to see the exact version of
your service pack.

sServer="Edelbrok" 'Fill in the correct server name!
LF = Chr(10)
Set OSSet = GetObject("winmgmts:{impersonationLevel=" _
& "impersonate}!//" & sServer & "/root/cimv2"). _
ExecQuery("select Caption, CSDVersion, SerialNumber, " _
& "ServicePackMajorVersion, ServicePackMinorVersion " _
& "from Win32_OperatingSystem")
For Each OS In OSSet
MsgBox "Windows Version=" & OS.Caption & LF _
& "Serial Number=" & OS.SerialNumber & LF _
& "SP Version=" & OS.CSDVersion & LF _
& "Major SP Version=" & OS.ServicePackMajorVersion & LF _
& "Minor SP Version=" & OS.ServicePackMinorVersion
Next


 
Reply With Quote
 
Tom Edelbrok
Guest
Posts: n/a

 
      10-28-2009
Thanks - that script works great.

However, it tells me almost the same thing as 'My Computer' (ie: Service
Pack 2). It does give me a little more info though. Here is what it says for
one of our servers:

Microsoft blah blah Server 2003, Standard Edtion
Serial Number = blah blah
SP Version = Service Pack 2
Major SP Version = 2
Minor SP Version = 0


So does that mean it's 'Release 2' or 'Service Pack 2', (or maybe even 'SP2
Release 2' if there is such a thing!)

Tom



"Pegasus [MVP]" <> wrote in message
news:OtOurL$...
>
> "Tom Edelbrok" <> wrote in message
> news:av_Fm.49705$Db2.2603@edtnps83...
>> We have a bunch of Windows Server 2003 servers. Our System Admin is away
>> on a course and we were trying to find out if we are on Service Pack 2 or
>> Release 2 (ie: R2).
>>
>> Right-clicking My Computer on every server shows 'Service Pack 2'. Does
>> that mean we don't have R2, or could R2 have been installed but doesn't
>> change the display from 'Service Pack 2'.
>>
>> Thanks
>>
>> Tom

>
> Save the script below as c:\SP.vbs, then run it to see the exact version
> of your service pack.
>
> sServer="Edelbrok" 'Fill in the correct server name!
> LF = Chr(10)
> Set OSSet = GetObject("winmgmts:{impersonationLevel=" _
> & "impersonate}!//" & sServer & "/root/cimv2"). _
> ExecQuery("select Caption, CSDVersion, SerialNumber, " _
> & "ServicePackMajorVersion, ServicePackMinorVersion " _
> & "from Win32_OperatingSystem")
> For Each OS In OSSet
> MsgBox "Windows Version=" & OS.Caption & LF _
> & "Serial Number=" & OS.SerialNumber & LF _
> & "SP Version=" & OS.CSDVersion & LF _
> & "Major SP Version=" & OS.ServicePackMajorVersion & LF _
> & "Minor SP Version=" & OS.ServicePackMinorVersion
> Next
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with 2007 Microsoft Office Service Pack (SP1)? Bill Windows Vista Performance 0 03-17-2008 02:43 AM
Error Message Saying: "Your system could become unstable" SpikeDelight Windows Vista Performance 8 02-19-2008 04:20 PM
More on the Vista Service Pack 1 drivers roadblock star Windows Vista Hardware 0 02-06-2008 03:37 PM
Update failure - Framework 1.1 Service Pack 1 NoSpam Windows Vista Installation 0 11-28-2007 11:47 PM
Missing Files? D3DAiM Windows Vista Performance 6 04-02-2007 11:35 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59