Windows shutdown enables Timed shutdown and restart

Source: Internet
Author: User

This article introduces how to shut down and restart the shutdown.exe program during windows shutdownrealtime. This program is located in the Windows \ System32 folder. If you want Windows to be the same, copy shutdown.exe to the system directory.

Shutdown.exe-a cancel Shutdown
Shutdown.exe-s Shutdown
Shutdown.exe-f force close the application
Shutdown.exe-m \ computer name Control Remote Computer
Shutdown.exe-I: displays the graphical user interface, but must be the first parameter of Shutdown.
Shutdown.exe-l log out of the current user
Shutdown.exe-r shutdown and restart
Shutdown.exe-t time setting shutdown countdown setting the timeout before shutdown is set to xxx seconds. For windows 2003, the valid range is 0-600. The default value is 30.
Shutdown.exe-c "message content": Enter the message content in the shutdown dialog box (cannot exceed 127 characters)

Practical Application

Instance: at shutdown-s-t 20 is to shut down the host at and countdown to 20 seconds.
You must enable the "Task Scheduler" service before using it.

 


Depends on your needs.
-F: forcibly close the application.
-M \ computer name: controls the remote computer.
-I: displays the graphic user interface, but must be the first option of Shutdown.
-L: log out of the current user.
-R: Shut down and restart.
-T time: Set the shutdown countdown.
-C "message content": Enter the message content in the shutdown dialog box (cannot exceed 127 characters ).

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.