Page 1 of 1

Include only certain updates?

PostPosted: 12.08.2019, 04:57
by richardstephens
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.

Re: Include only certain updates?

PostPosted: 12.08.2019, 14:10
by hbuhrmester
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

Re: Include only certain updates?

PostPosted: 12.08.2019, 16:00
by aker
: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]