“Application” has detected that there are pending system changes that require a reboot. Please reboot the system and rerun the installation

Happens to the best of us:  Something breaks.  You apply a quick fix and the issue is resolved. Oh, wait, it was not resolved there is reboot needed.  But this is on a server and rebooting it means client downtime and lost productivity. What is an IT Pro to do?

Well… modify the registry of course!  If there is a pending reboot need all you have to do is :

Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\PendingFileRenameOperations

  • Back up the registry key
  • Delete the registry key
  • Install the software without restarting the computer first
  • Restore the registry key from the backup location (if you want to – not really needed: just reboot the machine during your next patching cycle)