Select update up to a defined date (in the past)

Select update up to a defined date (in the past)

Postby shamael91 » 01.12.2014, 11:50

Hi all,

First thanks for all the efforts to make this tool as it is: a major help for my daily job!

I regularly use it without problem but in a basic way (update repository and apply updates). I'm today facing another question: how can I create a apply update only up to a defined date? To make it bright, I need to install a new server with the same level of patching than an existing one.
The existing server was updated with WSUSoffline, but I updated the repository already...

I see 2 options:
- limit the repository creation to a defined date
- somehow create the list of installed update in the actual server (serverinfo.exe should be fine) and ask WSUSoffline to only apply the same update.

I guess there is maybe other options, but so far I'm not able see how to apply my previous options.
Do I do it wrong, wrong way, or do I simply missed an obvious option?

I'm looking forward an answer, many thx already!
shamael91
 

Re: Select update up to a defined date (in the past)

Postby aker » 01.12.2014, 13:31

wsusou uses the Windows Update Agent to determine the missing updates using wsusscn2.cab; i you want it to install just some specific updates, you can disable the dynamic installation by adding "/skipdynamic" to DoUpdate.cmd's command line.
Then you have to statically define all updates inside .\client\static\custom.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 3125
Joined: 02.03.2011, 15:32
Location: %SystemRoot%\System32\Boot\winload.efi

Re: Select update up to a defined date (in the past)

Postby shamael91 » 01.12.2014, 13:49

Hi aker and thx for your answer.

In the custom folder, you simply need to put a txt file with the list of KB (I guess one per line)?
does this txt file need to be specific formatted (naming convention in mind)

e.g. a file A.txt containing:
KB232112312
KB565656565
...

?
shamael91
 

Re: Select update up to a defined date (in the past)

Postby aker » 01.12.2014, 18:37

For the file names, take a look at .\client\static. Just use the same names.
This might be helpful too: :arrow: viewtopic.php?f=7&t=3848

But just write the number, e.g.
Code: Select all
123456
2345678



Don't forget the empty new line at the end of the file.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 3125
Joined: 02.03.2011, 15:32
Location: %SystemRoot%\System32\Boot\winload.efi

Re: Select update up to a defined date (in the past)

Postby shamael91 » 02.12.2014, 09:54

Goodmorning Aker,

You're right, and I already made it wrong ;). About the naming convention for the file (see above), I was able to retrieve the information from the documentation, here below the information if it can help anyone un the futur trying to achieve the same thing

1/ Determine the list of KB of an existiing server
in a cmd.exe, type "wmic qfe get Hotfixid >c:\hotfixes_list.txt

2/ edit this file, remove any blank space and letters (KB for example) to keep only the ID of the hotfix, one per line

2/ copy the result to "...\client\static\custom" in a file formatted like "StaticUpdateIds-<platform>[-<architecture>].txt"
for example, "StaticUpdateIds-W61-X64.txt" for a Win2k8R2 x64

3/ edit the UpdateInstaller.ini and change "skipdynamic=Disabled" by "skipdynamic=Enabled"

Please correct these steps if needed

Thx for help aker!

Regards
Shamael
shamael91
 

Re: Select update up to a defined date (in the past)

Postby aker » 02.12.2014, 16:43

Sounds good.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 3125
Joined: 02.03.2011, 15:32
Location: %SystemRoot%\System32\Boot\winload.efi


Return to Verschiedenes / Miscellaneous

Who is online

Users browsing this forum: No registered users and 3 guests