If user is logged in, ask if it is OK to reboot; assume no after 5 min. If user is not logged in, go ahead and reboot. This script calls Reboot-Ask-No-2 to ask the user.
Reboot-Ask-No-2
*** DO NOT SCHEDULE THIS SCRIPT!! *** This script is called by the Reboot-Ask-No script and must not be scheduled by itself.
Reboot-Ask-Yes
If user is logged in, ask if it is OK to reboot; assume yes after 5 min. If user is not logged in, go ahead and reboot. This script calls Reboot-Ask-Yes-2 to ask the user.
Reboot-Ask-Yes-2
*** DO NOT SCHEDULE THIS SCRIPT!! *** This script is called by the Reboot-Ask-Yes script and must not be scheduled by itself.
Reboot-Force
Force an immediate reboot.
Reboot-Nag
If user is logged in, ask to reboot every 5 minutes until the user allows the reboot. If user is not logged in, go ahead and reboot. This script calls Reboot-Nag-2 to ask the user.
Reboot-Nag-2
*** DO NOT SCHEDULE THIS SCRIPT!! *** This script is called by the Reboot-Nag script and must not be scheduled by itself.
Reboot-No-User
Reboot the machine only is a user is not logged in.
Reboot-Warn
If the user is logged in, warn the user that a reboot will happen in 5 min. If the user is not logged in, go ahead and reboot.
Reboot - Prompt User to reboot every 15 mins until they answer Yes
This Script will prompt for a reboot every 15 Min
Shutdown Computer
Shutdown the agent machine using the windows shutdown.exe utility.