Check the system for any install running or user logged on before initiating the auto restart action
Before just randomly initiating a reboot if pending restart action, I would like to be able to check the machine to see if there is an install running (.exe, .msi, etc), and wait for the install to complete before initiating a reboot. Additionally...