Alert User of Reboot (only IF a User is Logged On)…

BatchPatch Forums Home Forums BatchPatch Support Forum Alert User of Reboot (only IF a User is Logged On)…

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8649
    ajgreen
    Participant

    Hi All – I’m looking for ideas on a way to notify a user of a pending automatic reboot. Basically, I’m pushing patches and people don’t actually reboot when it prompts them. So, I’m looking for a way to display either a countdown(5 min or so), or a simple message to allow the user to ‘Reboot Now.’

    I’ve seen batch files purporting to display a message to the user, but I’m wondering if anyone knows of great way to do this through Batchpatch. Perhaps this could be a feature request?

    #9723
    doug
    Moderator

    I would suggest in BatchPatch going to ‘Actions > Send message to logged-on users.’ With this feature you can simply tell users something like “Please reboot your computer now or it will be rebooted in 5 minutes” or just “Your computer will be rebooted in 5 minutes. Please save all work.” And then go ahead either start pinging the computer or wait 5 minutes and use the ‘Get last boot time’ option in BP to see if the user performed the reboot. If not, then go ahead and reboot it. If they are already ignoring the reboot prompt from Windows Update, then sending them a message with a ‘Reboot Now’ option doesn’t seem like it would be any different.

    -Doug

    #11076
    urosh
    Participant

    Yes. But I would like to do it like in the shutdown.exe /i

    Set time, write the message, that the computer will be automatically rebooted in x Min. If they do it in the mean time, then it is not rebooted. Should actually be done quite simple…

    #11077
    doug
    Moderator

    We will consider direct implementation of your request in a future build of BatchPatch. In the meantime to accomplish this you can do the following:

    In BatchPatch create a “remote process/command” by selecting ‘Actions > Remote process/command.’ Your command syntax should look like this:

    shutdown /r /f /c "Your computer will be restarted in 5 minutes." /t 300

    I hope this helps.

    -Doug

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.