How to Make Your System Auto Restart by Using Task Scheduler

Introduction

In my previous article I explained How to Make Your System Auto Shutdown by Using Task Scheduler.

In this article I will explain you how to make your system Auto Restart using the Task Scheduler.

This will work in the same manner as the Shutdown does, except your system will restart automatically.

You can use the following simple procedure to make your system restart automatically.

Step 1

First of all open the "Administrative Tools" from the Start Menu.

task1.jpg

Now the Administrative Tools Window will be opened, here you will find an option named "Task Scheduler", double-click on this option to open it.

task2.jpg

Step 2

Now the Task Scheduler Window will be opened, that will look something like this:

task3.jpg

Now left-click on "Task Scheduler (Local)" and choose "Create Basic Task".

task4.jpg

Step 3

The Create Basic Task Wizard will be opened where you first need to provide the name for the Task, you can also provide the description for this task. After providing the name click on "Next".

task18.jpg

On the next page (named Task Trigger) you will be asked to define the days on which the task should be scheduled, you can provide the days as needed. If you want your system to be shutdown daily at a specific time then you can click on Daily or you can set the Trigger to Weekly etcetera.

task13.jpg

Step 4

Now you need to provide the timing for which this task is to be triggered. After providing the time click on "Next".

task14.jpg

The next page will ask for the action the task is to perform, here click on the first option, in other words "Start the Program".

task7.jpg

Step 5

On the next page "Script/Program" is to be written, for this you need to click on the "Browse" button.

task8.jpg

Now browse to a folder named "SysWow64", you will find this folder in the C Drive. Since my System is of 64 bits, the folder is named SysWow64 otherwise it will be SysWow32. Copy the path of this folder.

task9.jpg

Step 6

Now paste that path into the script. After pasting the path put a backslash ("\") following it then write "shutdown". So your final script will be like this:

task15.jpg

In the "Argument" you need to write this "-r -t --" where "-r" is for Restart, "-t" is for Timing and after that the seconds are given. These seconds are the time of which your system will begin to show a message about the Restart that is about to happen. These seconds will apply to just before the timing that you provided in Step 4. If you remember, I wrote "-s -t --"  in Shutdown but in Restart "-r" is used instead of "-s"; that's because "-s" was used for Shutdown and "-r" is used for Restart.

After providing the argument and script click on "Next".

Step 7

Now a complete summary of your task scheduling will be shown, here you just need to click on the "Finish" Button.

task16.jpg

When the system hits the time that you specified, your system will start showing you the message about the restart.

task17.jpg

Up Next
    Ebook Download
    View all
    Learn
    View all