Task Engine failed to start
Strange goings on, I tell you. I've got a Windows Server 2008 Standard (x64) box running a couple tasks with secondary credentials. This task is very basic, it just calls a custom script every 15 minutes. However, the task has begun to fail with the following in the Event log: Log Name: Microsoft-Windows-TaskScheduler/Operational Source: Microsoft-Windows-TaskScheduler Date: 10/14/2009 4:28:36 PM Event ID: 311 Task Category: Task Engine failed to start Level: Error Keywords: User: SYSTEM Computer: name.domain.com Description: Task Scheduler failed to start Task Engine "S-1-5-21-2601602731-4105866543-3655554989-6874:DOMAIN\USER:Password:LUA" process due to an error occurring in "EngineConnect" . Command="taskeng.exe" . Additional Data: Error Value: 2147942658. 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>311</EventID> <Version>0</Version> <Level>2</Level> <Task>311</Task> <Opcode>101</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2009-10-14T23:28:36.995Z" /> <EventRecordID>525860</EventRecordID> <Correlation /> <Execution ProcessID="332" ThreadID="1140" /> <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel> <Computer>name.domain.com</Computer> <Security UserID="S-1-5-18" /> </System> <EventData Name="TaskEngineProcessLaunchFailed"> <Data Name="TaskEngineName">S-1-5-21-2601602731-4105866543-3655554989-6874:DOMAIN\USER:Password:LUA</Data> <Data Name="Command">taskeng.exe</Data> <Data Name="ErrorDescription">EngineConnect</Data> <Data Name="ResultCode">2147942658</Data> </EventData> </Event> If I restart the computer, open the task and re-enter the credentials, it will run fine for about a month, then it just starts failing with this same message. I can run the script fine manually with the provided credentials. Would greatly appreciate any help! Thanks.
October 15th, 2009 7:49pm

Hi Matt, Thank you for posting in windows forums,With out restarting the OS , can you launch the script with administrator and check if the problem persists , also what does your script do ?sainath !analyze
Free Windows Admin Tool Kit Click here and download it now
October 15th, 2009 10:55pm

Dave and David: KB 950363 Doesn't apply. The task is configured for Server 2008 and the "Stop if the computer ceases to be idle" option is not being used. The Security policy is already correct and the registry key "disabledomaincreds" value is already 0. Sainath: Yes, I can run the script manually (as the domain user via the command line, needs to run with specific creds, not Administrator). This particular script maps a drive (samba share on a Gentoo box), copies data, removes the drive map. This is happening for all tasks that are running with separate, non system, non admin domain credentials. Thanks for the responses. Other thoughts?
October 16th, 2009 11:41am

Hi, If on your machine the schedules failed due to "task engine failure" then follow the following steps:- 1.Uninstall the product. 2.Reboot the machine. 3.Fresh install the product. 4.Now,try schedules with "amandabackup" user. (I did above steps on my win-7 machine & my schedule worked fine with "amandabackup" user. Thanks, Sachin yelmar QA Engineer
Free Windows Admin Tool Kit Click here and download it now
October 5th, 2011 5:49am

For what it's worth, I ran into this same problem with a scheduled task, and it ended up being I did not have the proper domain authentication set in my users group. I followed this: http://support.microsoft.com/kb/970879 and added the domain account that I was using also to the users group and that resolved my issue.
August 7th, 2012 10:33am

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

Other recent topics Other recent topics