Reboot Prompter
Purpose
This solution is designed to send a reboot prompt popup to the user's screen on workstations and enforce a forceful reboot after several attempts, as specified in the custom field, to maintain OS patching stability. It includes both automatic and manual reboot features, as well as a functionality to generate tickets for servers where a reboot is pending.
Associated Content
Content | Type | Function |
---|---|---|
Task - Reboot Prompter | Task | The script prompts the user to reboot with a simple yes or no prompt. It also forces a reboot after the PromptRebootCount is exceeded. |
Task - Reboot Pending Check Automation | Task | This task is designed to automatically detect reboot pending status on endpoints and check the custom field Auto_RebootPendingCheck , so that the agent is added to the dynamic group CW RMM - Dynamic Group - Reboot Prompter Deployment - Auto. |
Custom Fields - Reboot Prompter | Custom Fields | This document contains details of all custom fields that have task and deployment dependencies. |
Dynamic Group - Reboot Prompter Deployment - Manual | Dynamic Group | This dynamic group depends on the endpoint custom field Prompter_RebootPending being checked, and the agent should be available to check into the group. |
Dynamic Group - Reboot Prompter Deployment - Auto | Dynamic Group | This dynamic group depends on the endpoint custom field Auto_RebootPendingCheck being checked, and the agent should be available to check into the group. |
Dynamic Group - Automatic Reboot Pending Check | Dynamic Group | This group is designed to schedule the Task - Reboot Pending Check Automation, to set the auto reboot pending automation by checking the custom field Auto_RebootPendingCheck . |
Dynamic Group - Reboot Pending Servers | Dynamic Group | This group contains server endpoints where a reboot is pending. It detects only supported Windows servers (i.e., 2016, 2019, and 2022) and works only when the Reboot Prompter Solution is activated. |
Monitor - Reboot Pending - Servers | Monitor | This monitor creates a ticket on servers where a reboot is pending. It detects only supported Windows servers (i.e., 2016, 2019, and 2022) and works only when the Reboot Prompter Solution is activated. |
Implementation
- Create the Custom Fields - Reboot Prompter
- Create the Task - Reboot Prompter
- Create the Task - Reboot Pending Check Automation
- Create the Dynamic Group - Reboot Prompter Deployment - Manual
- Create the Dynamic Group - Reboot Prompter Deployment - Auto
- Create the Dynamic Group - Automatic Reboot Pending Check
- Create the Dynamic Group - Reboot Pending Servers
- Create the Monitor - Reboot Pending - Servers
- Schedule the Task - Reboot Pending Check Automation at the Dynamic Group - Automatic Reboot Pending Check every 2 hours.
- Follow the deployment instructions in the Task - Reboot Pending Check Automation.
- Schedule the Task - Reboot Prompter at the Dynamic Group - Reboot Prompter Deployment - Manual and the Dynamic Group - Reboot Prompter Deployment - Auto according to client requirements to send prompts at the specified intervals.
- Follow the deployment instructions in the task CW RMM - Task - Reboot Prompter.
- Schedule the monitor Monitor - Reboot Pending - Servers to target the group Dynamic Group - Reboot Pending Servers to create a ticket for the reboot pending on the servers.
FAQ
The script popup screenshot:
-
Send Yes/No prompt option for attempts equal to the Custom Field
RebootPromptCount
.Note:
The time (in seconds) depends on the count it prompted the user, and "4" before being forced to reboot depends on the threshold set at the site-level custom fieldRebootPromptCount
.
- Afterward, it sends a force reboot prompt as shown below:
Note:
The 5 minutes depends on the value provided in the custom fieldRebootForceTimeDelayMinutes
.