Windows XP operating system automatic shutdown implementation

  
WinXP itself has a timed shutdown function, WinXP shutdown is controlled by the Shutdown.exe program, the program is located in the Windows\\System32 folder, using Shutdown.exe can complete the following tasks: 1 You need to automatically shut down at 12:00, you can do this: Click "Start" /Run, enter "at 12:00 Shutdown -s", so at 12 o'clock, the computer will appear "system shutdown" dialog box, the default has 30 Countdown to the second and prompt you to save your work. (You can enter "at 12:00 Shutdown -s -t 5" in the run to achieve a 5 minute countdown prompt); 2. "System Shutdown" dialog box, the default has a 30 second countdown and prompts you to save the work. If you want to shut down in a countdown mode, you can type "Shutdown.exe -s -t 3600", which means that it will automatically shut down after 60 minutes, and "3600" means 60 minutes. 3. After setting the automatic shutdown, if you want to cancel, you can enter "shutdown -a" in the run. The parameters of Shutdown.exe each have a specific purpose. Each execution will have different effects. For example, "-s" means to shut down the local computer, "-a" means to cancel the shutdown operation, and more parameters are listed below. You can use it as needed in Shutdown.exe. Task name operation method Open the setting automatic shutdown dialog box Enter "shutdown -i", you can set the automatic shutdown. The following are the parameters of Shutdown.exe, each with a specific purpose: (The following is the Windows system prompt for shutdown Help file) : shutdown [-i |  -l |  -s |  -r |  -a] [-f] [-m \\\\computername] [-t xx] [-c mment"] [-d up:xx:yy] This message is displayed without parameters (same as ?) -i displays the GUI interface, Must be the first option -l logout (cannot be used with option -m) -s turn off this computer -r shut down and restart this computer -a abandon system shutdown -m \\\\computername remote computer shutdown /restart /give up -t Xx Set the timeout for closing to xx seconds -c "comment" Close the comment (maximum 127 characters) -f Force the running application to close without warning -d [u][p]:xx:yy Close reason code u is the user Code p is a planned shutdown code xx is a main reason code (a positive integer less than 256) yy is a time Reason code (a positive integer less than 65536)
Copyright © Windows knowledge All Rights Reserved