/build/static/layout/Breadcrumb_cap_w.png

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,


Dinah


R5MdwRERERETjxmBEUxHDERERERGNC4MRTVUMR0REREQ0ZkODEZ85oqmE4YiIiIiIxmS4YMQ7SDSVMBwRERER0agYjOhewHBERERERCNiMKJ7BcMREREREY1oaBBiMKKp6j6foHTfMfX19UoXEREREU0VaWlpShfR5HRXwhEREREREdFEw2p1REREREREAsMRERERERGRwHBEREREREQkMBwREREREREJDEdEREREREQCwxEREREREZHAcERERERERCQwHBEREREREQkMR0RERERERALDERERERERkcBwREREREREJDAcERERERERCQxHREREREREAsMRERERERGRwHBEREREREQkMBwREREREREJDEdEREREREQCwxEREREREZHAcERERERERCQwHBEREREREQkMR0RERERERALDERERERERkcBwREREREREJDAcERERERERCQxHREREREREAsMRERERERGRwHBEREREREQE4P8H9WoSoH7hsqkAAAAASUVORK5CYII=

oWAAAAAAAAAAAAJ7RsQAAAAAAAAAAADyjYwEAAAAAAAAAAHhGxwIAAAAAAAAAAPCMjgUAAAAAAAAAAOAZHQsAAAAAAAAAAMAzOhYAAAAAAAAAAIBndCwAAAAAAAAAAACPpP8Pyv22PlvobUoAAAAASUVORK5CYII=


0 Comments   [ + ] Show comments

Answers (4)

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

Hello,

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,


Dinah

Posted by: Nico_K 9 months ago
Red Belt
0

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
0

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!

Dinah

Posted by: dinah.david 8 months ago
Senior White Belt
0

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

 
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