Jump to content

Perform Computer Restart and Related Scripts 1.0.1

   (0 reviews)

1 Screenshot

About This File

This bundle contains the three following scripts:

  • FUNCTION - Check For Pending Reboot
    • Checks to determine if a Reboot is needed. Sets "@RebootPending@=1" if a restart is required. "@RebootReason@" will contain the reasons a reboot was required, if any were found. If @RebootReason@ includes "!", the reboot is required.
  • Process PendingFileRenameOperations
    • This script will attempt to process pending file operations that would otherwise require a restart to complete. This may allow a reboot to be avoided.
  • Perform Computer Restart*
    • This script will execute a restart and sleep until the computer has restarted successfully. The script will wait 30 minutes before exiting with an error. Variable "@RebootPending@" used to return Reboot Status.
      @RebootPending@ = 0 if reboot successful
      @RebootPending@ = 255 if reboot failed

 


What's New in Version 1.0.1   See changelog

Released

Added script: FUNCTION - Set Pending Reboot for Agent
 - This script can be used to set or clear a flag for a pending reboot. Will cause the agent to report that a reboot is needed.
(Note: This script can only clear a pending reboot that it flagged. A Pending Reboot status due to Windows Updates, Software installation, etc. will not be changed by this script.)

  • Thanks 1

User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • Create New...