Shutdown.exe Program In the windows "system32 folder. For example
If you want windows to be the same, copy shutdown.exe to the system directory.
For example, to shut down your computer at, you can select start> Run and enter "at shutdown-s ",
In this way, the "system shutdown" dialog box will appear on the computer at, with a 30-second countdown by default, prompting you to save the work
. If you want to shut down the server in reverse time, you can enter “shutdown.exe-s-t 3600 ", which indicates 60
Automatically shut down in minutes, "3600" indicates 60 minutes.
If you want to cancel Automatic shutdown, enter "shutdown-a" during running ". Additional input
"Shutdown-I", you can open the Set automatic shutdown dialog box and set the automatic shutdown.
Each shutdown.exe parameter has a specific purpose, and each execution will produce different effects, such
"-S" indicates that the local computer is disabled, and "-a" indicates that the shutdown is canceled. More parameters are listed below.
You can use it as needed in shutdown.exe.
-F: forcibly close the application
-M "" computer name: Remote Computer Control
-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 shutdown countdown
-C "message content": Enter the message content in the shutdown dialog box (cannot exceed 127 characters)
Sometimes, we need to shut down the computer regularly. Next we will introduce a simple method to implement Timed Shutdown in Windows XP.
Method.
The system is automatically shut down after 22 minutes: Click Start> run, and enter the command shutdown in open.
-S-t 1320 "(Note: There is no quotation mark, there is a space between parameters, and the unit of 1320 is seconds), click" OK"
Button.
Specify that the system is automatically disabled at a certain time (such as): Enter the command in "open"
"At shutdown-s.
Cancel Timed Shutdown: Enter the command "shutdown-a" in "open.
All possible implementations are implemented using the "shutdown" command. The shutdown parameter is input in the command line window.
"Shutdown ". I think the most useful parameter is "-I". You can call up the "remote shutdown dialog box ",
Remote Shutdown of computers in the LAN is convenient. If you are interested, try it.
Start-Program-accessories-System Tools-scheduler task-add scheduler-next-browse
-C: "Windows" System32 "shadow.exe-next-select the shutdown time,
Next step-enter the user name and password, as long as it is a user in the system, but the password must exist,
If no task exists, select "enable advanced attributes of this task upon completion ",
Add "-s" quotation marks to the running column.