Users can schedule and automate tasks on their computers using the powerful Task Scheduler feature in Windows 11. To successfully track the performance and execution of activities, task history monitoring is essential. The history component of Task Scheduler, however, could occasionally be disabled by default. We'll walk you through four easy ways in this blog post to enable history in Task Scheduler on Windows 11.
Using the GUI (Graphical User Interface)
Open Task Scheduler
Click the Start button, type "Task Scheduler" into the search bar, and then click the application that shows up in the search results.
Go to the Task Scheduler Library
Open Task Scheduler and expand "Task Scheduler Library."
Choose Task Scheduler Properties
Right-click "Task Scheduler Library" and select "Properties."
Enable Task History
Go to the "History" tab in the "Task Scheduler Properties" window and select the checkbox next to "Enable All Tasks History." To save the changes, click "OK".
Using Command Prompt
Launch Command Prompt as Administrator
To launch Command Prompt with administrative rights, right-click the Start button and choose "Windows Terminal (Admin)".
Enable Task History
enter after you type the following command:
schtasks /Change /TN * /ENABLE
All current tasks in Task Scheduler will have history enabled when this command is run.
Using PowerShell
Launch PowerShell as an administrator
In the Start menu, type "PowerShell," then right-click "Windows PowerShell" and select "Run as Administrator."
Enable Task History
enter the command shown below, then hit enter:
Get-ScheduledTask | Set-ScheduledTask -History $true
Modifying the Registry
Open Registry Editor
Navigate to the Task Scheduler Key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache