This tutorial will show you how to enable or disable all tasks history in Task Scheduler in Windows 10 and Window 11.
The Task Scheduler service allows you to perform automated tasks on a chosen computer. With this service, you can schedule any program to run at a convenient time for you or when a specific event occurs. The Task Scheduler monitors the time or event criteria that you choose and then executes the task when those criteria are met.
Task Scheduler will show you the "Last Run Time" for tasks, but tasks history is disabled by default.
If needed, you can enable all tasks history to start seeing in Task Scheduler, and log in Event Viewer (eventvwr.msc) at the location below:
- Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows > TaskScheduler > Operational
You must be signed in as an administrator to enable or disable all tasks history in Task Scheduler.
EXAMPLE: Enable or Disable All Tasks History in Task Scheduler
Open Task Scheduler (taskschd.msc).
In the right Actions pane, click/tap on Enable All Tasks History or Disable All Tasks History (default) for what you want. (see screenshots below)
Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.
Copy and paste the command below you want to use into Windows Terminal (Admin), and press Enter. (see screenshots below)
Enable All Tasks History
wevtutil set-log Microsoft-Windows-TaskScheduler/Operational /enabled:true
Disable All Tasks History (default)
wevtutil set-log Microsoft-Windows-TaskScheduler/Operational /enabled:false
You can now close Windows Terminal (Admin) if you like.