Dumping task scheduler logs and receiving access warning.

Tim White 0 Reputation points
2023-11-20T16:10:01.73+00:00

Hi,

I am trying to build a site timeline of task scheduler job history. I do this by dumping the task scheduler logs from different servers and then post processing. My application works well but some jobs are missing. In a dump (schtaks /Query /FO TABLE /V /HRESULT, "/S server" added for remote hosts). I often see this error message, 'There are no scheduled tasks presently available at your access level.' scattered throughout my output dump. I have used psexec -s to execute schtasks at SYSTEM level and still receive the error message. Is there any definitive way to dump the entire task scheduler log? TIA

Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wesley Li 11,280 Reputation points
    2024-01-10T07:32:44.57+00:00

    Hello

    It seems like you’re encountering an issue with access levels when trying to dump the entire Task Scheduler log. Here are a few suggestions that might help:

    Elevate Privileges: If your account is that of an administrator, you could use PsExec from SysInternals to elevate your task to SYSTEM level. However, you mentioned that you have already tried this and are still receiving the error message.

    Event Viewer: You can try using the Event Viewer application to access the Task Scheduler logs. Here are the steps:

    Open the Event Viewer application.

    Go to the “Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows > TaskScheduler” folder on the sidebar.

    Double-click on the “Task Scheduler” folder.

    Right-click on the “Operational” entry.

    Select the “Clear log” option.

    Third-Party Tools: There are third-party tools available that can help you export and import scheduled tasks. These tools might provide more flexibility and control over the tasks you can access.

    Best Regards,

    Wesley Li

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    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.