I am creating a windows schedule task using my C# program. All the properties of the schedule I am setting via that program. Everything was fine and all the created scheduled ran successfully.
But suddenly I am getting the below error when I ran the schedule.
Task Scheduler failed to start "\MYSchedule_Test2" task for user "WINmachine\administrator". Additional Data: Error Value: 2147942658.
I am running my program Windows Server 2008 R2 SP1.
Though this is not the forum to contact for this... I've seen this error and the cause is that the user credentials are corrupted in the scheduler. To fix it is to re-enter the administrator and password password in the shceduled task in Tash Scheduler. To trigger Task Scheduler to prompt for the credentials make a small change to the task in Task Scheduler