/build/static/layout/Breadcrumb_cap_w.png

Windows Updates using K2000

We currently use Microsoft Update Services Version: 3.1.6001.65 to select Windows updates and distribute them. Is anyone using K2000 to do this? If so, what steps do you follow?

Thanks ~ David

0 Comments   [ + ] Show comments

Answers (3)

Posted by: airwolf 13 years ago
Red Belt
0
We use WSUS 3.0 SP2 for Microsoft update deployment. After a machine is built from the K2100, the client just hits our WSUS server and installs all missing updates.
Posted by: rmeyer 13 years ago
Second Degree Blue Belt
0
I created a script to install some of the updates that is not slipstreamed into the WinXP installation yet:
What is does is:
It if the folder don't exist "C:\Temp\Logs" it will create it or the log files will fail
All files in the folder "W:\Updates\PostUpdates\" will be installed with thies parameters " /passive /norestart /nobackup /log:c:\Temp\Logs\" & folderIdx.Name & ".log"

It will only install exe files that you can download from Microsoft's homepage, not the msp/msi files, you need to create another folder and other command line to install thoes

It is not the perfect way to do it, that would be to slipstream it into the image, but untill I do that this helps windows from missing windows updates after a new installation =)

InstallPost.vbs (remember to run it with "cscript.exe InstallPost.vbs" to avoid the popups stopping the process)
---------------------------------------------
wscript.sleep(20000)
On Error Resume Next
Dim objFSO, objFolder, strDirectory
strDirectory = "c:\Temp\Logs"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.CreateFolder(strDirectory)

Dim fso, folder, files, NewsFile,sFolder
Set WshShell = WScript.CreateObject("WScript.Shell")

Set fso = CreateObject("Scripting.FileSystemObject")
' sFolder = Wscript.Arguments.Item(0)
sFolder = "W:\Updates\PostUpdates\"
If sFolder = "" Then
' Wscript.Echo "No Folder parameter was passed"
Wscript.Quit
End If

Set folder = fso.GetFolder(sFolder)
Set files = folder.Files

For each folderIdx In files
' wscript.echo folderIdx.Name & " installing..."
Return = WshShell.Run(sFolder & folderIdx.Name & " /passive /norestart /nobackup /log:c:\Temp\Logs\" & folderIdx.Name & ".log", 1, true)
Next
NewFile.Close
------------------------------------------------------------
Posted by: cblake 13 years ago
Red Belt
0
If you're not thinking of switching from WSUS, then you can use the K2 to do a postinstall task to force a machine to update during the scripted install or system image. That post install BAT task might look like this:

net stop wuauserv
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v LastWaitTimeout /f
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v DetectionStartTime /f
Reg Delete "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /f
net start wuauserv
wuauclt /detectnow
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