Win7 Tips: How to set up automatic shutdown?

  
        

There may be many Win7 users who don't know how to set the system to automatically shut down. If our computer has tasks that can be done automatically without human intervention, and it takes a long time, then setting up automatic shutdown is very useful. Here to provide you with two commonly used methods to set up Windows7 automatic shutdown, convenient for everyone to use.

First, use the command

1, set a specific time to shut down

Suppose we set the system to close at 11 o'clock, press “ Windows logo key + R & rdquo;, in In the pop-up "Run" window, type "“at 23:00 shutdown -s”, and press the Enter key. One minute before the system is shut down, a reminder window will pop up. Note: The above command contains 3 spaces without quotes. Entering commands in the command window will also achieve the same effect. When you use this command, the planning service must be running.

Command Details:

•“at”Commands are scheduled to run commands and programs on specific dates and times

•“23:00” The time of the command. The format is 24-hour system

•“shutdown” For a command built into the system, we can shut down, restart, etc. with the parameters of it

• “-s&rdquo ; is a parameter of the “shutdown” command, running “shutdown -s” represents the operation of "shut down the computer". Common parameters are also “-a”“-t”“-f” etc.

▼Run renderings (below command input example, pop-up window example; command input “run&rdquo The window will close automatically and the two windows will not appear at the same time).

2, set the shutdown after a period of time

Set the system to close after a period of time, we will use a new parameter of the “shutdown” command<;t”. This parameter specifies that the system shuts down after a certain period of time, in seconds (s).

Here we set the system to close after half an hour. The command to enter is: <;shutdown -s -t 1800”, the above command contains 3 spaces, no quotes. After the operation, a reminder window will pop up in the lower right corner of the system task bar.

▼ Run the effect diagram (the above is the command input example, the following is an example of the pop-up window; after the command is entered, the “Run” window will be closed automatically, and the two windows will not appear at the same time).

Each of these operations will generate a separate scheduled task, which we can view with the Soft Media Optimization Master, in the "Startup Items" tab of the "Scheduled Tasks". For example, we ran a command to set a specific time to shut down. In the "Software Name" column, a project will be added that is displayed as “At1 Windows shutdown and annotation tool”.

▼ For example, we ran a command to set a specific time to shut down, in the soft media optimization master “ startup item & rdquo; tab page "plan task", & ldquo; software name & rdquo; column, will Add a project that is displayed as "At1 Windows Close and Annotation Tool", we can perform operations such as closing and deleting in the "Operation" column as required.

3, how to cancel the automatic shutdown

1 want to continue to use the computer, how to prevent the system shut down

To prevent the system from shutting down, we need to use the "shutdown" command One parameter is “-a”. Open the “Run” window and run the “shutdown -a” command (with a space, no quotes).

• If you set a specific time to shut down the system, after the reminder box pops up, you have a minute to run this command. Invalid operation before popping up the reminder window

• If it is set to close after a period of time, you can use this command to cancel the current shutdown before the system is shut down.

▼Run the effect diagram (on The command input example, the following is an example of a pop-up window; after the command is entered, the “Run” window will be closed automatically, and the two windows will not appear at the same time).

Second, add

to the scheduled task Since the command operation will be added as a scheduled task, then we can add it without the command? Of course, let's take a look at the specific method .

1 Right-click on “computer" and click “Manage”. Then left-click on the "System Tools" column under the "Task Scheduler" and finally in the rightmost "Actions" column, click “Create Basic Tasks”.

2 In the "Name", please fill in the name you want to set, "Description", you can choose to fill in the description language, click “ Next & rdquo;.

3 When do you want the task to start: just use it once, click “ once ”, then click “Next” Here we have chosen the default “Daily”.

4 is still set to shut down at 11 o'clock in the evening, here we modify the content of the second box to 23:00:00, the value can be clicked or entered. We can also change the time interval in the third box. Click “Next” after the setup is complete.

5 In this step, use the default “Startup Program  and continue to click “Next”.

6 Enter the “Startup Program” item. If the system is on the C drive, enter “C:\\Windows\\system32\\shutdown.exe” in the “Program or Script” box. Change the drive letter of the individual's actual situation); then fill in “-s -t 0” (ie, immediately shut down), and then click “Next”.

7 Take a look at the general content. If there is no problem, click “Complete>, our system will complete the shutdown at the set time.

Tip:

Find our scheduled tasks in the "Task Scheduler Library" and right click on <;Properties" to modify them in detail. Complete our shutdown needs.

3, other tips on the system time bar

The system defaults to display the current time in the lower right corner of the taskbar, left click to view the calendar. This kind of display is quite monotonous. Want a cool time display bar? & nbsp; Soft media time” help you complete.

▼First come and see the effect (this is just the default setting, there are a lot of options for soft media time to help you create a personalized time display bar).

▼ Left click on the effect.

Setting method:

Open the latest version of the soft media cube, find the soft media time in the "Application Encyclopedia - System Enhancement", there will be a variety of personalized settings after opening. .

Copyright © Windows knowledge All Rights Reserved