Task Scheduler failed to start. Additional Data: Error Value: 2147943726
Asked Answered
V

10

98

I am using windows 10 task scheduler to run tasks that require me using my personal user account (its necessary to use my user and not system user because of permission issues - I am part of an organization). In windows 7 computers everything worked fine but as we upgraded to win 10 I cant run the tasks without using the System user (as mentioned before it doesn't work because of permissions). I get the following error

Additional Data: Error Value: 2147943726

all I found online was an advice to use the system user other then that nothing :-(

please save my day.

here is a picture of the settings that I want to change.

img of the task scheduler

Vintager answered 3/6, 2017 at 20:35 Comment(0)
B
118

Today I got the same problem, (HRESULT) 0x8007052e (2147943726) "unknown user name or bad password"

My solution: was to Re-Asign the User on the "Change User or Group" button to get the lattest Active Directory information of the User.

Then I could Run the Task Again...

As a better practice, you could use an "Aplicative" User instead of a regular User which change more often in regular basis.

If you use your account, it may change your password every some quantity of days... and you will need to "fix it" again...

If you use an "Aplicative" account, it may change less than regular User...

You could do this by going to the task tab "General", then "Change User or Group" and assigning the "Aplicative" account, then "OK" Button.

Brusquerie answered 17/7, 2017 at 14:49 Comment(3)
According to appuals.com/how-to-fix-task-scheduler-error-value-2147943726, the applicative object name is "Users".Aguilar
With "Users" (BUILTIN\Users), the task was running in the foreground. So i used "System" (NT AUTHORITY\SYSTEM).Aguilar
I think,..... the second Method 2 in the url appuals.com... is working changing to stop the instance, but the correction is about getting again the password to change the task, not about setting to stop the instance.... because the problem it is not having the password... so when you enter and change anything not important, but write down again the password, then it is actualiced the password itself and it is solved because of that... not the stop... Regards from México!!!Brusquerie
S
42

I had the same issue with the windows task scheduler.

The reason for the failure is the recent change in the password of the system user which was configured at the time of task creation.

Solution:

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

Thats it !

Synge answered 17/10, 2017 at 5:57 Comment(3)
If this is a first-time setup as in my case, in a corporate tech development context, the key details i miss was use my corporate username at the step: enter the username in the field "Enter the object name to select". After using my corporate username and password, I was able to run a batch script to start my Citrix desktop at pre-determned time.Gynaecomastia
As a security measure, my password is automatically replaced every day by our IT department. Is there an alternative solution for scheduling an automated task when the password is not constant?Jarad
Late, but worth noting that some IT departments will set up 'service accounts' for automation and exclude it from password policies that would prevent automated tasks from running.Trioxide
P
13

I had to select the option to "Do not store password. The task will only have access to local computer resources.", which was fine based on what the task was defined as. For me, I suspect some sort of recent patch or security hardening caused this as it seemed to move through our environments at similar but different days.

Promontory answered 6/2, 2018 at 18:25 Comment(0)
A
9

I know it is a late answer, I had the same issue today, a scheduled task I had created a long time ago and stopped running a week ago. Turns out I had changed the password for my username which was the issue. once I went back to the task, made a change I was asked for the password again.

Akerley answered 29/1, 2019 at 15:20 Comment(1)
This pointed me in the right direction, and found this other link with screen shots, which was very helpful: appuals.com/how-to-fix-task-scheduler-error-value-2147943726Krissykrista
M
5

After reading this post this is what worked for me. Go to properties of task Under General tab, at the bottom of that window you will see Configure for: Change that to the system you are using (in my case server 2012 R2) hit ok and enter your password.

Marron answered 11/3, 2019 at 16:3 Comment(0)
B
4

When choosing "Run whether user is logged in or not" on Windows Server 2019 I was getting the error message:

An error has occurred for task Dealer Portal data import. Error message: The following error was reported: 2147943712

There is a Group Policy setting that stops this working, you can disable it with the following steps:

  1. Start > Run > secpol.msc
  2. Security Settings > Local Policies > Security Options > Network access: Do not allow storage of passwords and credentials for network authentication
  3. Disable that

Now you can save the Scheduled Task

Bluebird answered 13/5, 2020 at 2:44 Comment(1)
This was our problem. We made a Group Policy change that included the "Network access: Do not allow storage of passwords and credentials for network authentication" setting set to "Enabled" that was causing a couple scheduled tasks to fail with error code 2147943712. Our solution was to set the task to "Only run when user is logged on" since we would like to keep this policy in place. This works since the VM the tasks run from is dedicated to this single user and it stays signed in.Selectman
G
4

Go to Control Panel>System and Security>Administrative Tools -> Local Security Policy -> Local Policies -> User Rights Assignment -> Log on as a batch job

Add the System User.

Greenshank answered 7/1, 2021 at 6:12 Comment(0)
L
3

What I realized is that failure is tied to a password expired policy. The PC got a sort of "frozen" state for the scheduler until a new password is set. The problem is solved once the new password is taken into account by the system.

Highly recommended to perform a little change for the scheduler to ask a new password entry and update the task.

Leund answered 10/3, 2018 at 18:23 Comment(0)
C
1

You can also simply edit the properties of each task (you don't have to change anything), hit ok, and you'll be prompted for your new password. "Conveniently", I didn't see a way to do all of them at once.

Cotenant answered 18/1, 2018 at 13:49 Comment(0)
P
1

We had the same problem with Windows 2012 server machines being cloned on a vmware ESX server. The clone/deployment script used sysprep to make every machine individual. With this the users assigned with the scheduled task got screwed up. Our solution was to re-generate the task via batchfile during startup of the machine:

REM Delete the task:
SCHTASKS /Delete /TN "NameOfScheduledTask" /f

REM Create a task to run every 5 minutes
SCHTASKS /Create /TN NameOfScheduledTask /SC MINUTE /MO 5 /TR "some command for task" /NP
Pimp answered 28/5, 2019 at 13:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.