In this tech article, we are going to learn how to enable Task Scheduler history on Windows 11, 10 & Windows latest server editions operating systems.
On Windows 11, 10, OR the latest server operating system by default Task Scheduler history is disabled and we can only see Name, Status, Triggers, Next Run Time, Last Run Time, Last Run Result, Author and Created.
Sometimes, we may need to see the history of the task to make sure that the task created by you is working as expected but as we mentioned earlier that nothing is being recorded by default since the history tab is disabled.
To record every task’s events log, we will have to enable history on the Task scheduler for Windows 11, and 10(This works on the latest Windows Server Operating system too).
Let’s go through this guide to learn several ways to enable & disable task events manually (This will apply to all tasks).
Table of Contents
ToggleEnable task scheduler history graphically (GUI).
Enable task scheduler history from the command prompt (CLI)
Enable Task history on Task Scheduler (GUI)
To enable event history for Task Scheduler on Windows 11, use these steps:
- Open Task Scheduler on Windows 11.
- Right-click the Task Scheduler Library folder.
- Select the “Enable All Tasks History” option to enable the feature.
Once you perform the above steps, the next time a task runs, the events will be recorded in the “History” tab. The details include date and time, event identification, task category, operational code, and more.
Enable Task history on Task Scheduler Command Prompt (CLI)
Let’s enable the history of tasks from Command Prompt using the “wevtutil” tool.
To enable Task Scheduler history with command, use these steps:
Click On start
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to enable task history and press Enter:
wevtutil set-log Microsoft-Windows-TaskScheduler/Operational /enabled:true
After you complete these steps, Task Scheduler will enable history for all tasks. When using the history feature, you cannot enable history for one task, it’ll turn on for all of them.
Disable Task history on Task Scheduler (GUI)
To disable event history for Task Scheduler on Windows 11, use these steps:
- Open Task Scheduler on Windows 11.
- Right-click the Task Scheduler Library folder.
- Select the “Disable All Tasks History “option to disable the feature.
Disable Task history on Task Scheduler Command Prompt (CLI)
Let’s disable the history of tasks from Command Prompt using the “wevtutil” tool.
To disable Task Scheduler history with command, use these steps:
Click on Start.
Search for Command Prompt, right-click the top result, and select Run as administrator
Type the following command to enable task history and press Enter:
wevtutil set-log Microsoft-Windows-TaskScheduler/Operational /enabled:false
Thank you for reading this article, hope we helped you with enabling/disabling Task History for “Task Scheduler”.
Use any information at your own risk. Always backup up your device and files before making any changes, Privacy policy info.