I have been trying to find a suitable script to deploy the Hotfix KB899588
across my domain, via group policy
As yet i haven't found a script that works.
Any body have such a script or know a good site for help??!!

Re: Applying Windows patches via VB by rwh

rwh
Fri Aug 19 13:21:30 CDT 2005

With WSUS server out from Microsoft whay would you want to script it?
WSUS manages all of your computers in AD with a simple Group Policy. No
need to do anything except approve the updates. It even monitors all of
your systems so that you can see how up to date their patches are.


Re: Applying Windows patches via VB by j

j
Sat Aug 20 16:26:31 CDT 2005

'On error resume next
Const OverwriteExisting = True
Const ForAppending = 8

Set oFS = CreateObject("Scripting.FileSystemObject")
Set WshShell = WScript.CreateObject("WScript.Shell")
Set oTS = oFS.OpenTextFile("..\groups\g.txt")

Do Until oTS.AtEndOfStream
strComputer = oTS.ReadLine
'open new text file for status report

If oFS.FolderExists("\\" & strComputer & "\c$\") Then
Set objTextFile = oFS.OpenTextFile (".\copy_status.txt", ForAppending,
True)
objTextFile.WriteLine("Connected to " & strComputer & vbTab)
Wscript.Echo "Connected to " & strComputer
objTextFile.Close
'copy patch.exe
newplace = "\\" & strComputer & "\c$\"
Wscript.echo newplace
ofs.CopyFolder "KB903235" ,newplace, OverwriteExisting
'Wscript.Sleep 2000

WshShell.run "..\pstools\psexec" & " \\" & strComputer & "
c:\KB903325\KB903235.exe /Q"

Else
Set objTextFile = oFS.OpenTextFile (".\missed_status.txt", ForAppending,
True)
objTextFile.WriteLine(" Cannot connect to " &
strComputer & vbTab)
Wscript.Echo " Cannot connect to " & strComputer
objTextFile.WriteLine(Now())
objTextFile.Close
End If
Loop
oTS.Close

"Rob Clarke" <robclarke@discussions.microsoft.com> wrote in message
news:8F01621F-77E8-485C-A074-E05EBA3C0F47@microsoft.com...
>I have been trying to find a suitable script to deploy the Hotfix KB899588
> across my domain, via group policy
> As yet i haven't found a script that works.
> Any body have such a script or know a good site for help??!!