martedì 4 novembre 2014

Windows Server 2012 Task Scheduler launch failure error 101 code 2147943785

Problema:

Può capitare che un task, schedulato nel Task Scheduler di un server Windows Server 2012, non venga eseguito all'orario impostato

Lo scheduler ci fornisce il log riportato sotto :

Log Name:      Microsoft-Windows-TaskScheduler/Operational
Source:        Microsoft-Windows-TaskScheduler
Date:          03/11/2014 07:00:00
Event ID:      101
Task Category: Task Start Failed
Level:         Error
Keywords:      (1)
User:          SYSTEM
Computer:      MyServer.domain.com
Description:
Task Scheduler failed to start ""\Jobs\MyJob" task for user "MyServiceUser". Additional Data: Error Value: 2147943785.
Event Xml:



Soluzione :


  1. Assicurarsi che il task venga eseguito se l'account esecutore è loggato o meno




2.  Gli account utilizzati per l'esecuzione dei task richiedono permessi aggiuntivi come il        "Logon as batch job"

Per l'assegnazione si va in :

Administrative Tools -> Local Security Policy -> Local Policies -> User Rights Assignment -> Log On As Batch Job




Nessun commento:

Posta un commento