Solved

Scheduled reboot doesn't run

Posted on 2009-04-01
6
1,163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 21

Expert Comment

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

Author Comment

by:teknite
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!
0
 
LVL 21

Expert Comment

by:JBlond
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.
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 

Author Comment

by:teknite
ID: 24085004
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
ID: 25134433
It seemed that just running through the wizard instead of going through "file - add scheduled task" fixed this. Random.
0
 

Author Comment

by:teknite
ID: 25354965
We have resolved the problem.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I work for a company that primarily works with small businesses as their outsourced IT vendor. As such the majority of these customers utilize some version of Small Business Server. Due to the economics of running a small business, many of these cus…
You may have discovered the 'Compatibility View Settings' workaround for making your SBS 2008 Remote Web Workplace 'connect to a computer' section stops 'working around' after a Windows 10 client upgrade.  That can be fixed so it 'works around' agai…

737 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