We tried to create a scheduled tasks on a Windows 2008 R2 server to start some (*.bat) batch scripts with a domain service account.
Opened task scheduler and created a new task. When we tried to save our settings we got the following issue:
Task Scheduler failed to start “<Taskname>” task for user “<domain>\<user>”. Additional Data: Error Value: 2147943785.
We checked in eventviewer under security logs, we found "Failure Audit", the service account has not been granted the requested permissions on the system.
We noticed this service account is not having rights on "Logon as a batch job".
Edit the policy which is applied on the server and added this service account under "Logon as a batch job"
Steps:
Open GPMC-> Search for the policy->right click edit-> expand computer configuration-> Windows Settings -> Security Settings -> Local Policies -> User rights assignment
Open the value “Log on as a batch job” and added this service account. After this try to configure your scheduled tasks again and you will have this problem solved.
Sometimes you need to follow below steps:
An error has occurred for task <Taskname>. Error message: The following error was reported: 2147943712
This error appears when the local server policy does not allow Domain accounts to run Scheduled tasks. You can solve this problem by changing the setting in the Registry:
Open the Registry on the server and navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
Created a ValueType ‘REG_DWORD’ with ValueName ‘disabledomaincreds’ and set the Value to “0"
***Share your comments about this post***
Opened task scheduler and created a new task. When we tried to save our settings we got the following issue:
Task Scheduler failed to start “<Taskname>” task for user “<domain>\<user>”. Additional Data: Error Value: 2147943785.
We checked in eventviewer under security logs, we found "Failure Audit", the service account has not been granted the requested permissions on the system.
We noticed this service account is not having rights on "Logon as a batch job".
Edit the policy which is applied on the server and added this service account under "Logon as a batch job"
Steps:
Open GPMC-> Search for the policy->right click edit-> expand computer configuration-> Windows Settings -> Security Settings -> Local Policies -> User rights assignment
Open the value “Log on as a batch job” and added this service account. After this try to configure your scheduled tasks again and you will have this problem solved.
Sometimes you need to follow below steps:
An error has occurred for task <Taskname>. Error message: The following error was reported: 2147943712
This error appears when the local server policy does not allow Domain accounts to run Scheduled tasks. You can solve this problem by changing the setting in the Registry:
Open the Registry on the server and navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
Created a ValueType ‘REG_DWORD’ with ValueName ‘disabledomaincreds’ and set the Value to “0"
***Share your comments about this post***
I really made everything step by step, but I couldn't avoid download dll files https://fix4dll.com/ which were shown on the screen as an error and such mark wasn`t in your recommendations, but I later understood why.
ReplyDeleteIt's about Windows that I believe.
In my case, these files were needed in some other case, they might just not be needed during the installation.