When the “Run whether user is logged on or not” option is selected in the General tab of the Create Task window the Task Scheduler has to save the password of the selected user.
During the save the following error message appears:
An error has occurred for the task <task name>. Error message: The following error was reported: A specified logon session does not exist. It may have already been terminated.
To enable the Task Scheduler to save the password of the selected user, disable the Network access: Do not allow storage of passwords and credentials for network authentication security policy of the server:
- Click the Start button of the Start Menu and enter SECPOL.MSC into the Search programs and files text field
- On the left side select Security Settings | Local Policies | Security Options
- On the right side double click the Network access: Do not allow storage of passwords and credentials for network authentication policy
- Select the Disabled radio button and click OK