E.24 Action - Reboot/Shutdown

The Action - Reboot/Shutdown dialog box lets you specify the reboot or shutdown action for the device.

Figure E-26 Action - Reboot/Shutdown Dialog Box

You access this dialog box by using the following methods:

NOTE:The Reboot action should not normally be used in conjunction with a Recurring launch schedule set to When a device is refreshed. Although there are some valid use scenarios for this configuration, scheduling a device to reboot upon refresh can cause a continuous loop.

Reboot: Reboot the device when this action is performed.

Shutdown: Shut down the device when this action is performed.

Time to Wait Before Reboot/Shutdown: Specify the number of seconds (between -1 and 1800) before the device reboots or shuts down. When the number of seconds specified passes, the device reboots or shuts down, regardless of whether the user clicks OK or not. Clicking OK does not cause the device to immediately reboot or shut down.

A value of -1 causes the device to wait an indefinite period of time, essentially preventing the device from rebooting or shutting down. You should use a value of -1 in conjunction with the Display a warning message before doing Reboot/Shutdown and, optionally, the Allow user to cancel options. If you specify -1 and select the Display a warning message before doing Reboot/Shutdown option, a message displays indefinitely until the user clicks OK to perform the reboot or shutdown process. If you select both this option and the Allow user to cancel option, a message displays indefinitely until the user clicks OK or Cancel.

A value of -1 causes the device to wait an indefinite period of time, essentially preventing the device from rebooting or shutting down. You should use a value of -1 in conjunction with the Display a warning message before doing Reboot/Shutdown and, optionally, the Allow user to cancel options. If you specify -1 and select the Display a warning message before doing Reboot/Shutdown option, a message displays indefinitely until the user clicks OK to perform the reboot or shutdown process. If you select this option and the Allow user to cancel option, a message displays indefinitely until the user clicks OK or Cancel.

Display a Warning Message Before Doing Reboot/Shutdown: Specify that a message displays on the device, warning the user that the device is going to reboot or shut down.

For example, you could provide the following prompt:

The machine will reboot in _ seconds. Please save your work and close any open applications.

Before performing the action, the message displays on the device only if the user is logged in.

Allow User to Cancel: Specify whether the user can cancel the reboot or shutdown procedure.

Define Prompts: Define the prompt that you want to display on the device. Additionally, you can specify different locales with different messages. If you do not specify another locale, a default English message displays.

To create a message:

  1. Click Add to display the Select Locale and Prompt dialog box.

  2. Select a language from the Locale drop-down list. The message displays only on devices in the specified locale. You can create different messages, each with its own locale setting.

  3. Type the text you want to display on the device.

    You can include {0} in your text to provide a running counter that counts down the number of seconds to 0, after which the prompt is auto-accepted. For example, you could specify the following text:

    The machine will reboot in {0} seconds. Please save your work and close any open applications.

    The message displays for the number of seconds specified in the Seconds to be Displayed field.

  4. Click OK.