Hi,
I am a little bit confused to understand all questions. For example, I am not sure what you mean by resume. Let me answer the question with the expected behavior.:
Scenario: Maintenance window set to 120. Setting set for reboot if required. 60 updates needs to be applied.
- Schedule starts
- Updates are starting to be applied
- If none of the updates requires reboot then no reboot will be performed. Each update contains information if reboot is required. There is a column RebootBehavior in Update table records. Basically only updates that have NeverReboots value will not initiate the reboot.
- If no reboot is required than the installation of updates will continue for those 120 mins roughly.
- If reboot is require the updates will be installed until around 100 mins and 20 mins will be reserved for reboot.
- If reboot is performed and there are updates that need to be installed still you will have to create another schedule. Rest of updates will not be installed even if there is some time left of the schedule.
- If reboot is not performed and there are still updates that needs to be installed they will not be installed. You will need to create another schedule.
The information of what updates are installed goes into table UpdateRunProgress. Once update schedule finishes also another scan will be performed after some time to calculate which updates are still missing so you can see them in table Update.
What many customers do is to have one schedule that just install updates and does not reboot and another schedule that just does reboot without installing updates. That way you can control roughly the time when the machine will be rebooted. Of course the reboot only schedule runs after the update schedule and does not overlap with the maintenance time window.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.