Udostępnij za pośrednictwem


Cancel a restart or shutdown

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To cancel a restart or shutdown

  1. Open Command Prompt.

  2. Type:

    shutdown/a within the time-out period.

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • To perform this procedure on a local computer, you must have user rights to shut down the computer. To perform this procedure on a remotely managed computer, you must have the user rights to force a shutdown from a remote system.

    • You can set the time-out period before a restart or shutdown to nnn seconds using the /tnnn option. The valid range is from 0 through –600 seconds, with a default of 30 seconds.

    • You cannot cancel a restart or shutdown using the Shutdown Event Tracker user interface (UI). It is possible to perform this task only from the command line.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Restart or shut down locally and document the reason
Restart or shut down remotely and document the reason
Shutdown
Shutdown Event Tracker Resources