Hi.
This error is usually caused by Task Scheduler being unable to find the specified logon session. This could be because the session has expired or been logged out, or because the session has not been started. You can try restarting your computer and see if the problem persists. If the problem persists, check that the scheduled task is configured correctly.
Hope the information is helpful.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.