Let Win 8 automatically shut down and cancel automatic shutdown

  
Turn on the computer and enter the Win8 system desktop. Press Win+X shortcut to click “Run” (or Win+R to open the run) in the pop-up menu. For example, we want the computer to be in three hours. After the automatic shutdown, enter "shutdown


-s -t 10800" in the open operation box, and then click "OK". The 10800 here is the number of seconds in three hours, because the system memory shutdown time is calculated in seconds.

Win8 Timed Auto Shutdown After clicking "OK", a short black command box will appear, then disappear, and then a shutdown message will be displayed at the desktop tray, and your login will be cancelled. Windows will be after 180 minutes. shut down. Then the prompt box will disappear automatically.

Win8 cancels automatic shutdown

If you want to cancel in the middle, or when it is almost time to shut down, but there is still important work not done, open the run again and type "in the run box" Shutdown –a” command, then click OK.

At this point, a black command box will appear in an instant, and then a prompt box will appear in the lower right corner of the desktop taskbar. "Logout is canceled and the planned close is canceled." In this way, the system will not automatically shut down when it is time.

Precautions

We must set the timing to automatically shut down, so that we must handle important data or files when shutting down. There are important information that can be brought back without saving. A lot of trouble.

Set the timeout before closing to xxx seconds. For Windows 2003 systems, the valid range is 0-600, the default is 30 shutdown.exe

-c"Message content" Enter the message content in the shutdown dialog (cannot exceed 127 characters).

For example, if your computer needs to be shut down at 24:00, you can choose "Start Run" and enter "at 24:00 Shutdown

-s". So, by 24 o'clock, the computer will The “System Shutdown” dialog box appears, with a default countdown of 30 seconds and prompts you to save your work. If you want to shut down in a countdown mode, you can type "Shutdown.exe

-s -t 7200", which means that it will automatically shut down after 120 minutes, and "7200" means 120 minutes (7200 seconds). If you want to cancel, you can type "shutdown

-a" in the run. In addition, enter "shutdown

-i", you can open the Set Remote Shutdown dialog box, enter the computer name of the current computer, and set the automatic shutdown. (When the current user is not added to the "forced shutdown from the remote" through the following application 3, this method only applies to the users or groups already in the list, and the administrator)

Windows 2000 also To achieve the same effect, you can copy Shutdown.exe to the system directory System32

Example: shutdown.exe -s -m //student1 Of course, you can also use shutdown with at time to shut down regularly, it will be even more Precise. Format: at shutdown time shutdown option Comments Contents

Note: · The user must be granted the right to shut down the system before the user can shut down the locally or remotely managed computer using the shutdown command. Users must be members of the Administrators group to annotate unexpected shutdowns of locally or remotely managed computers. If the target computer has joined a domain, members of the DomainAdmins group may perform the process. If you want to shut down multiple computers at once, you can use a script to call shutdown for each computer, or you can use shutdown/i to display the remote shutdown dialog. · Once you have specified primary and secondary reason codes, you must first define those reason codes for each computer that you plan to use for a specific reason. If the reason code is not defined on the target computer, closing the event tracker will not be able to log the correct reason text

Copyright © Windows knowledge All Rights Reserved