An automatic shutdown of all workstations should take place each night. As the maintenance period for application installation takes place overnight, PCs need to be woken to complete deployments.
The following is configured in SCCM to determine if a client is waiting for a maintenance window to complete application installation(s) and a WOL packet is sent ahead of the maintenance period.
The configuration baseline 'Windows 10 - Pending Maintenance Window (Applications)' is configured to check if clients have any SCCM applications waiting for the window.
A single setting is configured as below using a powershell script to determine the status of SCCM applications:
A single compliance rule is configured as below:
To get an overview of how many machines are waiting a maintenance window, you can check the deployment status pages in the same way as an application or task sequence.
COMPLIANT - Represents clients NOT waiting to install any applications.
NON-COMPLIANT - Represents clients waiting for a maintenance window to complete an installation.
Wake on LAN
A collection is automatically updated at 13:00 daily containing the NON-COMPLIANT clients from the baseline. (Device Collections > Configuration Baselines > Windows 10 - Maintenance Window Pending)
The 'WOL Now' package is deployed to this collection on a daily basis at the start of the maintenance window. This should ONLY wake clients pending application installs.