Due to the enterprise nature of Windows Server, users are usually more tech-savvy and have an interest in minutiae details surrounding the performance. One of those interesting things to know is how to check the last reboot time on Windows Server or how to schedule a reboot. We made sure to instruct you about those below.
Windows Server: How to schedule a reboot
1. Use the System Event Log
You can use the System Event Log to find out when was the last reboot of Windows Server. This procedure is quite simple as the only important thing is to single out one Event.
Follow these steps to see when was the last reboot via the System Event Log utility:
- Open Event Viewer from the Start menu.
- In the far right pane, select Create Custom View.
- Under the Log drop-down menu, choose Windows Logs.
- Under the <All Event IDs> add just 6009.
- Create a custom view.
- Now you can see all the times your PC was rebooted since the system was installed which is a great feature.
2. Use Command Prompt
Alternatively, you can use a certain Command Prompt command to check when was the last time a Windows Server reboot occurred. You can also check the up-time of your Server with a similar command.
Follow these steps to check the last reboot via the Command Prompt:
- Open Command Prompt as an administrator.
- In the command line, copy-paste the following command and press Enter:
systeminfo | find /i “Boot Time”
- You should see the last time your PC was rebooted.
3. Schedule reboot with Scheduled Tasks
If you have an interest in automatizing the reboot sequence, you can do so by creating a scheduled task. If you are not familiar with it, here’s how to schedule reboot on Windows Server via the Scheduled Tasks utility:
- Open Scheduled Tasks from the Start menu.
- Select Add a New Scheduled Task and click Next.
- On the Program selection screen, navigate to C:WINDOWSSystem32shutdown.exe.
- Select shutdown.exe and name the task shutdown.
- Choose the shutdown frequency.
- Select the time and day when the scheduled reboot will occur.
- Enter your administrative credentials and confirm.
- Now, check the Open Advanced options when I click Finish box and click Finish.
- Finally, when a new window appears, copy-paste the following command and replace the default one:
C:WINDOWSsystem32shutdown.exe -r -f -t 01
- Select Apply and you are good to go.
- Later, you can check when the last time Windows Server reboot occurred with one of the first two steps.
RELATED STORIES YOU SHOULD CHECK OUT: