Implementation of Automatic shutdown for Windows XP and Windows 2000 operating systems

Source: Internet
Author: User

shutdown.exe Program , which is located in the windows \ system32 folder.
enter " at shutdown-S , at, the "system shutdown" dialog box appears. The default countdown is 30 seconds and you are prompted to save your work. Shutdown in Countdown mode, input

"shutdown.exe-s-t 3600" indicates shutdown after 60 minutes.
If you cancel the operation, you can enter "shutdown-a" in the running process ". In addition, enter "shutdown-I" to open the dialog box
to set automatic shutdown.
usage: shutdown [-I |-L |-S |-r |-A] [-F] [-M // computername] [-T XX] [-c "comment"] [-D up: XX: yy]
no parameters show this message (? Same)
-I display GUI, must be the first option
-l logout (cannot be used with option-m)
-s disable this computer
-r Disable and restart this computer
-a discard system shutdown
-M // computername Remote Computer shutdown/restart /discard
-t xx: Set the timeout for disabling to XX seconds
-c "comment": Close comments (up to 127 characters)
-F indicates that the application running forcibly is disabled without warning
-d [u] [p]: XX: Code
U is the user code.
P is the program's closing code.
XX is the main cause. cause code (a positive integer smaller than 256)
YY is the code for a secondary cause (a positive integer smaller than 65536)
-F: forcibly close the application
-m \ computer name: remote Computer Control
-I: displays the graphical user interface, but must be the first option of shutdown
-L: deregister the 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)

Related Article

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.