Solved

Error message: A specified logon session does not exist

Posted on 2011-03-02
4
1,939 Views
Last Modified: 2012-05-11
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
Comment
Question by:neilsav
  • 2
4 Comments
 
LVL 61

Accepted Solution

by:
btan earned 500 total points
ID: 35045242
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
 
LVL 61

Expert Comment

by:btan
ID: 35045268
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now