Page 1 of 1

Need to run multiple times to update the computers

PostPosted: 19.05.2019, 23:26
by osmonxp
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. :?:

Re: Need to run multiple times to update the computers

PostPosted: 19.05.2019, 23:56
by Dalai
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

Re: Need to run multiple times to update the computers

PostPosted: 20.05.2019, 00:11
by aker
Or check the return value of DoUpdate.cmd
0 means „Done“
3010/3011 means „Reboot/Recall required“