Tip: How to implement Windows XP Auto Shutdown

  

Windows XP shutdown is controlled by the Shutdown.exe program under Windows\\System32. (If you want to copy Shutdown.exe to the Windows 2000 system directory, you can also do it.)

For example, if your computer needs to be shut down at 22:00, you can select "Start → Run" and enter "at 22: 00 Shutdown -s", so that by 22 o'clock the computer will appear in the "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.

After setting the auto power off, if you want to cancel, you can enter "shutdown -a" in the run. In addition, if you enter "shutdown -i", you can open the Set Auto Shutdown dialog box to set the Auto Shutdown.

The parameters of Shutdown.exe, each have a specific purpose, each of them will have different effects, such as "-s" means to shut down the local computer, "-a" means to cancel the shutdown operation, below More parameters are listed and can be used as needed in Shutdown.exe.

-f: Force the application to close

-m \\\\computer name: control remote computer

-i: display graphical user interface, but must be the first Shutdown Options

-l: Logout current user

-r: Shut down and restart

-t Time: Set shutdown countdown

-c "message Content ": Enter the message content in the shutdown dialog (cannot exceed 127 characters)

Copyright © Windows knowledge All Rights Reserved