tags:

views:

219

answers:

2

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 !?

+1  A: 

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

ISystemInformation::RebootRequired

Pickle
I'd say this is not exactly what the question asks. The question asks (more or less) how to see if there are pending updates to install.
Vinko Vrsalovic
This script should give a clue: http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx
Vinko Vrsalovic