You're running a Windows Server 2019 or 2022 box, maybe a domain controller or a file server, and suddenly the System event log starts throwing 0X000019DA. The exact message reads "The log service has attempted to read or write backward past the start of the log." This isn't a random network hiccup or a permissions thing. It's a corrupted log file. The trigger is almost always a hard crash, an abrupt power loss, or a forced reboot while the Event Log service was mid-write. The log's internal pointer ends up pointing before the first byte, and every subsequent read or write attempt trips the same error.
What's actually happening here
Event logs in Windows are stored as .evtx files, typically in C:\Windows\System32\winevt\Logs. Each file has a binary header and a series of record chunks. The header stores the file's start and end offsets. When the system crashes at the wrong moment, the header's start offset can get set to a negative value or a value that's ahead of the actual data. The log service then tries to seek to that bogus offset, hits the beginning of the file, and throws 0X000019DA.
The dumb part? The Event Log service doesn't self-heal. It'll keep failing on every log write until you intervene. Restarting the service won't help because the file on disk is still corrupt. The fix is to either clear that specific log or, if you need the history, export what you can and then reset the log.
The fix, step by step
First, figure out which log is throwing the error. It's usually System or Application, but it could be any of them. Open Event Viewer and look for the error source—it'll say "Microsoft-Windows-Eventlog" or similar. If you can't tell, check the System log for entries with the event ID 1105 or 6000 referencing the affected log name.
- Open an elevated Command Prompt or PowerShell (Run as Administrator).
- List all logs to spot the culprit:
This prints every log name. Look for ones with a status ofwevtutil elCorruptor that match the error in Event Viewer. - Try to export the log before you nuke it, in case you need the records. If the log is badly corrupt, this might fail—that's fine, skip it:
Replacewevtutil epl System C:\backup\system.evtxSystemwith the actual log name. - Clear the offending log. This wipes all entries but resets the file structure:
If that throws an error, you can force a reset with:wevtutil cl System
Thewevtutil cl System /r:localhost /f/fflag forces the clear even if the service is being stubborn. - Verify the log is healthy. Rerun the check:
Look for thewevtutil gli Systemstatusline. It should sayActive, notCorrupt. - If you cleared the wrong log or the error persists, you can also delete the
.evtxfile directly. Stop the Event Log service first:
net stop eventlog
Then navigate to C:\Windows\System32\winevt\Logs, find the offending .evtx file (e.g., System.evtx), rename it to System.old (don't delete—safer), and restart the service:
net start eventlog
The service will create a fresh log file automatically. This is the nuclear option, but it works when wevtutil cl refuses to cooperate.
Why this works
Clearing the log or deleting the file forces the Event Log service to rebuild the header from scratch. The corrupt pointer is gone, so the service can write new entries without trying to seek to a nonexistent offset. It's the same reason a corrupted database often needs a rebuild, not just a restart—the metadata is broken, not the runtime state.
If it still fails
Sometimes the corruption is deeper than the log file itself. If you've cleared the log and the error comes back within minutes, check for disk errors. Run chkdsk /f on the system drive—bad sectors can cause the log service to misread the file header repeatedly. Also, check if third-party backup software is locking the .evtx files. I've seen VSS-based backup agents hold file handles that interfere with log writes. Disable the backup agent temporarily and see if the error stops.
Another angle: if the error appears on multiple logs at once, suspect a disk controller issue or a failing driver. Update your storage drivers and check the vendor's firmware for the RAID controller or NVMe drive. In one case I worked on, the fix was updating the Intel RST driver—nothing to do with the logs themselves.
Last resort: if you're on a domain controller, the Directory Service log might be the culprit. That's a different beast—the NTDS.dit database is involved. In that case, you might need to do an authoritative restore or promote a new DC. But that's rare for 0X000019DA; this error usually stays within the standard event logs.