Is there a way prevent system timeout reboot/shutdown process if some application is not responding/preventing from closing itself?
When user initiated system restart, the system starts closing applications while showing "restarting" screen, where it shows a list of running applications. If an application shows some kind of prompt (or simply exits too slowly: I'm looking at your GDrive) the restart/shutdown down process waits a minute or so and cancels itself returning back to Windows session.
This is an unwanted behaviour, not only it doesn't necessarily shows/focus on the application that prevented restart, but also if user stepped away from computer, there is a good chance they won't be able tell if system was restarted or not.
I believe Windows 7 had a hidden setting that would allow forcibly kill such applications after certain time, or at least it would stay in restart screen indefinitely until user cancels it or approves forced restart without waiting.
To reproduce the situation, open Notepad, type anything and without saving try reboot the computer. After about 1 minute reboot will be canceled.