Skip to main content

Reboot Pending Prompt - Macintosh

Summary​

This compound condition orchestrates the Reboot Pending Prompt solution for macOS. It utilizes the Detection script to check if a Mac requires a reboot (based on Uptime or Manual Override) and if the current time is suitable for a prompt, respecting the client-level cPVAL Reboot Prompt For MAC opt-in gate. If the detection script returns an exit code indicating action is needed (Exit Code 1), this condition triggers the Autofix script to display the OmniPrompt GUI directly to the logged-in user.

When the optional reboot scheduler is enabled, this condition serves a second purpose. A Mac 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 - Macintosh
  • Description: Triggers the Reboot Pending Prompt Autofix on macOS when the Detection script identifies a pending reboot and valid prompting conditions.
  • Recommended Agent Policies: Mac Desktops and Laptops 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​

  • Initial version of the document