Is there a way to have a confirmation dialog whenever a shutdown or restart command is not issued by the physical person sitting behind the keyboard?
In other words, whenever a shutdown or restart is not triggered directly from the Start Menu or by hitting the computer's power button.
The reason behind this is because many application installers or updaters decides to force a restart upon completion, sometimes without providing an option to shutdown manually later.
This is much of a hassle for me, since it happens every few days, and sometimes cause me to lose whatever I was working on, with the additional annoyance of having to wait the usual 300 to 400 seconds for the computer to reboot before resuming work.
If such thing is not possible, then something that allows all shutdowns but requires confirmation for all restarts would certainly be enough.