• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2131
  • Last Modified:

Error message: A specified logon session does not exist

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.
0
neilsav
Asked:
neilsav
  • 2
1 Solution
 
btanExec ConsultantCommented:
one way is also to check if the configuration has been deployed - cna check out "How to check that the GPO was deployed"
 in @ http://www.petri.co.il/working_with_group_policy.htm

actually as you mentioned the error would be similar to this as well except that it is referring to local policy
@ http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_26414283.html

Note that normally it takes a few minutes before the new policies you have configured take effect. It will be about 20 minutes after Group Policy refreshes (applies any new settings to the client computer). By default, computer Group Policy refreshes in the background every 90 minutes, with a random offset of 0 to 30 minutes. Probably to refresh Group Policy sooner, gpupdate /force can help but I am suspecting that the system may bee reboot too....
0
 
btanExec ConsultantCommented:
Just see that this link will be useful for deploying GPO
@ http://technet.microsoft.com/en-us/magazine/2007.02.troubleshooting.aspx
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now