Suspend/Hibernate

Suspends or hibernates the local computer with the possibility to wake up at a specified time. This action can be used to automate power saving routines on certain computers or servers that do not need to be on during non-use periods. This action could be placed at the end of a task to reduce or eliminate power consumption when the computer is not doing anything. Also, the action could set the computer to wake up immediately before the next task run time (if known).

Declaration

<AMSUSPEND ACTION="options" WAKEDELAY="text" WAKETIME="time" MEASURE="options" FORCE="yes/no">

Example 1 - Suspend computer. System will wake up after 1 hours.

<AMSUSPEND WAKEDELAY="1" />

Example 2 - Set computer in hibernate mode. System will wake up at 11:00:00 AM. Hibernate system immediately without requesting permission to running applications.

<AMSUSPEND ACTION="hibernate" WAKETIME="110000" FORCE="YES" />

See Also: Log Off, Shut Down, Restart

General Tab

Property

Type

Required

Default

Markup

Description

Action

Text (options)

Yes

Suspend

ACTION="hibernate"

Specifies whether the machine should go into suspend mode or hibernation mode. The available options are:

  • Suspend: Specifies that the system should go into suspend mode. Suspend mode is a special session state that causes windows to consume less power, by powering down certain devices.

  • Hibernate: Specifies that the system should go into hibernation mode. Hibernation mode is a special session state that causes windows to write the contents of all system memory to the hard disk and the power is shut off. The session will be restored the next time the system powers on.

Wake Delay

Number

No

0

WAKEDELAY="5"

If enabled, specifies the amount of time that should elapse after the system goes into suspend or hibernate, before the system should automatically resume normal operation.

Wake Measure

Text (options)

No

Minutes

MEASURE="hours""

Specifies the wake measure. The available options are:

  • Minutes: The number specified in the Wake Delay parameter is represented in minutes.

  • Hours: The number specified in the Wake Delay parameter is represented in hours.

Wake Time

Number

No

current time

WAKETIME="120002"

Denotes that the machine should wake at the time specified rather than after a certain delay.

Ignore step if specified time has passed

Yes/Not

No

No

IGNOREWHENLATE="YES"

If set to YES, the step will be ignored if the time specified in the Wake Time parameter has already passed. This parameter is set to NO by default.

Message to display in the shut down dialog box

Text

No

(Empty)

MESSAGE="Please begin to panic now"

A user-defined message that windows should display on the restart notification dialog. This parameter is active only if the Prompt user to log off parameter is set to YES. The message will be displayed for the number of seconds, minutes or hours specified in the Shutdown after parameter.

NOTE: Due to operating system limitations this parameter is not supported on Windows 95/98/ME systems.

Force the suspend/hibernate (do not send permission request to applications)

Yes/No

No

No

FORCE="YES"

If set to YES, specifies that the system should hibernate or suspend immediately without notifying and waiting for applications to return that they are ready to close.