Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to Force Reboot #4

Open
sjchickey opened this issue Apr 25, 2019 · 11 comments
Open

Option to Force Reboot #4

sjchickey opened this issue Apr 25, 2019 · 11 comments
Labels
enhancement New feature or request

Comments

@sjchickey
Copy link

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.

@Fredrik81
Copy link
Owner

I will look into this in later version

@Fredrik81 Fredrik81 added the enhancement New feature or request label May 1, 2019
@Fredrik81
Copy link
Owner

@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?

@Ramorous
Copy link

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

@Fredrik81
Copy link
Owner

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
Copy link
Owner

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.

@iEKOS
Copy link

iEKOS commented Jan 7, 2020

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.

@Fredrik81
Copy link
Owner

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?

@rarao90
Copy link

rarao90 commented Apr 2, 2020

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

@Fredrik81
Copy link
Owner

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.

@Maarten486
Copy link

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.

@Jacouille91
Copy link

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants