Solved

auto reboot

Posted on 2016-08-17
4
16 Views
Last Modified: 2016-09-17
I have a windows 2008 r2 server and I want to set it to auto reboot every saturday night.  What is the best way to do this?  Also, would I be able to see a log file of the reboot the next day to make sure it is rebooting?
0
Comment
Question by:mkramer777
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 41759366
You can use the task scheduler with the command

shutdown /r /t 1

The "eventlog" source in the system eventvwr will always show it's been rebooted.

Personally, I throw in a messaging app in the task scheduler was well at the trigger "when the computer starts", so I receive a message on my phone on my Telegram. so I never check the event log.
0
 

Author Comment

by:mkramer777
ID: 41759402
Does the shutdown /r/t 1 command shutdown the computer or reboot it?  Just making sure.
0
 
LVL 35

Expert Comment

by:Kimputer
ID: 41759408
you forgot a space:

shutdown /r /t 1

Reboots the computer within 1 seconds

For shutdown, use:
shutdown /s /t 1
0
 
LVL 35

Expert Comment

by:Seth Simmons
ID: 41802874
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Kimputer (https:#a41759366)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question