I am working on a project where several software and drivers are installed on a windows 7 PC. This shall work without user inputs.
Now there is the question: How can
Use the following registry key:
HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
Source: How to find out if an MSI I just installed requested a windows reboot?
As discovered by the asker of this question HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending shows when a reboot is pending on the machine as long as the OS is Vista or newer.