running a scheduled task in windows 2008 r2
when running the scheduled task the following failures are returned. does anyone know what the of these are and how to get the tasks to run successfully Log Name: Microsoft-Windows-TaskScheduler/Operational Source: Microsoft-Windows-TaskScheduler Date: 10/8/2010 3:00:00 AM Event ID: 203 Task Category: Action failed to start Level: Error Keywords: User: INT\svcacctniim Computer: p51nifpb01.int.mvnt.lan Description: Task Scheduler failed to launch action "E:\MyApps\CleanDir\CleanDir.exe" in instance "{732da840-81c2-488b-84e6-d10c9f830af0}" of task "\CleanDir". Additional Data: Error Value: 2147942667. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" /> <EventID>203</EventID> <Version>0</Version> <Level>2</Level> <Task>203</Task> <Opcode>101</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2010-10-08T07:00:00.492860100Z" /> <EventRecordID>24992</EventRecordID> <Correlation ActivityID="{732DA840-81C2-488B-84E6-D10C9F830AF0}" /> <Execution ProcessID="3168" ThreadID="7320" /> <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel> <Computer>p51nifpb01.int.mvnt.lan</Computer> <Security UserID="S-1-5-21-154405328-2802981858-2054149546-77366" /> </System> <EventData Name="ActionLaunchFailure"> <Data Name="TaskName">\CleanDir</Data> <Data Name="TaskInstanceId">{732DA840-81C2-488B-84E6-D10C9F830AF0}</Data> <Data Name="ActionName">E:\MyApps\CleanDir\CleanDir.exe</Data> <Data Name="ResultCode">2147942667</Data> </EventData> </Event> AND Log Name: Microsoft-Windows-TaskScheduler/Operational Source: Microsoft-Windows-TaskScheduler Date: 10/8/2010 3:00:00 AM Event ID: 103 Task Category: Action start failed Level: Error Keywords: (1) User: INT\svcacctniim Computer: p51nifpb01.int.mvnt.lan Description: Task Scheduler failed to start instance "{732da840-81c2-488b-84e6-d10c9f830af0}" of "\CleanDir" task for user "INT\svcacctniim" . Additional Data: Error Value: 2147942667. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" /> <EventID>103</EventID> <Version>0</Version> <Level>2</Level> <Task>103</Task> <Opcode>102</Opcode> <Keywords>0x8000000000000001</Keywords> <TimeCreated SystemTime="2010-10-08T07:00:00.492860100Z" /> <EventRecordID>24993</EventRecordID> <Correlation ActivityID="{732DA840-81C2-488B-84E6-D10C9F830AF0}" /> <Execution ProcessID="3168" ThreadID="7320" /> <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel> <Computer>p51nifpb01.int.mvnt.lan</Computer> <Security UserID="S-1-5-21-154405328-2802981858-2054149546-77366" /> </System> <EventData Name="TaskFailureEvent"> <Data Name="TaskName">\CleanDir</Data> <Data Name="InstanceId">{732DA840-81C2-488B-84E6-D10C9F830AF0}</Data> <Data Name="UserContext">INT\svcacctniim</Data> <Data Name="ResultCode">2147942667</Data> </EventData> </Event> AND
October 8th, 2010 8:57am

Are you sure that this application exists on client computer and user in whose context task scheduler is starting that task have permissions?With kind regards Krystian Zieja http://www.projectnenvision.com Follow me on twitter My Blog
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2010 9:22am

Hello NYCEatAMH, Please check whether the “Start-in (Optional)” path under Action Tab are not included quotes if you configured, the path in the “Start-in (Optional)” field does not require quotes even if there are spaces in the path, as shown in the following figure. A scheduled task does not run as expected if a command-line argument is enclosed in quotation marks on a computer that is running Windows Server 2008 or Windows Vista SP1 http://support.microsoft.com/kb/951246 Additional Information: A Group Policy Immediate Task preference item does not run on a client computer that is running Windows 7 or Windows Server 2008 R2 http://support.microsoft.com/kb/977353/en-us Task Scheduler Changes in Windows Vista and Windows Server 2008 http://blogs.technet.com/b/askperf/archive/2008/06/24/task-scheduler-changes-in-windows-vista-and-windows-server-2008-part-one.aspx http://blogs.technet.com/b/askperf/archive/2008/10/10/task-scheduler-changes-in-windows-vista-and-windows-server-2008-part-two.aspx http://blogs.technet.com/b/askperf/archive/2009/03/17/task-scheduler-changes-in-windows-vista-and-windows-server-2008-part-three.aspx The Schtasks command http://blogs.technet.com/b/askperf/archive/2010/05/14/two-minute-drill-the-schtasks-command.aspx Brent Hu, Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
October 12th, 2010 3:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics