Windows XP Auto Shutdown Implementation

  
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 Windows \\ System32 folder. If you want Windows 2000 to achieve the same effect, you can copy Shutdown.exe to the system directory.

like your computer to shut down at 22:00, you can select "Start → Run", enter "at 22:00 Shutdown -s", so, to the 22:00 computer will be "System Shutdown" dialog The box has a 30 second countdown by default and prompts you to save your 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 automatic shutdown, 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.

Shutdown.exe of parameters, each with a specific purpose, will perform each produce different results, such as "-s" means closed on the local computer, "- a" indicates cancel the shutdown operation, the following 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