Implementation of automatic shutdown of Windows XP operating system

  

If you want to go out, but the computer is working again, then you need to use automatic shutdown. Most of the methods to achieve automatic shutdown are to use some third-party software, which is not only troublesome, but also a special software for realizing this small function, making a big fuss! In fact, Windows XP (Windows 2000 can also) has its own function of timed shutdown, let's take a look at how to achieve automatic shutdown of Windows XP.
Windows XP shutdown is controlled by the Shutdown.exe program, located in the Windows\\System32 folder. If you want Windows 2000 to achieve the same effect, you can copy Shutdown.exe to the system directory.
For example, if your computer needs to be shut down at 22:00, you can select “Start →Run”, enter “at 22:00 Shutdown -s”, so that at 22 o'clock the computer will appear "System shutdown & rdquo; 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 enter "Shutdown.exe -s -t 3600”, which means that it will automatically shut down after 60 minutes," 3600” represents 60 minutes.
After setting the automatic shutdown, if you want to cancel, you can enter “shutdown -a” in the running. In addition, enter "ldtdown -i" to 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, the following column More parameters are available, you can use them in Shutdown.exe as needed.
-f: Force the application to close
-m \\\\computer name: control remote computer
-i: display the graphical user interface, but must be the first option of Shutdown
-l: logout Current User
-r: Shutdown and Restart
-t Time: Set Shutdown Countdown
-c "Message Content": Enter the message content in the Shutdown dialog box (cannot exceed 127 characters)

Copyright © Windows knowledge All Rights Reserved