Skip to main content

Reboot Pending Prompt - Windows Workstation

Summary​

This compound condition orchestrates the Reboot Pending Prompt solution. It utilizes the Detection script to check if a machine requires a reboot (based on Registry keys, Uptime, or Manual Override) and if the current time is suitable for a prompt. If the detection script returns an exit code indicating action is needed (Exit Code 1), this condition triggers the Autofix script to display the GUI prompt to the user.

When the optional reboot scheduler is enabled, this condition serves a second purpose. A machine with a reboot the user has already scheduled is deliberately not detected while it waits, and the condition then triggers the Autofix again once that scheduled time comes within the configured reminder window, so the Autofix can display the pre-reboot reminder and start the restart countdown.

Details​

  • Name: Reboot Pending Prompt - Windows Workstation  
  • Description: Triggers the Reboot Pending Prompt Autofix when the Detection script identifies a pending reboot and valid prompting conditions.  
  • Recommended Agent Policies: Windows Workstation Policy [Default]

Dependencies​

Compound Condition Creation​

Changelog​

2026-09-09​

  • Added the Reboot Reminder Lead Minutes script variable to the Detection automation
  • Added the Reboot Schedule Max Hours, Reboot Reminder Lead Minutes, Reminder Prompt Title, and Reminder Prompt Message script variables to the Autofix automation
  • The condition now also triggers the Autofix when a user-scheduled reboot is due for its reminder

2026-07-20​

  • Renamed both scripts

2025-12-19​

  • Initial version of the document