Home >Common Problem >How to set automatic shutdown time in win7

How to set automatic shutdown time in win7

WBOY
WBOYforward
2023-06-29 11:20:347578browse

How to set the automatic shutdown time in win7? When many friends use computers, they want to set up automatic shutdown to plan the use time of the computer. So how do we do this? In fact, we can set the automatic shutdown time through system settings, software settings, command settings and other methods. For software settings, you only need to download the corresponding automatic shutdown software. The other two methods are more complicated. The following is a small The editor brings you Win7 setting automatic shutdown time tutorial.

How to set automatic shutdown time in win7

Win7 setting automatic shutdown time tutorial

Method 1. Use command

1. Set a specific time to shut down

Assume that the system is set to shut down at 11 p.m., press the "Windows logo key R", and enter "at 23:00 shutdown" in the pop-up "Run" window. -s", just press the Enter key. A reminder window will pop up one minute before the system shuts down. Note: The above command contains 3 spaces, without quotation marks. Entering the command in the command prompt window will also achieve the same effect. Use The schedule service must be running when this command is issued.

Command details:

How to set automatic shutdown time in win7

1. The "at" command schedules commands and programs to run on a specific date and time.

2. "23:00" specifies the time to run the command. The format is 24-hour format.

3. "shutdown" is a command built into the system. We can use its parameters to shut down and restart the system.

4. "-s" is a parameter of the "shutdown" command. Running "shutdown -s" represents the operation of "turning off the computer". Common parameters include "-a", "-t", "-f", etc.

2. Shut down after setting for a period of time

Using the new parameter "-t" can make the system automatically shut down after a period of time. You need to use the "shutdown" command. This parameter specifies that the system will shut down after a specific period of time, in seconds (s).

Here we take setting the system to shut down after half an hour as an example. The command that needs to be entered is: "shutdown -s -t 1800", the above command contains 3 spaces and does not contain quotation marks. After running, a reminder window will pop up in the lower right corner of the system taskbar.

How to set automatic shutdown time in win7

Method 2: Add

to the scheduled task

Since the command operation will be added as a scheduled task, can it be added without a command? Of course, let’s take a look at the specific method below.

How to set automatic shutdown time in win7

① Right-click on "Computer" and click "Manage". Click "Task Scheduler" under the "System Tools" column, and then click "Create Basic Task" on the far right side of the "Actions" column.

② In addition to filling in the name that needs to be set in "Name", you can choose to fill in the description language in "Description" and click "Next".

Just click "Once" and click "Next" to set the task start time. The default "Every day" is selected here.

④ It is still set to shut down at 11pm. Just modify the content in the second box to 23:00:00. The value can be clicked or entered. You can also change the time interval in the third box. After the settings are completed, click "Next".

⑤ Use the default "Startup Program" for this step, and continue to click "Next".

⑥ Enter the "Startup Program" item. If the system is on the C drive, enter "C:Windowssystem32shutdown.exe" in the "Program or Script" box (note that you need to modify the drive letter according to your actual situation); then fill in "Parameters" -s -t 0" (i.e. shut down immediately), then click "Next".

How to set automatic shutdown time in win7

⑦ Take a look at the general content. If there is no problem, click "Finish", and the system will complete the shutdown at the set time.

The above isHow to set the automatic shutdown time in win7? The entire content of win7 setting automatic shutdown time tutorial is here. For more exciting content, please pay attention to this site.

The above is the detailed content of How to set automatic shutdown time in win7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:chromezj.com. If there is any infringement, please contact admin@php.cn delete