/build/static/layout/Breadcrumb_cap_w.png

Patch Management - Guidance

Howdy folks!

Quick questions for all the admins out there. Suppose I have an XP SP2 machine. What would be the quickest or easiest way to find out a list of all patches required to bring this up to speck short of building a machine & downloading all the patches & parsing through HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\.

Same for Server 2003 SP1.

Cheers!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: jparekh 15 years ago
Senior Yellow Belt
0
[font="Courier New"][font="Courier New"]Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.CreateTextFile("c:\qfix.csv", True)

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSoftware = objWMIService.ExecQuery _
("Select * from Win32_QuickFixEngineering")



For Each objSoftware in colSoftware
objTextFile.WriteLine vbquote & _
objSoftware.Caption & vbquote & "," & vbquote & _
objSoftware.Description & vbquote & "," & vbquote & _
objSoftware.FixComments & vbquote & "," & vbquote & _
objSoftware.InstalledOn & vbquote & "," & vbquote & _
objSoftware.HotFixID & vbquote & "," & vbquote & _
objSoftware.ServicePackInEffect & vbquote & "," & vbquote & _
objSoftware.Name & vbquote & "," & vbquote & _
objSoftware.Status & vbquote
Next
objTextFile.Close
Posted by: kiptek 15 years ago
Second Degree Green Belt
0
Thanks y'all! the scripting guy was pretty slick!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ