"Restart computer only if it is pending reboot" feature in a Power Control Task
search cancel

"Restart computer only if it is pending reboot" feature in a Power Control Task

book

Article ID: 151211

calendar_today

Updated On: 04-07-2025

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?

Environment

ITMS 8.x

Resolution

This shows how to use a Power Control task to restart a computer if it has a pending reboot:

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