Error message: A specified logon session does not exist
Posted on 2011-03-02
We are running into an issue with the Task Scheduler. On each server, we have multiple scheduled tasks that must be run every minute as the domain account "YYYYYYYY."
The existing tasks do not run and show the error "Ensure the credentials for
task are correctly specified." When we try to recreate the task, we get the
error "An error has occurred for task XXXXXXX. Error message: The following
error was reported: A specified logon session does not exist. It may already
have been terminated."
From doing some Google searching, the common advice has been to edit the
group policy to ensure that the YYYYYYYY is listed under the "Logon as
batch job" and the "Network access: Do not allow storage of passwords and
credentials for network authentication" policy is set to disabled. We have
made both these changes on the domain controller and ran "gpupdate /force"
(twice) however the problem still exists.