Schedule Automatic Restart in Windows Server 2022

Published: 19 November 2022
on channel: microsoft lab
1,347
4

Donate Us : paypal.me/MicrosoftLab

Schedule Automatic Restart in Windows Server 2022

1. Prepare

DC22 : OS Windows Server 2022

2. Step by step : Schedule Automatic Restart

Create a file .bat automatic restart

Creat a file named restart.txt at C: drive - Open and type : Shutdown -r -t 60 (#60 second or you want)

Change restart.txt to restart.bat :

View tab - Tick 'File name extensions' - OK + Change extensions .txt to .bat

Schedule :

Start - Task Scheduler - Right-click 'Task Scheduler Library' - Create Basic Task... :

Create a Basic Task - Name : Restart Server

Trigger - When do you want the task to start? : dayly (or you want) - Daily - Start : 11/20/2022 ; time : 11:10:00 AM (or you want)

Action - What action do you want the task to perform? : Start program - Start a program - Browse... - C:\restart.bat

Finish and wait...

Check again

Start - Task Scheduler - Task Scheduler Library - Check 'Restart server'




-------------------------------------********************    / microsoftlab   ********************---------------------------------


Watch video Schedule Automatic Restart in Windows Server 2022 online without registration, duration hours minute second in high quality. This video was added by user microsoft lab 19 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,347 once and liked it 4 people.