April 21, 2023

How To Restart Your Windows Server Automatically On Sundays


Managing a Windows server can be a daunting task, especially when you have to keep it running 24/7. However, it is important to give your server a break to avoid potential issues caused by prolonged uptime. One simple solution is to schedule an automatic restart on a regular basis. In this tutorial, we will guide you through the steps to set up an automatic restart for your Windows server every Sunday.

Step 1: Open Task Scheduler

The first step is to open the Task Scheduler on your Windows server. You can do this by typing “Task Scheduler” in the Start menu and clicking on the result. Alternatively, you can open the Run dialog by pressing the Windows key + R and then typing “taskschd.msc” before hitting Enter.

Step 2: Create a New Task

In the Task Scheduler window, click on the “Create Task” option in the right panel. This will open a new window where you can configure the details of the task.

Step 3: Configure the Task Settings

In the “General” tab of the new task window, give your task a name such as “Automatic Restart”. You can also provide a description if you wish.

Next, make sure to select “Run whether the user is logged on or not” and “Run with highest privileges” options. You can also choose the operating system that this task will run on by selecting the appropriate option in the “Configure for” dropdown list.

Step 4: Schedule the Task

In the “Triggers” tab, click on the “New” button to create a new trigger. Set the “Begin the task” dropdown to “On a schedule” and choose the frequency of the restart by selecting “Weekly”. Select the “Sunday” option and set the time that you want the restart to occur. You can also set the task to recur every week if you wish.

Step 5: Configure the Action

In the “Actions” tab, click on the “New” button to create a new action. Set the “Action” dropdown to “Start a program” and type “shutdown” in the “Program/script” field. In the “Add arguments” field, type “-r -t 0” to specify that the server should restart and that it should do so immediately, without waiting.

Step 6: Save the Task

Once you have completed all the steps, click on the “OK” button to save the task. You will be asked to enter your administrator password to confirm your changes.

Congratulations, you have now set up an automatic restart for your Windows server every Sunday! This simple solution will help to keep your server running smoothly by giving it a regular break to refresh its system resources.

Buy Windows Shared Server

Popular Blog Posts