Jump to content

Recommended Posts

Posted

When the automatic windows updates run where to the files that are downloaded get stored temporarily?

I have a number of computers that we will be visiting for a migration and need to have people install the windows patches. We don't currently have wsus, etc to help in this regard. :(

I was thinking that if they are stored in a place that is readable that I could dump the files I already had downloaded from the msft site into a folder and have it install.

Failing this is there a script that will allow me to just run the patches sequentially without integrating into an os?


Posted (edited)

I am not sure about local copies but if it comes down to it you could try Tomcat's list here :-

http://users.telenet.be/tc76/winup/_winxpsp2.html

That has very helpful direct links to the individual patch downloads. Download each one individually. Then you just write a batch file to execute each one and that should do it! Another step could be to package up the batch file + updates into a single self extracting 7zip/rar and have that execute the batch file. That way you only need to copy the one file around and run it per machine.

You can make a batch file very easily by using "Dir /b /on > mybatchfile.bat" that will list all the files in the current folder in alphabetical order into mybatchfile.bat Just edit it to remove reference to itself or it will loop forever lol!

Edited by heffalump
Posted
When the automatic windows updates run where to the files that are downloaded get stored temporarily?

I have a number of computers that we will be visiting for a migration and need to have people install the windows patches. We don't currently have wsus, etc to help in this regard. :(

I was thinking that if they are stored in a place that is readable that I could dump the files I already had downloaded from the msft site into a folder and have it install.

Failing this is there a script that will allow me to just run the patches sequentially without integrating into an os?

Just place this script in the same folder as the Updates it will then install the updates.

Save As InstallKb.vbs

 Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject")
Dim Act :Set Act = CreateObject("Wscript.Shell")
Dim D1, D2
Set D1 = Fso.GetFolder(Fso.GetParentFolderName(WScript.ScriptFullName))
For Each D2 In D1.Files
If InStr(D2.Name,"KB") Then
If InStr(D2.Name,".exe") Then
Act.Run("" & D2.Name & " /silent /norestart"""),1,True
End If
End If
Next

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...