Where are task scheduler event files stored on Windows Server 2008?
Posted
by
MacGyver
on Server Fault
See other posts from Server Fault
or by MacGyver
Published on 2012-06-11T20:31:57Z
Indexed on
2012/06/11
22:42 UTC
Read the original article
Hit count: 323
I tried setting up triggers in Task Scheduler Windows Server 2008, but Microsoft needs to fix a bug that I documented on Stack Overflow. So I can't use triggers until they fix this bug. Basically the Task Scheduler doesn't trigger an event that has a Result Code of 2147942402.
In the mean time, I'd like to write a task that runs .NET code that queries the log/event files programmatically every 15 minutes and sends success/failure emails based on the events that occured for the given tasks in task scheduler.
Here's where the XPath is stored for the Task Trigger XML tab (that I can't rely on):
C:\Windows\System32\Tasks\
I cannot find where the events (or log files containing the event ids) of each task are stored. Does anyone know where to find these log files?
The log name is "Microsoft-Windows-TaskScheduler/Operational".
© Server Fault or respective owner