When reviewing ServiceWindowManager.log or RebootCoordinator.log you can see maintenance windows type information. For example,
RebootCoordinator.log:
Entered ScheduleRebootImpl – requested from ‘UpdatesDeploymentAgent’. set Rebootby = 1589774990. set NotifyUI = True. set PreferredRebootWindowType = 4 13228 (0x33AC) 5/18/2020 12:09:50
Scheduled reboot from agent UpdatesDeploymentAgent. Deadline local time: 05/18/2020 12:09:50 PM, PreferredRebootWindowType = 4 13228 (0x33AC) 5/18/2020 12:09:50
No CCM Identification blob 13228 (0x33AC)
Not in Maintenance/Service Mode, check ServiceWindowsManager next 13228 (0x33AC) 5/18/2020 12:13:50
CheckRebootWindow: Service Windows found for type:4 13228 (0x33AC) 5/18/2020 12:13:50
ServiceWindowsManager has allowed us to Reboot 13228 (0x33AC) 5/18/2020 12:13:50
MTC task does not exist. Creating new request. 13228 (0x33AC) 5/18/2020 12:13:50
MTC allowed us to reboot 13228 (0x33AC) 5/18/2020 12:13:50
Raising client SDK event for class NULL, instance NULL, actionType 4l, value 1589774990 300 60, user NULL, session 4294967295l, level 0l, verbosity 30l 13228 (0x33AC)
Notified UI grace period start with 300 grace seconds and 60 final seconds. 13228 (0x33AC) 5/18/2020 12:13:50
MTC task for reboot ‘fa76c245-5f82-41a3-a872-f73a90f6f0c4’. Checking if it can run now… 13228 (0x33AC) 5/18/2020 12:13:50
MTC allowed us to reboot 13228 (0x33AC) 5/18/2020 12:13:50
System reboot request succeeded. 13228 (0x33AC) 5/18/2020 12:13:51
Reboot initiated 13228 (0x33AC) 5/18/2020 12:13:51
User logoff notification received 12636 (0x315C) 5/18/2020 12:15:10Reboot Coordinator received a SERVICEWINDOWEVENT END Event 1564 (0x061C) 5/18/2020 12:15:16
Here is a list of maintenance window types –
VALUE | SERVICE WINDOW TYPE | DESCRIPTION |
---|---|---|
1 | ALLPROGRAM_SERVICEWINDOW | All Programs Service Window |
2 | PROGRAM_SERVICEWINDOW | Program Service Window |
3 | REBOOTREQUIRED_SERVICEWINDOW | Reboot Required Service Window |
4 | SOFTWAREUPDATE_SERVICEWINDOW | Software Update Service Window |
5 | OSD_SERVICEWINDOW | OSD Service Window |
6 | USER_DEFINED_SERVICE_WINDOW | Corresponds to non-working hours. |
References
https://docs.microsoft.com/en-us/previous-versions/system-center/developer/jj155419(v=cmsdk.12)?redirectedfrom=MSDNhttps://docs.microsoft.com/en-us/previous-versions/system-center/developer/jj155419(v=cmsdk.12)?redirectedfrom=MSDN