dinsdag 13 maart 2012

Task Scheduler failed to start: Error Value: 2147943645

We have a script scheduled using the Task Scheduler. Now we realised however that the script hadn't run for a while.

when analyzing the scheduled task, we couldn't find any issue... the task was currently running.
However, when we reveiwed the history of the task we noticed there was an error each time it tried to run the task.
The error just said : 'Task Scheduler failed to start "YourScript" task for user "yourUser". Additional Data: Error Value: 2147943645.'



The error message doesn't say much useful. But what does it mean?
Turned out the solution was quite simple: it just means you are trying to run a job with the “Run only wheb user is loffed on” flag set.



This also explains why the job was running succesfully when we checked the task, since we were logged in as the configured user. A real simple solution for a meaningless error message.

10 opmerkingen:

  1. I would probably have taken forever to resolve this problem without your help. Thank you!

    BeantwoordenVerwijderen
  2. Thank you !
    But why does Microsoft alwys have meaningless error messages ? They should hire real programmers.

    BeantwoordenVerwijderen
  3. Yes, i see that, it sound's logical.

    BeantwoordenVerwijderen
  4. Yes, i see that, it sound's logical.

    BeantwoordenVerwijderen
  5. Awesome thanks!
    This was exactly my issue. I had a seperate user for running the task. They got logged out somehow, when i was trying to trouble shoot it i was logged in as me and not that user.
    Thanks!

    BeantwoordenVerwijderen