3

Some updates put that little shield indicating that the computer needs to be rebooted. Is that shield a registry key? I thought it was the key:

HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

Source: http://technet.microsoft.com/en-us/sysinternals/bb897556.aspx

But my computer is showing the icon right now, and there is no PendingFileRenameOperations in the registry, so obviously it's something else, or a combination of things !?

Nestor
  • 13,706
  • 11
  • 78
  • 119
  • See initial question here: http://stackoverflow.com/questions/1685821/how-to-find-out-if-a-windows-restart-is-needed – Nestor Nov 06 '09 at 20:29

1 Answers1

3

You can use the Windows Update Agent API to find if a reboot is currently required to complete an update.

ISystemInformation::RebootRequired

Pickle
  • 181
  • 3