Task Schduler - Task failed to start - Launch error - 2147944189

EMV 1 Reputation point
2022-06-27T02:36:05.813+00:00

Hi,

I have an issue with Task Scheduler in windows 10 where some of the virtual machines failed to run the script which is scheduled to run at startup but with same script and settings for task scheduler there are VMs running fine, for example If I clone 10 VMs from same template there will be 5 failed and 5 success ratio for Task scheduler and If I manually run the script on failed VMs it will work fine.
While debugging the issue I have found following error from Task Scheduler history

Task Scheduler failed start <domain account details>. Additional Data: Error Value 2147944189
Event id: 101
OpCode: Launch Failure

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,038 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,796 Reputation points
    2022-06-28T08:33:01.047+00:00

    Hi EMV-4590,

    I had this issue with the windows task scheduler on a VM. The reason for the task failure was a change in the password of the system user who was configured when the task was created. This could be your issue if the VMs are being created using incorrect user details. You can either confirm this and set the correct system user credentials on VM creation, or retrospectively:

    1) Go to properties of the task
    2) Under General tab, click on "Change User or Group..."
    3) Enter the username in the field "Enter the object name to select"
    4) This will ask for Authentication, provide your credentials


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. EMV 1 Reputation point
    2022-06-29T03:55:20.053+00:00

    Hi LimitlessTechnology-2700, Thank you for your reply on this, In my scenario this issue is an intermittent If I clone 10 VM from same template 5 VMs will work fine and remaining will not run the script configured with task scheduler

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.