XP Service Pack
Results 1 to 7 of 7

Thread: XP Service Pack

  1. #1
    Registered User
    Join Date
    Jan 2003
    Location
    MS
    Posts
    12

    XP Service Pack

    Is there a tool that i can launch that will show what service pack is installed on windows 2000 and/or XP?

  2. #2
    Driver Terrier NooNoo's Avatar
    Join Date
    Dec 2000
    Location
    UK
    Posts
    31,824
    Right Click my computer, properties, right there on the general tab.
    Never, ever approach a computer saying or even thinking "I will just do this quickly."

  3. #3
    Registered User
    Join Date
    Jan 2003
    Location
    MS
    Posts
    12
    I know about that location but there is nothing there. I wanted to make sure there were no service packs installed. Also, i wanted to be able to run a script over the network and get the information automatically.

  4. #4
    Driver Terrier NooNoo's Avatar
    Join Date
    Dec 2000
    Location
    UK
    Posts
    31,824
    The script will run on a client or a server? The script will extract this info from a client or a server?
    Never, ever approach a computer saying or even thinking "I will just do this quickly."

  5. #5
    Registered User
    Join Date
    Aug 2002
    Posts
    60
    Qfecheck can tell you exactly what patches and SP's are installed but it does not do this remotely.

    You can have it however execute locally and send a log to a computer of your choice.

    Would that work? Maybe add to logon scripts in your GPO.

    http://support.microsoft.com/default...2784&ID=282784

    Maybe hfnetchk Pro also, it does remote audit.

    I realise its turning the tools purpose around abit but it would tell you the SP state of the system.

  6. #6
    Registered User ShadowKing's Avatar
    Join Date
    Dec 1999
    Location
    WA
    Posts
    743
    Here is an easy one that should work:

    Code:
    On Error Resume Next
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colItems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem",,48)
    For Each objItem in colItems
        Wscript.Echo "CSName: " & objItem.CSName
        Wscript.Echo vbtab & "ServicePackMajorVersion: " & objItem.ServicePackMajorVersion
        Wscript.Echo vbtab & "ServicePackMinorVersion: " & objItem.ServicePackMinorVersion
    Next
    Feel free to replace the "." with any computer's name on your network, or you could easily write a loop that would get all the computer names from AD.
    Matt

    "If you have been tempted into evil, fly from it. It is not falling into the water, but lying in it, that drowns"

  7. #7
    Registered User ShadowKing's Avatar
    Join Date
    Dec 1999
    Location
    WA
    Posts
    743
    O BTW I wrote that script with the Scriptomatic:

    http://www.microsoft.com/technet/tre...r/wmimatic.asp

    This is a tool for losers who don't know how to script, but want to anyway. It also makes for really easy WMI stuff for those of us who DO know how. It saves having to dig through WBEMTest and it's ugly interface.
    Matt

    "If you have been tempted into evil, fly from it. It is not falling into the water, but lying in it, that drowns"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •