Solved

auto reboot

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

I have been working as System Administrators since 2003. I recently started working as a FreeLancer and was amazed to find out that very few people are taking full advantage of their Windows Server Machines. Microsoft Windows Server comes with so…
Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

777 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