[Windows10] How to set to automatically restart or shut down the PC at the specified time using Task Scheduler

By | October 30, 2017
Prev12Next

Task Scheduler is a tool that automatically starts the program at a fixed time and issues a certain command to the personal computer. This does not repeat the operation manually, but it does it automatically.

For example, you can save time by scheduling to automatically shut down after optimizing your computer at a fixed time during the time that you are sleeping.

The Task Scheduler can perform task operations automatically at a specific date or time or when a specific event occurs. You can also execute, disable, change, and delete tasks in Task Scheduler.

Starting “Task Scheduler” in Control Panel《1》

▼ To start the Task Scheduler, Right-click on Start button, and click 1Control Panel. Or, press Windows + X key, and click Control Panel.

[Windows10]using Task Scheduler

After Windows 10 Creators Update (version 1703) , has disappeared in the Right click menu on Start button. You can check how to start the control panel from the following link.

Related article

How to activate “Control Panel” which disappeared after Windows 10 Creators Update(version 1703)




▼ On “Control Panel”, set 1“View by: Large(Small) icon” and click 2Administrative Tools.

[Windows10]using Task Scheduler

▼ 1Double-click Task Scheduler.

[Windows10]using Task Scheduler

Starting “Task Scheduler” in Run《2》

▼ As shown below, Press Windows + Rkey and open Run. Enter 1Taskschd.msc in the text field, click 2OK button.

[Windows10]using Task Scheduler

Starting “Task Scheduler” in Command Prompt

▼ To run Task Scheduler in “Command Prompt”, Right-Click on Start button and click 1Command Prompt.

[Windows10]using Task Scheduler

After Windows 10 Creators Update (version 1703) , Command Prompt has disappeared in the Right-Click menu on Start button. Windows Powershell is the default shell. You can check how to start the control panel from the following link.

Related article

How to display a “Disappeared Command Prompt” in the Right-Click menu(Context Menu) on the start menu

▼ At the command prompt, type 1Taskschd.msc and press Enter key. Then Task Scheduler is runned.

[Windows10]using Task Scheduler

Starting “Task Scheduler” On Windows File Explorer

▼ On Windows File Explorer, go to the folder: 1C:\Windows\System32 and double-click 2Taskschd.msc. And you can start the Task Scheduler.

[Windows10]using Task Scheduler

Creating a new task

▼ Here, we will set it to “Shut down the PC automatically” in the fixed time zone.

Selecting 1Task Scheduler Library, and click 2Create Basic Task… in the right pane.

[Windows10]using Task Scheduler

▼  Enter an appropriate 1Name and Description. Click 2Next button.

[Windows10]using Task Scheduler

Trigger

▼ ”Trigger” refers to a series of conditions, and when this is satisfied, execution of the task is started.

Here, choose one of the following options for the question “When do you want the ask to start?”

Depending on the item selected here, the next Action window changes. Here, we will select 1Daily, and 2Next button.

[Windows10]using Task Scheduler

▼ Specify the timing to start the task. Specify the year, month, day, and time of the start date at which tasks are repeatedly started periodically.

If you specify 1Recur every: 1 days, this means that it will be done every day. By setting「Recur every: 2 days」, it will be executed every other day. click 2Next button.

[Windows10]using Task Scheduler




Action

▼ You will be asked what kind of task action to do at a fixed time. Here, select 1Start a program, and click 2Next button.

[Windows10]using Task Scheduler

▼ You set what kind of “program” to start or “command” to run. In this case, we will specify shutdown.exe command for shutdown.

Click 1Browse… button.

[Windows10]using Task Scheduler

▼ Here, move to path:1C:\Windows\System32\shutdown.exe where “shutdown.exe” is stored, and select 2shutdown.exe. Click 3Open button.

[Windows10]using Task Scheduler

▼ In Program/script, 1C:\Windows\System32\shutdown.exe is displayed as shown below. You can also specify 2-s -t 60 -f -c.

Click 3Next button.

[Windows10]using Task Scheduler

-s:means shutdown.

-t 60:Shutdown starts 60 seconds after a fixed time.

-f: Forcibly terminates the current process.

▼ It is also possible to directly enter the shutdown command like the following.

As above, you can specify the command 1shutdown -s -c “PC-Shutdown” t -60 to start shutdown after 60 seconds.

[Windows10]using Task Scheduler

▼ Click 1Yes button for the following message.

[Windows10]using Task Scheduler

▼ As a result, Task Scheduler starts at “11:00 AM” everyday, and shutdown will be done 60 seconds after startup.

Click 1Finish button.

[Windows10]using Task Scheduler

▼ New 1Task Scheduler has been created as shown below.

Click 1Finish button.

[Windows10]using Task Scheduler
Prev12Next

Leave a Reply

Your email address will not be published.