Enable Windows Task Scheduler History

Enable-Windows-Task-Scheduler-History

If you have any tasks running through your Windows Task Scheduler, then you may notice an issue where the history of any of the tasks that have been setup, is not being shown. You will also see that the last status code is 0x0 which means that the task is actually running and completing successfully.

Task Scheduler History Disabled Option
Click to enlarge

So why is there no history?

The reason that there is no history showing is that you have to enable it for Task Scheduler. To do this, you have two options; enabling using the Windows GUI or running a command line. If you are in a corporate environment and want to enable the Task Scheduler history on multiple machines, then the command line method will be useful to you for using with Group Policy or Configuration Manager.

Set Task Scheduler History Using Windows GUI

  1. Open an elevated Task Scheduler (right-click on the Task Scheduler icon and choose Run as administrator)
  2. In the Actions pane (right pane, not the actions tab), click Enable All Tasks History
Enable Task Scheduler History

Set Task Secheduler History Using a Command Line

  1. Open an elevated Task Scheduler (right-click on the Task Scheduler icon and choose Run as administrator)
  2. Run the following command:
wevtutil set-log Microsoft-Windows-TaskScheduler/Operational /enabled:true
Task Scheduler Enable History using Command Line

Task Scheduler Commands

Below are some other commands you can also run in an elevated Command Prompt to check the status of your tasks.

Check current state of Task Scheduler

wevtutil get-log Microsoft-Windows-TaskScheduler/Operational

Keystroke-averse – abbreviated versions

wevtutil sl Microsoft-Windows-TaskScheduler/Operational /e:true
wevtutil gl Microsoft-Windows-TaskScheduler/Operational

Feedback

We love you hear your feedback on our guides, so if this has helped you out at all, or if you have any questions on this guide or any other available on our blog, please feel free to leave us a comment below in our comments section.

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 21 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong

4 Comments on “Enable Windows Task Scheduler History”

  1. This was very helpful. By default, it only seems to keep about 24 hours worth of history. Is there a way to configure the retention settings?

  2. This was very helpful. By default, it only seems to keep about 24 hours worth of history. Is there a way to configure the retention settings?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.