Include only certain updates?

Include only certain updates?

Postby richardstephens » 12.08.2019, 04:57

I have a client that has 6 servers and some XP workstations running software from a vendor that only approves certain updates. These machines are also on a completely isolated network with no internet access. I have a list (KBxxxxx) of the updates that they have approved, and I would like to use WSUS Offline to only install those updates.
richardstephens
 
Posts: 2
Joined: 07.08.2019, 08:37

Re: Include only certain updates?

Postby hbuhrmester » 12.08.2019, 14:10

Usually, WSUS Offline Update uses the WSUS offline scan file wsusscn2.cab, to extract its lists of updates. These update lists are called "dynamic" updates. You could tell both UpdateGenerator.exe and UpdateInstaller.exe to skip dynamic updates and only use statically defined updates.

UpdateGenerator.exe

Edit the file UpdateGenerator.ini, which is created on the first run, and add the line:

Code: Select all
skipdynamic=Enabled


to the [Miscellaneous] section.

Check the files in the static directory for updates, that you do not want. Add the kb numbers to the file exclude/custom/ExcludeListForce-all.txt (which must be created first).

Create additional files static/custom/StaticDownloadLinks-wxp-x86-glb.txt and similar and add the complete download links.

You can get the download links from the Microsoft Update web site, but you could also try the script ExtractDownloadLinks-all.cmd to get all download links from the file wsusscn2.cab. This script is only in the development version "trunk" of WSUS Offline Update:

https://trac.wsusoffline.net/trac.fcgi/ ... ks-all.cmd

Note: If all needed updates can be found in the file wsusscn2.cab, then you could possibly let the UpdateGenerator.exe have its way and download all updates. Then the filtering will be done at the installation part.


UpdateInstaller.exe

Edit the file UpdateInstaller.ini and change the line:

Code: Select all
skipdynamic=Disabled


to:

Code: Select all
skipdynamic=Enabled


Create a file client/custom/StaticUpdateIds-wxp-x86.txt with the kb numbers you want to install.


The procedure to add own static download links is also described in the file doc/faq-enu.txt.

Caveats: I never tried any of these.

Regards,
hbuhrmester
hbuhrmester
 
Posts: 381
Joined: 11.10.2013, 20:59

Re: Include only certain updates?

Postby aker » 12.08.2019, 16:00

:arrow: https://forums.wsusoffline.net/viewtopic.php?f=4&t=2467&p=7628#p7628

[edit]Thema gesperrt; da es als Verweis noch benötigt wird, ist es noch nicht gelöscht, wird es aber noch.[/edit]
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 3345
Joined: 02.03.2011, 15:32
Location: %SystemRoot%\System32\Boot\winload.efi


Return to Installation / Updating

Who is online

Users browsing this forum: Google [Bot] and 24 guests