Link to home
Start Free TrialLog in
Avatar of SGSIt
SGSItFlag for Italy

asked on

can't schedule task - A specified logon session does not exist

Hello
We tried to schedule task on W2008 R2 x64 but and the following error appear :

the following error was reported: A specified logon session
does not exist. It may already have been terminated


task.JPG
error.JPG
ASKER CERTIFIED SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TCBanksIT
TCBanksIT

I have the exact same problem with two of my 2008 R2 servers. I do not see the option for a policy named "Allow user to save server credentials".

Thanks for any help
This change occurred between Windows 2003 and Windows 2008 and has to do with how scheduled task credentials are stored.  The bad part is that enabling this setting is one of the recommendations from the center for internet security benchmarks on Server 2008.

The actual policy setting is Network access: Do not allow storage of credentials or .NET Passports for network authentication

The path to the policy setting is Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Network access: Do not allow storage of credentials or .NET Passports for network authentication
There is a workaround for this that worked for me.  Run Regedit and find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\

Find 'disabledomaincreds'.  If it's set to a 1change to 0

You should now be able to use your credentials to save/edit the Scheduled Task