Scheduled Reboot of Laptops

Hello -

I tried searching ITNinja but couldn't find the answer I was looking for.  My company would like to have a script scheduled in KACE SMA to do the following:

1.  Send a reboot command that will reboot the laptops at a given time (i.e., 3 hours). 

2.  The script should pop up a message so that the users can see it and they can save their work

3.   A timer that will countdown how many more hours/minutes left before the laptops do the force reboot.  Also, another reminder pop up message 1 hr before the reboot so it will remind them.

4.  If possible, in the script, if there's a way they can bypass for another 4 hours if they don't want it rebooted at the 3 hr mark.

The only script I have is using the shutdown command but it pops up with a reminder 2 minutes before it reboots their laptops.  We would like it to remind in 1 hr.


This is what we have right now.  I was hoping someone could help me with a script, as I am not very advanced when writing scripts (ps1 or .bat file that are too complicated).

Thank you,




0 Comments   [ + ] Show comments

Answers (4)

Posted by: dinah.david 9 months ago
Senior White Belt


I just wanted to add that it doesn't have to have a timer but what we need is for the users to get a reminder one hour before the reboot to remind them again.  Also, for them to be able to bypass it for another 4 hours before the reboot becomes mandatory.

Thank you,


Posted by: Nico_K 9 months ago
Red Belt

With the Notify-Message you do really what you want:
Timeout means: how long does it show the popup until it goes into Timeout-Action.
Snooze Duration means: How long does it not annoy the user.

So you can set this with your times.
It follows the following procedure:
1. Popup
2. If OK->Script is running
    If Snooze -> follow the procedure
3. Popup is closed for Snooze Duration time
4. go to 1

Posted by: dinah.david 9 months ago
Senior White Belt

Thank you for clarifying the order of the procedure.  I was testing it last Friday and was getting confused with the "OK" and "Snooze".
I will give it a try.

Thank you!


Posted by: dinah.david 9 months ago
Senior White Belt

This is complete and I got my answer.  I can't figure out how to mark it complete in here.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ