Need to run multiple times to update the computers

Need to run multiple times to update the computers

Postby osmonxp » 19.05.2019, 23:26

Hello,

Quick question for the experts out there. We update our computers using WSUS Office via script and we found out that sometimes we need to run the Updateinstaller multiple times (up to 3 times) to fully update the computers; is there a way to know when a second or third round is needed? We don't want to automate that process, we just want to be notified if updates are still needed.

Thank you. :?:
osmonxp
 
Posts: 5
Joined: 19.05.2019, 23:15

Re: Need to run multiple times to update the computers

Postby Dalai » 19.05.2019, 23:56

Well, the script tells you to reboot the system if a reboot is required. If it's done (hence, no reboot required) it just says "Nothing to do". If that's not enough, you can make use of wsusoffline\client\cmd\custom\FinalizationHook.cmd checking the variables %RECALL_REQUIRED% and/or %REBOOT_REQUIRED%.

Regards
Dalai
Dalai
 
Posts: 1023
Joined: 12.07.2016, 21:00

Re: Need to run multiple times to update the computers

Postby aker » 20.05.2019, 00:11

Or check the return value of DoUpdate.cmd
0 means „Done“
3010/3011 means „Reboot/Recall required“
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker


WSUS Offline Update „Community Edition“ 12.3 / 11.9.5esr
https://gitlab.com/wsusoffline
aker
 
Posts: 3674
Joined: 02.03.2011, 15:32


Return to Installation / Updating

Who is online

Users browsing this forum: Majestic-12 [Bot] and 31 guests