How to export Windows Scheduled task history

user241099 picture user241099 · Mar 4, 2014 · Viewed 13.3k times · Source

On Win2008 R2 - Is there an interface I can go to, or a command I can run, to export the history of one particular task from Windows Task Scheduler? I'll even take all the tasks and then filter the results. The best I can come up with so far is to search in the Event Viewer, using the Event Log C:\Windows\System32\winevt\Logs\Microsoft-Windows-TaskScheduler%4Operational.evtx for the task in question, and record by hand the time of day it stopped.

Thanks, Dan

Answer

Alan Spillert picture Alan Spillert · Jul 11, 2014

I found logs for Task Scheduler in C:\Windows\System32\winevt\Logs\Microsoft-Windows-TaskScheduler%4Operational.evtx When I double click on the file it opens the Event Viewer in that file.

Also, opening the Event Viewer from Administrative Tools I can drill down to Event Viewer >> Applications and Services Logs >> Microsoft >> Windows >> TaskScheduler >> Operational to view the logs I would see from the Task Scheduler Library.

hope this helps - Alan