Schedule a reboot on Windows Server

If you already had the need to schedule a reboot on Windows Server and tried to use the traditional “at” command, you will notice that since Windows Server 2012 this command has been discontinued.

Read more:

How to Install the Hyper-V Role on Windows Server 2019
Best Practices for Active Directory FSMO Functions
Create an Active Directory Win 2012 R2 administrator group
Activating Windows Server 2016 via command prompt
Storing SSH keys in Active Directory for easy deployment

To schedule the reboot, use the command below just changing the time and data according to your need:

schtasks / create / tn “Scheduled Reboot” / tr “shutdown / r / t 0” / sc once / st 12:20:00 / sd 02/03/2020 / ru “System”
It is also possible to perform this activity through the Task Scheduler by creating a task:

#Profissa: Take a professional course!
Ensure a certified course in IT and Software through the online study platform Udemy.
click here and check out all the latest technology courses!

Give it the desired name and click next> select the period the task will be performed> next again and enter the date and time for the restart> click next.

In actions, select to start a program> Select Powershell and enter the argument “Restart-Computer -Force”> Advance and Complete the creation of the task.

Was this article helpful?

To maintain a quality standard for you, we have invested in a great hosting plan, Paid CDN, Website Optimization Plugins, etc ...

Help us to keep the project active! 

Follow the news in real time. Follow our Instagram profile..

Felipe Santos
Felipe Santos is a Cloud and Security Architect, with experience in Windows Server, Cluster, Storages, Backups Veeam and Office 365 environments.
en_USEnglish

UP TO 90% DISCOUNT

TAKE OFF YOUR CAREER !!

Do you want to upgrade your career? 

Invest in yourself and get ahead! Get that dream job in 2022!