I've added a scheduled task to Windows Task Scheduler -- the task does not show up to SYSTEM

Thomas Schweikle 1 Reputation point
2023-03-17T09:38:13.7433333+00:00

I've defined a scheduled task with path "<username><taskname>". This task is scheduled to run every few minutes within the SYSTEM account. The task shall query the task scheduler for the next run. This fails, while the task is running. It does not fail if I run the task from an administrative account (it fails too, if the task is run as "normal" user).

SYSTEM just is not able to list or retrieve Information about this task.

Is there a way to change this, so SYSTEM can retrieve information about this task? SYSTEM does not need to change this task, but it needs to find the next run.

Any way to allow SYSTEM to list these tasks and query them?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,776 Reputation points
    2023-03-20T13:50:52.8+00:00

    Hello there,

    Might check the user has at least list permissions on the files in C:\Windows\System32\Tasks.

    Have you already tried navigating to C:\Windows\System32\Tasks to see if it appears there? If it isn't visible, try performing a search within that folder hierarchy. Just to double-check, is it possible that the task name you chose matches a default/built-in Windows task that already exists?

    You can also use this script to track the logs https://social.technet.microsoft.com/Forums/windows/en-US/6b9b7ac3-41cd-419e-ac25-c15c45766c8e/scheduled-task-that-any-user-can-run

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.