I'm currently rolling out Sophos endpoint AV.  The automated install is sitting at a point where "reboot is required." Is there a default place in the registry or some other trick to check if a reboot is pending so I can prompt the user via a script? 

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


Google for 'PendingFileRenameOperations' as that's the commonest reason why reboots are required, especially with a/v where files will be open as the product is running.

Having said that, most places would send a string of emails warning of an up-coming update that requires workstations to be restarted. Each one would contain a disclaimer that, if you're dumb enough to leave your work unsaved when this deadline expires, don't come crying to IT when it gets zapped. The update would then simply deploy and trigger a restart.

Answered 07/06/2015 by: VBScab
Red Belt

Please log in to comment
check the registry keys


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

Answered 07/06/2015 by: SMal.tmcc
Red Belt

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja