Scheduled reboot doesn't run

Posted on 2009-04-01
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?
Question by:teknite
  • 4
  • 2
LVL 21

Expert Comment

ID: 24037493
Does the server reboot using the script if you execute it manually?

Author Comment

ID: 24037506
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!
LVL 21

Expert Comment

ID: 24037519
Check also which user account is used for the scheduled task. Maybe the user account doesn't have the permission to initiate a restart.
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center


Author Comment

ID: 24085004

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

Accepted Solution

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

Author Comment

ID: 25354965
We have resolved the problem.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This guide is intended for migrating Windows 2003 Standard with Exchange 2003 to Windows Small Business Server 2008. You will need the following: Exchange Best Practice Analyzer:…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…

821 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