Solved

auto reboot

Posted on 2016-08-17
4
13 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
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 34

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

896 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

16 Experts available now in Live!

Get 1:1 Help Now