Task Scheduler intermittent failure (Error Value: 2147943767)


In Windows 10, I have a Task in the Windows Task Scheduler that triggers at a certain time and also can run on demand. The Task comprises four Actions, each calling the same program with very similar options.

Though the first of the four Actions will occasionally succeed, the Task will always fail on the second action. The failure produces details similar to:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
        <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{GUID####-##...}" /> 
        <TimeCreated SystemTime="1900-01-01T00:00:00.000000000Z" /> 
        <Correlation /> 
        <Execution ProcessID="76" ThreadID="10964" /> 
        <Security UserID="S-###" /> 
    <EventData Name="TaskStartFailedEvent">
        <Data Name="TaskName">\Name-of-Task</Data>
        <Data Name="UserContext">DOMAIN\user</Data>
        <Data Name="ResultCode">2147943767</Data>

If the first Action fails, the Task reports:

The operator or administrator has refused the request 0x800710E0

I use the "Run whether user is logged on or not" option, and I see results like these whether or not I have checked the "Do not store password. The task will only have access to local computer resources." option (and again, what does that option mean?). The user has "Log on as a batch job" rights, and I can run the same command in a normal non-elevated command prompt window successfully every time.

What could cause this failure and if it fails sometimes, why would it succeed at all?

asked on Super User Oct 25, 2016 by palswim • edited May 23, 2017 by Community

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0