Error when creating scheduled task

Dec 3, 2013 at 11:15 AM
Hey,

When running the script as admin with the -install switch, the following error is displayed after entering my credentials :
ERROR: A specified logon session does not exist. It may already have been terminated.
The user is member of the local admin group.

Any idea ?
Apr 29, 2015 at 6:42 AM
I Think you need to Disable

SECPOL.MSC | Security Settings | Local Policies | Security Options

Network access: Do not allow storage of passwords and credentials for network authentication

Please refer below link
http://blogs.technet.com/b/askperf/archive/2012/04/18/task-scheduler-error-a-specified-logon-session-does-not-exist.aspx
Marked as answer by Samurai_ka on 11/5/2015 at 8:21 AM