How does the "restart computer only if it is pending reboot" feature work in a Power Control Task?
search cancel

How does the "restart computer only if it is pending reboot" feature work in a Power Control Task?

book

Article ID: 151211

calendar_today

Updated On:

Products

IT Management Suite Software Management Solution

Issue/Introduction

How does the "restart computer only if it is pending reboot" feature work in a Power Control Task?

Resolution

You would like to use a Power Control task to restart a computer, but you only want to restart the computer if it has a pending reboot.

This task will check the following registry key:  HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations.  If this has a value, the power control task will reboot the computer if the flag performs reboot only if pending is marked.