Jump to content

RE: Scanning tool for KB870669?


Recommended Posts

Posted

This is probably overkill, but this script will show all patches and stuff

installed. It provides the option of connecting to a remote computer. Keep

in mind you must have permission to pull the info from the remote computers

registry. It needs a little cosmetic clean-up.

 

Const HKLM = &H80000002 'HKEY_LOCAL_MACHINE

 

strComputer = "."

strKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"

strEntry1a = "DisplayName"

strEntry1b = "QuietDisplayName"

 

strRunTime = Now ()

wscript.echo ("Script executed at: " & strRunTime & vbCrLf & vbCrLf & vbCrLf)

 

strComputer = InputBox ("What is the name of the remote computer?")

If strComputer = "" Then

strComputer = "."

End If

msgbox ("Computer name is: " & strComputer)

Set objReg = GetObject("winmgmts://" & strComputer &

"/root/default:StdRegProv")

objReg.EnumKey HKLM, strKey, arrSubkeys

WScript.Echo "Installed Applications" & VbCrLf

For Each strSubkey In arrSubkeys

intRet1 = objReg.GetStringValue(HKLM, strKey & strSubkey,

strEntry1a, strValue1)

If intRet1 <> 0 Then

objReg.GetStringValue HKLM, strKey & strSubkey, strEntry1b,

strValue1

End If

If strValue1 <> "" Then

WScript.Echo VbCrLf & "Display Name: " & strValue1

End If

Next

 

 

 

"docnz" wrote:

<span style="color:blue">

> Hi there, I am just wondering if anyone knows if Microsoft has released a scanning tool to confirm if kb870669 has been installed successfully yet on all network pc's? I am aware you can check add/remove programs but this is to be done remotely. Any help would be appreciated.

>

> Regards

>

> DOCNZ</span>

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...