How to determine if a PC is reboot pending
Hi,
I'm wondering if there is a global registry key or other flag available that can be used to determine if a PC is reboot pending? I've found this key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations", but it would only be set if the reboot was required for file renames. I'm concerned that if a reboot is required for some other reason and this would not be reflected in this key.
Thanks for any advice
Brett
I'm wondering if there is a global registry key or other flag available that can be used to determine if a PC is reboot pending? I've found this key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations", but it would only be set if the reboot was required for file renames. I'm concerned that if a reboot is required for some other reason and this would not be reflected in this key.
Thanks for any advice
Brett
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
dunnpy
14 years ago
Try this tool - WhyReboot - it's free.
It will show you what is going on and why the system belives it requires a reboot.
Not exactly the answer for your issue, but should point you in the right direction.
Hope this helps,
Dunnpy
It will show you what is going on and why the system belives it requires a reboot.
Not exactly the answer for your issue, but should point you in the right direction.
Hope this helps,
Dunnpy
Posted by:
AngelD
16 years ago
Posted by:
brettski
16 years ago
Posted by:
jendres
15 years ago
Just bringing up this again.
Does anyone know how to detect if a Group Policy deployment has a reboot pending?
For example, a workstation has 2 applications assigned to it. The first application has a reboot trigger, but AD holds the reboots until the end of the deployment and so starts installing the second application.
How can I condition the second application so that it won't start while a reboot is pending?
Does anyone know how the GP installation tracks if a reboot is requested?
(Besides the file copy pending registry key, since a reboot request can be forcibly triggered by Windows Installer.)
Cheers,
Jeff
Does anyone know how to detect if a Group Policy deployment has a reboot pending?
For example, a workstation has 2 applications assigned to it. The first application has a reboot trigger, but AD holds the reboots until the end of the deployment and so starts installing the second application.
How can I condition the second application so that it won't start while a reboot is pending?
Does anyone know how the GP installation tracks if a reboot is requested?
(Besides the file copy pending registry key, since a reboot request can be forcibly triggered by Windows Installer.)
Cheers,
Jeff
Posted by:
brettski
15 years ago
Posted by:
anonymous_9363
15 years ago
Posted by:
murali.bhat
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.