Reboot-Dialog icon indicating copy to clipboard operation
Reboot-Dialog copied to clipboard

Option to Force Reboot

Open sjchickey opened this issue 5 years ago • 11 comments

It would be nice to be able to ultimately force a reboot to occur with the dialog showing a countdown to when the forced reboot would happen. The duration for a forced reboot should be customisable and would be something like 24, 48 or 72 hours after the time it detected a reboot was needed. This should be optional and people can choose if they want to use the force reboot or not.

sjchickey avatar Apr 25 '19 11:04 sjchickey

I will look into this in later version

Fredrik81 avatar Apr 28 '19 23:04 Fredrik81

@sjchickey The latest version you can have timers on all snooze option and therefor it will force the GUI to show on screen all the time unless rebooted. Is that enough for your need or do you want something else?

Fredrik81 avatar Jul 25 '19 08:07 Fredrik81

Personally, I think having a forceful reboot is key, maybe an option to a timer is to force it once that timer is reached. We would have remind in 30, 60 and 120 minutes. Overall if they've delayed up to 120 minutes, it reboots at that point. It would actually be around 6 hours to be honest, but that's just how I tried accomplishing this with PowerShell

Ramorous avatar Jul 25 '19 18:07 Ramorous

Ok i will add a timer like the "RebootReminderAfterDays" but for forced reboot. The most tricky part would be to get the reminders to a good level and in line with customization that other UI parts are.

Fredrik81 avatar Jul 26 '19 15:07 Fredrik81

In the new version there is a trigger option. I know it's not fully what you are looking for but it's something that can be useful for some of the cases. Force reboot is on it's way just need to get the dialog right so should be here this year at least.

Fredrik81 avatar Dec 05 '19 19:12 Fredrik81

First, superb application and a thank you.

Yes, the force reboot is a must and I certainly need it.

Users are stupid and they still ignore the popup. Something as simple as, defer 3 times then the defer option disappears with just a reboot button. Forcing a reboot can be dangerous too without the end user being aware so either-way, an informed force reboot is a must. Can we have something soon? I don't mind donating either.

Once again, great app and thank you.

iEKOS avatar Jan 07 '20 13:01 iEKOS

Hello @iEKOS, Sorry for the late response.. a lot at work these days. What you ask for is already added in the application but based on your comment i will add more details to the examples.

You can change your configuration to something like this remove the snooze option after 5 days:

  <setting name="SnoozeOptions" serializeAs="Xml">
    <value>
      <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <string>15min;15;5</string>
        <string>30min;30;3</string>
        <string>1hour;60;2</string>
        <string>2hours;120;1</string>
      </ArrayOfString>
    </value>
  </setting>

The snooze settings work like this: Never diapering option: [Text];[Minutes] Disappearing after X amount of days: [Text];[Minutes];[Days Available]

If you add days available to all options then only reboot button will remain and it will remain on screen.

Will this fit your needs?

Fredrik81 avatar Jan 23 '20 22:01 Fredrik81

it is really a super tool . awesome work done!

can we have the option to make the disappearing of snooze button in hours instead of days

Also i want to know the logic where you have implemented for reboot . i did not find in the config file.

An informed force reboot is a must be in tool which gives a good look

rarao90 avatar Apr 02 '20 06:04 rarao90

it is really a super tool . awesome work done!

can we have the option to make the disappearing of snooze button in hours instead of days

Also i want to know the logic where you have implemented for reboot . i did not find in the config file.

An informed force reboot is a must be in tool which gives a good look

Hello @rarao90 Thanks! I have started to work on force reboot option but have taken a break for now on the development. Will pick it up at a later date.

The logic behind the reboot is using known triggers in the in OS.

  • Windows update trigger checks registry
  • Component Based Servicing (CheckCBS) also check registry
  • SCCM trigger checks using WMI
  • Boot time trigger checks system ticker

I can add hours config for the snooze options in next release. Please make a separate issue for this enhancement.

Fredrik81 avatar Apr 02 '20 07:04 Fredrik81

I think there is a bug in the Reboot Dialog application. When Windows 10 install the Windows Updates and one of the updates needs a reboot, the application Reboot Dialog starts. While Windows Update is still installing the updates. If the user is going to reboot the machine and Windows Update starts again, install the updates, the application Reboot Dialog start again and grab into a loop when de user reboot the machine. My question is: Is it possible that the application Reboot Dialog wait for Windows Update to finish.

Maarten486 avatar Jan 12 '21 16:01 Maarten486

I think there is a bug in the Reboot Dialog application. When Windows 10 install the Windows Updates and one of the updates needs a reboot, the application Reboot Dialog starts. While Windows Update is still installing the updates. If the user is going to reboot the machine and Windows Update starts again, install the updates, the application Reboot Dialog start again and grab into a loop when de user reboot the machine. My question is: Is it possible that the application Reboot Dialog wait for Windows Update to finish.

Same problem for me !

Jacouille91 avatar Feb 09 '21 13:02 Jacouille91