Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: Function to detect pending reboot

$
0
0
I have a suggestion! :) So this relies on the SCCM 07 / 12 agent being installed on a machine, and will fail if it's not.

An alternative would be to check for any pending file rename operations. Check for the existence of the following regkey:

HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

If it exists, a reboot is needed.

Hope this helps. Dan

Viewing all articles
Browse latest Browse all 1769

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>