PC & Mobile

A specified logon session does not exist – Task Scheduler Error

Whether on a Windows Server machine or Windows 11/10 consumer machine, you might get the error immediate with the message A specified logon session does not exist once you attempt to create a scheduled process utilizing Task Scheduler. This put up provides a sensible resolution to the difficulty.

When this error happens on the pc, relying on the model of Windows, the next full message with the accompanying error code is displayed:

A specified logon session does not exist. It could have already got been terminated. (Exception from HRESULT: 0x80070520)

An error has occurred for the duty <TaskTitle>. Error message: The following error was reported: A specified logon session does not exist. It could have already been terminated.

According to affected customers, the pc throws this error whether or not logged on as a Local Administrator, Domain Administrator, or every other person that had the appropriate to go online regionally.

Do you want admin rights to run Task Scheduler?

If an administrator created a scheduled process on a selected machine, every other logged-in person on the machine would require administrator rights to switch permissions to have the ability to allow or disable scheduled duties within the Task Scheduler. If it’s a scheduled process {that a} non-admin person account has created, any person that’s logged on to the system can disable, delete, or edit the duty.

Read: Task Scheduler Access is denied. Error code 0x80070005

A specified logon session does not exist – Task Scheduler Error

Upon investigations following quite a few studies by affected pc customers, it was revealed that the Task Scheduler error: A specified logon session does not exist will solely happen if the Network entry: Do not permit storage of passwords and credentials for community authentication safety coverage is enabled and you choose the Run whether or not person is logged on or not safety choice on the General tab when creating a brand new process on the Windows server or consumer machine. It’s crucial to level out that, the error will not happen if the person selects the Run solely when person is logged on safety choice on the General tab as passwords are not saved on this situation.

How do you allow Run whether or not person is logged on or not?

When making a scheduled process, if you wish to run the duty with the choice Run whether or not person is logged on or not, then you need to activate the choice Run with highest privileges. Once this feature is activated on the system, the duty will run whether or not the person is logged or not. You must do that each time a brand new job is created or edited by way of the Task Scheduler.

Read: Prevent others from creating Tasks in Task Scheduler in Windows

Investigations additional revealed the error in view will most definitely happen on machines working newer variations of the Windows working system. On these variations of Windows, Task Scheduler makes use of Credential Manager to retailer the credentials of the account that’s specified to carry out a process. If the community entry safety coverage recognized above is enabled and utilized, the Credential Manager can not retailer the credentials regionally, consequently, this error message seems.

Read: Windows Credential Manager loses credentials after reboot

As that is the case, the one relevant repair to resolve this subject is to easily set the referenced coverage to disabled.

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

To carry out this process, do the next:

  • Press the Windows key + R to invoke the Run dialog.
  • In the Run dialog field sort secpol.msc and hit Enter to open Local Security Policy Editor.
  • Inside the Local Security Policy Editor, use the left pane to navigate to the trail beneath:
Security Settings > Local Policies > Security Options
  • At the situation, on the appropriate pane, find and double-click the Network entry: Do not permit storage of passwords and credentials for community authentication coverage to edit its properties.
  • In the properties window that opens, set the radio button to Disabled.
  • Click Apply > OK to save lots of the adjustments.
  • Exit Local Security Policy Editor.

That’s it!

Read subsequent: Fix Task Scheduler failed to start out, Event ID 101

Is disabling Task Scheduler secure?

It’s not beneficial for PC customers to disable this service – doing so, will affect important performance or stop particular roles or options from functioning appropriately. Below are among the high Windows Task Scheduler alternate options:

  • ActiveBatch Workload Automation.
  • Redwood RunMyJobs.
  • Stonebranch Workload Automation.
  • JAMS Scheduler.
  • VisibleCron.
  • Z-Cron.
  • Advanced Task Scheduler.
  • System Scheduler.

Read: Task Scheduler service is not accessible error on Windows.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button