Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve a Windows 10 Scheduler error

I have several tasks in Windows 10 that have recently failed. I've made no recent changes to the server. The tasks were working fine for years, and then started failing in December of 2017. I have the Scheduler tasks configured to run on System Startup.
When I check the History tab, I see:

Task Start Failed error: Additional Data: Error Value: 2147943712.

The task/General Tab is configured as follows:

  • Run whether user is logged on or not
  • Do not store password.
  • Run with highest privileges
  • Configure for Windows 10

The user account is "Admin". That user has no password and is an administrator.

When I try to Run the task from the Selected Item / Run option, the scheduler logs the same error. Based on other posts, I've tried to edit the User Account, re-typing Admin and pressing the Check Names button. It shows the SERVERNAME\Admin, and does not prompt for a password.

How can I configure the task manager so that it does not produce this error?

like image 342
user3138025 Avatar asked Jan 15 '18 01:01

user3138025


People also ask

How do you fix Task Scheduler service started and then stopped?

Type Services. msc in Start Search, open the app, scroll down to Task Scheduler service, click on it, make sure it is Running and Set to Automatic. Then click the Dependencies tab, make sure those services are running too.

How do I check my Task Scheduler error?

1 Answer. open Event Viewer and navigate to Applications and Services Logs / Microsoft / Windows / TaskScheduler / Optional, you will see all the Task Histories. The . evt files are under C:\Windows\System32\Winevt\Logs directory.


1 Answers

The error code returned (0x80070520 in hex) is "A specified logon session does not exist. It may already have been terminated."

According to this technet blog entry, the solution may be to disable the security policy which prevents local storage of passwords.

like image 92
Ferruccio Avatar answered Dec 21 '22 15:12

Ferruccio