You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Task fails to be updated for few of our customers with the error: ERROR [<UpdateTask>b__3 Intuit.Services.TaskScheduleManager.TaskSchedulerWapper+<>c__DisplayClass5_1] - Task update failed for the path : 'C:\Users\<username>\AppData\Roaming\Intuit\BU\Install\1.1.16\Intuit.BU.SelfUpdater.exe' error System.Runtime.InteropServices.COMException (0x80070534): (23,39):UserId:<MachineName>\<UserName> � Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.RegisterTaskDefinition(String Path, ITaskDefinition pDefinition, Int32 flags, Object UserId, Object password, TaskLogonType LogonType, Object sddl) � Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl) � Microsoft.Win32.TaskScheduler.Task.RegisterChanges() � Intuit.Services.TaskScheduleManager.TaskSchedulerWapper.<>c__DisplayClass5_2.<UpdateTask>b__2() � Intuit.Common.Utilities.Wrapper.SafeCall(Action action, Action1 onErrorCallBack, Action onSuccessCallBack)`
We have written a software updater application that gets triggered with this task automatically after a regular interval. Another software of ours has to update this task some times. That updation is failing for a few customers out of thousands with above error. We know that task used to update fine on these machines earlier but it stopped updating tentatively after sept 2023.
This tells me that there is a problem with credentials at the time this is called. I would check the results of this line of code to ensure you are getting an identity name that is valid on the system.
Describe the bug
Task fails to be updated for few of our customers with the error:
ERROR [<UpdateTask>b__3 Intuit.Services.TaskScheduleManager.TaskSchedulerWapper+<>c__DisplayClass5_1] - Task update failed for the path : 'C:\Users\<username>\AppData\Roaming\Intuit\BU\Install\1.1.16\Intuit.BU.SelfUpdater.exe' error System.Runtime.InteropServices.COMException (0x80070534): (23,39):UserId:<MachineName>\<UserName> � Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.RegisterTaskDefinition(String Path, ITaskDefinition pDefinition, Int32 flags, Object UserId, Object password, TaskLogonType LogonType, Object sddl) � Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl) � Microsoft.Win32.TaskScheduler.Task.RegisterChanges() � Intuit.Services.TaskScheduleManager.TaskSchedulerWapper.<>c__DisplayClass5_2.<UpdateTask>b__2() � Intuit.Common.Utilities.Wrapper.SafeCall(Action action, Action
1 onErrorCallBack, Action onSuccessCallBack)`We have written a software updater application that gets triggered with this task automatically after a regular interval. Another software of ours has to update this task some times. That updation is failing for a few customers out of thousands with above error. We know that task used to update fine on these machines earlier but it stopped updating tentatively after sept 2023.
I searched for the error code "0x80070534" to find some of the recent bugs in OS patches:
https://borncity.com/win/2023/10/14/exchange-server-oct-2023-updates-fail-with-error-0x80070534/#:~:text=The%20error%20code%200x80070534%20stands,occurs%20only%20on%20single%20systems).
To Reproduce
Steps to reproduce the behavior:
Task Creation Sample Code:
Task Update Sample Code:
Per the callstack that I pasted above in the description, I see that it fails in
TaskScheduler/TaskService/V2/TaskSchedulerV2Interop.cs
Line 371 in 273ccbe
But I can't see the interop component its calling.
Expected behavior
The path of action i.e. Exe path should be updated in Task but task fails to update.
Screenshots
Environment (please complete the following information):
Library version used: 2.10.1
Windows Versions where this issue was observed:
The windows version are just from 4 of our customers, but the issue may just not limited to these versions.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: