Solved

auto reboot

Posted on 2016-08-17
4
12 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
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
Comment Utility
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
Comment Utility
Does the shutdown /r/t 1 command shutdown the computer or reboot it?  Just making sure.
0
 
LVL 35

Expert Comment

by:Kimputer
Comment Utility
you forgot a space:

shutdown /r /t 1

Reboots the computer within 1 seconds

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

Expert Comment

by:Seth Simmons
Comment Utility
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

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Join & Write a Comment

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
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 setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now