2 small ways to let Windows7 automatically shut down (1)

  
Win7 system with timed shutdown function, we can achieve by command or scheduled tasks, no need to install software. The system home introduced the command method and plan task method of Win7 automatic shutdown. The two methods have their own advantages. After learning, you can decide which method to use according to your needs.

1, the command method

This method is very easy to use, suitable to perform a task alone. The downside is that you can't customize your daily tasks and only apply them once.

first open the window, enter the command:

use the shortcut Win key + R to open the Run dialog box play, enter cmd, and then enter into the command window, use this method to run the command will prompt Recommended.

enter commands directly in the shortcut Win key + R to open the Run dialog box play.

using the shutdown command shutdown:

shutdown command is a control command shutdown procedures Shutdown.exe series, particular use is as follows:

shutdown-a cancel shutdown
< BR> shutdown-s off

shutdown-f forcibly close the application.

shutdown-m controls the computer name of the remote computer.

shutdown-i displaying a graphical user interface, but it must be the first parameter of Shutdown.

shutdown-l log off the current user.

shutdown-r restart

shutdown-t countdown time is set off, the time in seconds.

shutdown-c "message content" shutdown message content input dialog box (not exceed 127 characters).

shutdown-h sleep

AT shutdown option sleep timer off time

Example usage:

fixed time shutdown command at24: 00shutdown-s This command You can let the computer perform the shutdown at the first 24 o'clock. When the system is shut down, the “System Shutdown” dialog box will appear first. The default has a 30 second countdown preparation time.

countdown shutdown command shutdown-s-t7200 This command allows the computer to execute a shutdown after 120 minutes, seconds unit of time.

cancel shutdown cancel shutdown command shutdown-a command has been set.

combination shutdown command at12: 45shutdown-s-t20 let the computer prompts shutdown at 12:45 hours, and then the countdown 20 seconds. You must ensure that the "TaskScheduler" service is turned on using this command.


Copyright © Windows knowledge All Rights Reserved