Solved

Scheduled reboot doesn't run

Posted on 2009-04-01
6
1,124 Views
Last Modified: 2012-05-06
I'm trying to schedule a reboot of a Small Business Server 2003, by scheduling a task to run in taskscheduler, that runs a batch file called reboot.bat. The batch file contains the following:

shutdown /r /t 600 /f

So it's set to wait 600 seconds, and force a restart. However, despite it being scheduled and the script tested on another server (it works there), absolutely nothing happens when I try to run it on this box. We need it to run early in the morning as the server is in almost constant use.

Any ideas why this may not be running?
0
Comment
Question by:teknite
  • 4
  • 2
6 Comments
 
LVL 21

Expert Comment

by:JBlond
Comment Utility
Does the server reboot using the script if you execute it manually?
0
 

Author Comment

by:teknite
Comment Utility
At the moment I don't know, as we can only reboot the server between 2AM and 7AM! I'll try and find out if we can schedule a test run. Cheers!
0
 
LVL 21

Expert Comment

by:JBlond
Comment Utility
Check also which user account is used for the scheduled task. Maybe the user account doesn't have the permission to initiate a restart.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:teknite
Comment Utility
Hi

I tested the batch file manually, it ran fine. The user account the scheduled task is set to run as is the administrator account, the properties for the "run as" field in the properties for the scheduled task read *domain name*\administrator. Other scheduled tasks seem to run ok, any other ideas? Thanks
0
 

Accepted Solution

by:
teknite earned 0 total points
Comment Utility
It seemed that just running through the wizard instead of going through "file - add scheduled task" fixed this. Random.
0
 

Author Comment

by:teknite
Comment Utility
We have resolved the problem.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

A lot of problems and solutions are available on the net for the error message "Source server does not meet minimum requirements for migration" while performing a migration from Small Business Server 2003 to SBS 2008. This error pops up just before …
Written by Glen Knight (demazter) as part of a series of how-to articles. Introduction One of the biggest consumers of disk space with Small Business Server 2008(SBS) is Windows Server Update Services, more affectionately known as WSUS. For t…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 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

9 Experts available now in Live!

Get 1:1 Help Now