How do I cancel the shutdown command? -Use of the shutdown command
Source: Internet
Author: User
The computer room is in class. The computer is always tried by the Administrator. The shutdown prompt is displayed from time to time. How can I cancel this shutdown command? It works with shutdown-. The following describes how to use the shutdown command:
The shutdown command is not expected to be known by many people. In fact, this command is quite useful. For example, if you want to sleep when downloading a very large object, you may need to use this command.
For example, shutdown.exe-s-t 7200 indicates that shutdown is automatically performed after 2 hours. "7200" indicates 2 hours, and the minimum unit is "seconds ".
You can also use the following frequently used volumes as needed in shutdown.exe:
-S: Shut down the local computer
-F: forcibly close the application
-M: \ computer name: Remote Computer Control
-A: cancel the shutdown operation.
-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)
The shutdown-a command can be used flexibly.
Shutdown-a cancel the shutdown operation. That is to say, when you encounter a shock wave or another trojan, if shutdown is not your intention, you can enter the shutdown-a command in the initial execution and press Enter. Then, you will find that your host will no longer prompt how many seconds it will take to shut down.. (If the command "shutdown.exe" is enabled for Windows XP, restart shutdown.exe in Windows XP to your system32 and then execute the preceding command)
Related information 2:
Windows XP is controlled by the shutdown.exe program and is located in the windows \ system32 directory. For example
If you want windows to be the same, you can copy shutdown.exe to the system folder.
For example, if your computer is shut down at, you can select start> execute 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
Take the initiative to shut down in minutes, "3600" represents 60 minutes.
If you want to cancel the shutdown, you can enter "shutdown-a" in the execution ". Additional input
"Shutdown-I", you can open the dialog box for setting your own active shutdown and set your own active shutdown.
The number of shutdown.exe partitions, each of which has a specific purpose. Running each operation has different effects, for example
"-S" indicates that the local computer is disabled, and "-a" indicates that the shutdown is canceled. The following lists the number of other regions.
It can be used as needed in shutdown.exe.
-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 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 on a regular basis. The following describes a simple method to implement Timed Shutdown in Windows XP.
Method.
Specify that the system is automatically shut down after 22 minutes: click "Start> execute", and enter the command "shutdown" in "open ".
-S-t 1320 "(Note: There is no space between the number of arguments, and the unit of 1320 is seconds). Click" OK"
Button.
Specify that the system closes automatically at a certain time (for example,): 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 number of shutdown partitions is input in the command line form.
"Shutdown ". I think it is most practical to call up the "remote shutdown dialog box" in the "-I" dialog box ",
Remote Shutdown of computers in the LAN can be easily implemented. If you are interested, you can give it a try.
Start-Program-accessories-System Tools-scheduled tasks-add to task scheduler-next-browse
-C: \ windows \ system32 \ shadow.exe-next-select the shutdown time,
Next step-enter username and password, only for some users in the system, but there must be a password,
If no task exists, select "enable advanced attributes of this task upon completion ",
Add "-s" next to the execution bar to indicate that "-s" is not required.
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