I also tried system account, that other tasks are running, but also doesn't work.
Main Topics
Browse All TopicsHi there
I have made a BAT file that executes ASP page in localhost using httprequester.vbs. It works great using the command prompt as batch.bat.
I wanted to task schedule this task to run every 5 minutes using task scheduler as I did on win 2003 32-bit and it run ok.
On windows 2008 64 bit it doesn't work. The batch window that opened on windows 2003 doesn't open and the task is not run. Here is the error I am getting:
- <Event xmlns="http://schemas.micr
- <System>
<Provider Name="Microsoft-Windows-Ta
<EventID>203</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>203</Task>
<Opcode>101</Opcode>
<Keywords>0x80000000000000
<TimeCreated SystemTime="2009-10-21T07:
<EventRecordID>13944</Even
<Correlation ActivityID="{D70FFDA1-BD21
<Execution ProcessID="4412" ThreadID="3752" />
<Channel>Microsoft-Windows
<Computer>zorba</Computer>
<Security UserID="S-1-5-21-408814597
</System>
- <EventData Name="ActionLaunchFailure"
<Data Name="TaskName">\Batch - fiveminutes</Data>
<Data Name="TaskInstanceId">{D70
<Data Name="ActionName">C:\Windo
<Data Name="ResultCode">21479426
</EventData>
</Event>
This is the launch failure and then the run failure comes...
I am almost certain it has nothing to do with the contents of my batch file as it runs ok using shell and I run the task as administrator and proper permissions are there in the file to run for administrator.
I think the problem is in the system32/cmd.exe file that doesn't start. What is this file? Is it needed to open a shell prompt when running batch? Is it 32-bit and 64-bit mixing something up?
Please help me if you can.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.micr
<RegistrationInfo>
<Date>2009-10-23T20:17:23.35
<Author>XXXXXX\Administrator
</RegistrationInfo>
<Triggers>
<CalendarTrigger>
<Repetition>
<Interval>PT5M</Interval>
<Duration>P1D</Duration>
<StopAtDurationEnd>false</Sto
</Repetition>
<StartBoundary>2009-10-23T20
<Enabled>true</Enabled>
<ScheduleByDay>
<DaysInterval>1</DaysInterval
</ScheduleByDay>
</CalendarTrigger>
</Triggers>
<Principals>
<Principal id="Author">
<UserId>XXXXXX\Administrator
<LogonType>Password</LogonTyp
<RunLevel>HighestAvailable</R
</Principal>
</Principals>
<Settings>
<IdleSettings>
<Duration>PT10M</Duration>
<WaitTimeout>PT1H</WaitTimeou
<StopOnIdleEnd>true</StopOnId
<RestartOnIdle>false</Restart
</IdleSettings>
<MultipleInstancesPolicy>Ign
<DisallowStartIfOnBatteries
<StopIfGoingOnBatteries>true
<AllowHardTerminate>true</All
<StartWhenAvailable>false</St
<RunOnlyIfNetworkAvailable>f
<AllowStartOnDemand>true</All
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnly
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>P3D</Exec
<Priority>7</Priority>
</Settings>
<Actions Context="Author">
<Exec>
<Command>"C:\Program Files (x86)\Parallels\Plesk\Addi
</Exec>
</Actions>
</Task>
Business Accounts
Answer for Membership
by: grayePosted on 2009-10-23 at 05:52:53ID: 25643848
I'd check the Local Security Policy (User rights assignments) to see if the Administrator's account is in the "Log on as Batch Job" listing