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).