Full-host computer-fun-automatic shutdown command

Source: Internet
Author: User
For example, to shut down your computer at, you can select start> Run and enter "at shutdown-s, at, the "system shutdown" dialog box appears. By default, there is a 30-second countdown and you are prompted to save the work. If you want to shut down the server by a time-based method, you can enter “shutdown.exe-s-t 3600 ", which indicates that the server will automatically shut down after 60 minutes, and" 3600 "indicates 60 minutes. If you want to cancel Automatic shutdown, enter "shutdown-a" during running ". In addition, enter "shutdown-I" to open the Set automatic shutdown dialog box and set the automatic shutdown. Each shutdown.exe parameter has a specific purpose, and each execution will have different effects. For example, "-s" indicates that the local computer is disabled, and "-a" indicates that the shutdown operation is canceled, more parameters are listed below. You can use them as needed in shutdown.exe. -F: forcibly close the application-M // computer name: Control Remote Computer-I: displays 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) Sometimes, we need to shut down the computer at regular intervals. Next we will introduce a simple method to implement Timed Shutdown in Windows XP. Specify that the system will automatically shut down after 22 minutes: click "Start> Run", and enter the command "shutdown-s-t 1320" in "open" (Note: Do not enter the quotation marks, there is a space between parameters, 1320 in seconds), click "OK. Specify that the system is automatically shut down at a certain time (such as): Enter the command "at shutdown-s" in "open. Cancel Timed Shutdown: Enter the command "shutdown-a" in "open. All possible implementations are implemented using the "shutdown" command. The shutdown parameter is input "shutdown" in the command line window ". I think the most useful parameter is the "-I" parameter. The "remote shutdown dialog box" can be called up to facilitate remote shutdown of computers in the LAN. If you are interested, you can try it. Start-Program-accessories-System Tools-scheduler task-add scheduler-next-browse-C:/Windows/system32/shadow.exe-next-select the shutdown time, next step-enter the user name and password, as long as there are some users in the system, but there must be a password, there must also be one, the next step, select "enable advanced properties of this task upon completion", and add "-s" quotation marks to the running column. For example, to shut down your computer at, you can select start> Run and enter "at shutdown-s, at, the "system shutdown" dialog box appears. By default, there is a 30-second countdown and you are prompted to save the work. If you want to shut down the server by a time-based method, you can enter “shutdown.exe-s-t 3600 ", which indicates that the server will automatically shut down after 60 minutes, and" 3600 "indicates 60 minutes. If you want to cancel Automatic shutdown, enter "shutdown-a" during running ". In addition, enter "shutdown-I" to open the Set automatic shutdown dialog box and set the automatic shutdown. Each shutdown.exe parameter has a specific purpose, and each execution will have different effects. For example, "-s" indicates that the local computer is disabled, and "-a" indicates that the shutdown operation is canceled, more parameters are listed below. You can use them as needed in shutdown.exe. -F: forcibly close the application-M // computer name: Control Remote Computer-I: displays 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) Sometimes, we need to shut down the computer at regular intervals. Next we will introduce a simple method to implement Timed Shutdown in Windows XP. Specify that the system will automatically shut down after 22 minutes: click "Start> Run", and enter the command "shutdown-s-t 1320" in "open" (Note: Do not enter the quotation marks, there is a space between parameters, 1320 in seconds), click "OK. Specify that the system is automatically shut down at a certain time (such as): Enter the command "at shutdown-s" in "open. Cancel Timed Shutdown: Enter the command "shutdown-a" in "open. All possible implementations are implemented using the "shutdown" command. The shutdown parameter is input "shutdown" in the command line window ". I think the most useful parameter is the "-I" parameter. The "remote shutdown dialog box" can be called up to facilitate remote shutdown of computers in the LAN. If you are interested, you can try it. Start-Program-accessories-System Tools-scheduler task-add scheduler-next-browse-C:/Windows/system32/shadow.exe-next-select the shutdown time, next step-enter the user name and password, as long as there are some users in the system, but there must be a password, there must also be one, the next step, select "enable advanced properties of this task upon completion", and add "-s" quotation marks to the running column.

 

  411

Respondent: up

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.