Package for sending a message to reboot and force reboot

Answered

Comments

3 comments

  • Patrick Pierce

    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
    Comment actions Permalink
  • Thomas Anderson

    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
    Comment actions Permalink
  • Patrick Pierce

    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
    Comment actions Permalink

Please sign in to leave a comment.