Active Directory

Task Scheduler Error “A specified logon session does not exist”

A specified logon session does not exist

Hello All,

Hope this post finds you in good health and spirit.

This post is regarding Task Scheduler Error “A specified logon session does not exist”

Task Scheduler Error “A specified logon session does not exist”

This specific problem included using Task Scheduler on a Windows 2008 R2 Server to create a task (can occur on Windows 7 as well). We were unable to create a scheduled job because of the following error:

There was a problem with the task “task name.” Message of error: The following error was found: A specified logon session does not exist. It may have already been terminated.

This error is an exception raised by Windows Task Scheduler if the following security policy is enabled:

Security Settings > Local Policies > Security Options > Network access: Do not allow storage of passwords and credentials for network authentication.

GPEDIT.MSC | Security Settings | Local Policies | Security Options Network access: Do not allow storage of passwords and credentials for network authentication

Resolution:

  1. Open Local Security Policy Console by running GPEDIT.msc in the Run dialog box.
  2. Go to Security Settings > Local Policies > Security Options > Network access: Do not allow storage of passwords and credentials for network authentication.
  3. Double-click to open the policy and select Disabled.
  4. Click Apply and then OK.

if this is configured by domain policy, please make the changes as per above steps and update the group policy on client machine to effect these changes.

NOTE: If you select the “Run only when user is logged on” Security option under the General page, you won’t get this problem (we do not store passwords in this scenario).

So, that’s all in this blog. I will meet you soon with next stuff .Have a nice day !!!

Recommended contents

RODC Installation Guide- Step by step guide to install read only domain controller

RODC Filtered Attribute Set

Installing and configuring a RODC in Windows Server-2012

How to find the GUID of Domain Controller

Understanding Group Policy Preferences

Group Policy Verification Tool GPOTool Exe

Group Policy Health Check on Specific Domain Controller

What is Netlogon Folder in Active Directory

Create Custom Attributes in Active Directory

Check the Tombstone Lifetime of My Active Directory Forest

Determine a Computers AD Site From the Command Line

Check the Active Directory Database Integrity

Check the Active Directory Database Integrity

Disabling and Enabling the Outbound Replication

DFS Replication Service Stopped Replication

What is Strict Replication Consistency

The replication operation failed because of a schema mismatch between the servers involved

Troubleshooting ad replication error 8418 the replication operation failed because of a schema mismatch between the servers

How to export replication information in txt file

Repadmin Replsummary

Enabling the outbound replication

Guys please don’t forget to like and share the post.Also join our WindowsTechno Community and where you can post your queries/doubts and our experts will address them .

You can also share the feedback on below windows techno email id.

If you have any questions feel free to contact us on admin@windowstechno.com also follow us on facebook@windowstechno to get updates about new blog posts.

How useful was this post?

Click on a star to rate it!

As you found this post useful...

Follow us on social media!

Was this article helpful?
YesNo

Vipan Kumar

He is an Active Directory Engineer. He has been working in IT industry for more than 10 years. He is dedicated and enthusiastic information technology expert who always ready to resolve any technical problem. If you guys need any further help on subject matters, feel free to contact us on admin@windowstechno.com Please subscribe our Facebook page as well website for latest article. https://www.facebook.com/windowstechno
Check Also
Close
Back to top button