Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Answered

Package for sending a message to reboot and force reboot

We all know how difficult it is to deal with laptop users and reboots. I've been tasked to create a package that will notify my laptop users that they need to reboot.

Requirement is that they receive the notice 3 times and and on the fourth prompt it forces a reboot. We have a hardcore requirement that systems can't have an uptime of more than 10 days.

Is there a way to say: If "notification package" ran on system a 3 times call on "reboot package"?

~Tommy

0

Comments

3 comments
Date Votes
  • I came up with a solution that does something similar. This will only work if the computers have the status for needing a reboot.

    You will need Inventory and Deploy. Four schedules. Schedule 1, 2 and 3 will be the same setup.


    Inventory


    Create a collection in Inventory for computers that have reboot status.


    Deploy


    Schedule 1, 2, 3. Trigger for day 1, 2 and 3. Set Target for the "Need reboot" collection. Deploy warning message.


    Schedule 4, Trigger for day 4. Set Target for the "Need reboot" collection. Deploy "Force reboot".


    This will check for computers needing a reboot. Send them a message for the first three days that they do not reboot and then force a reboot on day four. If they manually reboot before day four, it will remove them from the "need reboot" status and collection and should not deploy preventing users from restarting their computer every day.


    Edit: Suppose you could deploy a registry change to change the status on computers to "need reboot" and that will add all computers to the reboot collection and clear out after the first restart.

    0
  • Patrick,

    That's how I imagined it would look. But couldn't figure out the workflow order. Thanks will give it a try.

    ~Tommy

    0
  • Looking back at the schedules, you should be able to combine the first three schedules into one. Add a daily trigger for the next two days instead of copying the same schedule.

    Happy to assist!

    0