Windows shutdown to implement timed shutdown and reboot

Source: Internet
Author: User

Shutdown.exe-a Cancel shutdown
Shutdown.exe-s shutdown
Shutdown.exe-f Force shutdown Application
SHUTDOWN.EXE-M \ computer Name control remote computer
Shutdown.exe-i Displays the graphical user interface, but must be the first parameter of the shutdown
Shutdown.exe-l Log off the current user
Shutdown.exe-r Shutdown and reboot
Shutdown.exe-t Time Set shutdown countdown timeout is xxx seconds before setting shutdown. For Windows 2003 systems, the valid range is 0-600, and the default is 30
Shutdown.exe-c message Contents Enter the content of messages in the Shutdown dialog box (not exceeding 127 characters)

Practical application

Example: at 12:45 shutdown-s-T 20 is to have the machine shut down at 12:45 and count down 20 seconds.
Note that you must first open the Task Scheduler service when using it.


Shutdown.exe parameters, each has a specific purpose, the execution of each will have a different effect, such as "-S" means to shut down the local computer, "-a" to cancel the shutdown operation, the following list of more parameters, you can use in the Shutdown.exe.
-F: Forcibly close the application.
-m \ Computer Name: Controls the remote computer.
-I: Displays the graphical user interface, but must be the first option for shutdown.
-L: Log off the current user.
-r: Shutdown and reboot.
-T time: Sets the shutdown countdown.
-C "Message content": Enter the message content in the Shutdown dialog box (not exceeding 127 characters).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.