XP timed shutdown/restart cmd command

Source: Internet
Author: User

Windows XP shutdown is controlled by the Shutdown.exe program and is 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, your computer to shut down at 22:00, you can choose "Start → run", enter "at 22:00 shutdown-s", so that at 22 o ' clock computer will appear "System Shutdown" dialog box, the default has 30 seconds countdown and prompts you to save the job. If you want to shut down the machine by the countdown, you can enter "shutdown.exe-s-T 3600", which means 60 minutes after the automatic shutdown, "3600" represents 60 Minutes

Shutdown.exe parameters, each has a specific purpose, the execution of each will have a different effect, such as "-S" means to shut down the local computer, "-a" to cancel the shutdown operation, the following list of more parameters, you can use in the Shutdown.exe

-F: Forcibly shutting down the application
-m\\ computer name: Controlling remote computer
-I: Displays the graphical user interface, but must be the first option for shutdown
-L: Log off Current user
-r: Shutdown and reboot
-T time: set down shutdown countdown
-C "Message content": Enter the message contents in the Shutdown dialog box (not exceeding 127 characters)

1, Win2000 System has no shutdown command file, if used in 2000, must copy WinXP Shutdown.exe file (in the XP C disk can be found), Win2K c:\\winnt to use. \\.s
2, the realization of the daily scheduled shutdown from the new start, in the Control Panel of the task plan to add a plan, in the operation of the input "C:\\winnt\\shutdown.exe-r" in the Set password to enter the password of the administrator, in the schedule to enter the daily running time, That will enable you to restart your computer on a regular basis every day.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.