How To Enable History In Task Scheduler On Windows 11

People are currently reading this guide.

Using the GUI (Graphical User Interface)

How To Enable History In Task Scheduler On Windows 11
How To Enable History In Task Scheduler On Windows 11

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".

The article you are reading
Insight Details
Title How To Enable History In Task Scheduler On Windows 11
Word Count 652
Content Quality In-Depth
Reading Time 4 min
Tip: Every word counts — don’t skip too much.Help reference icon

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:

Tip: Reading carefully reduces re-reading.Help reference icon

schtasks /Change /TN * /ENABLE

How To Enable History In Task Scheduler On Windows 11 Image 2

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."

QuickTip: Treat each section as a mini-guide.Help reference icon

Enable Task History 

enter the command shown below, then hit enter:

Content Highlights
Factor Details
Related Posts Linked 27
Reference and Sources 0
Video Embeds 3
Reading Level In-depth
Content Type Guide

Get-ScheduledTask | Set-ScheduledTask -History $true

QuickTip: Skim slowly, read deeply.Help reference icon
This PowerShell command makes all tasks history-enabled.

Modifying the Registry

Editing the Windows Registry should be done with caution. Pay close attention to these instructions.

Open Registry Editor 

To start the Registry Editor, press Win + R to open the Run dialog, type "regedit," and then hit Enter.

Navigate to the Task Scheduler Key 

Navigate to the following location in the Registry Editor:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache

Change the History key

In the right-hand pane, look for a DWORD value with the name "EnableHistory". Create it if it doesn't already exist by right-clicking and choosing "New" > "DWORD (32-bit) Value."

Enable Task History 

To enable task history, double-click "EnableHistory" and adjust its value to "1".

Conclusion

Windows 11's Task Scheduler is a useful tool, and turning on task history can greatly improve job management and debugging capabilities. We have covered four simple techniques: utilizing the GUI, Command Prompt, PowerShell, and Registry Editor to enable history in Task Scheduler. You may make sure that task history is saved and available by using any of these procedures, giving you useful information about how your planned tasks performed and were carried out.

How To Enable History In Task Scheduler On Windows 11 Image 3
Quick References
Title Description

hows.tech

You have our undying gratitude for your visit!