Rebooting W2K3 TS Server

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I need to reboot a W2K3 server with TS installed once in a week. So I create
a batch file with the command "tsshutdn 300 /reboot /delay:300" and
configured it with Scheduler and the schedule is to run under the LocalAdmin
Priviledge. But it fails to reboot with the following EventIDs:

1074: The process svchost.exe has initiated the restart of computer
ComputerName on behalf of user NT AUTHORITY\SYSTEM for the following reason:
No title for this reason could be found
Reason Code: 0x80070020
Shutdown Type: restart
Comment:"

1073: The attempt by user NT AUTHORITY\SYSTEM to restart/shutdown computer
ComputerName failed

What I observed however is that the command works when typed directly on the
CommandConsole, and I do not have any problem with W2K_TS Server running the
same batch file.

Any idea why the Scheduler is failing to run the batch file through?

.



Relevant Pages

  • Re: Daily backup fails to run after first day
    ... because the scheduled job runs once but fails the ... Prompt as under the Task Scheduler? ... There's no need to run batch file. ... >> examine the two log files each time. ...
    (microsoft.public.windows.server.general)
  • Re: task scheduler
    ... When I sent you a copy of the batch file i might have ... @echo offrem SCT Payment Client Startup for Banner Webrem AUDIT TRAIL: ... rem SCT Payment Client Startup for Banner Webrem AUDIT TRAIL: ... Task that run under the Task Scheduler are designed ...
    (microsoft.public.windowsxp.general)
  • Re: Task Scheduler Fails, But Not All the Time
    ... into the batch file below, ... echo %date% %time% Start of task> c:\test.log ... Now examine the two log files. ... In most Task Scheduler posts the ...
    (microsoft.public.windowsxp.general)
  • Re: Cant schedule a batch file to run in the XP Pro Scheduler
    ... Also look in Explorer and right-click the BAT file itself and check that all ... > a shortcut on the desktop or from the command window directly. ... > does NOT run fine is when I try to call the backup.bat batch file ... Why doesn't the XP task scheduler handle batch files? ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Cant schedule a batch file to run in the XP Pro Scheduler
    ... If your backup program called in the BAT file is ... > does NOT run fine is when I try to call the backup.bat batch file ... Why doesn't the XP task scheduler handle batch files? ... > I want to automate the backup of our Retail Management Software ...
    (microsoft.public.windowsxp.perform_maintain)