0XC01A000D

Fix 0xC01A000D: Corrupted Metadata in Windows Event Log

This error shows when Windows Event Log service finds a corrupt log file. Usually happens after power loss or disk errors. Here's how to fix it fast.

The 30-Second Fix: Clear the Corrupted Log

This is the first thing you try. It works most of the time when the error just popped up after a crash or forced shutdown.

  1. Press Windows Key + R, type eventvwr.msc, hit Enter. Wait for Event Viewer to load — if it errors out right away, skip to the next section.
  2. In the left panel, expand "Windows Logs". Right-click "Application", pick "Clear Log...".
  3. A dialog pops up: "Do you want to save... before clearing?" Click Don't Save. This deletes the corrupt metadata file.
  4. Do the same for "System" and "Security" logs if they're also showing errors.
  5. Close Event Viewer, reopen it. If you don't see the error again, you're done. The log service creates fresh metadata files automatically.

What to expect: After clearing, the error should vanish. You'll lose past log entries, but that's better than a broken logging system.

5-Minute Fix: Delete the Log Files Manually (Works When Event Viewer Won't Open)

If Event Viewer crashes or won't open, the log files themselves are corrupt. We delete them directly.

  1. Open Command Prompt as Administrator: Press Win + X, click "Terminal (Admin)" or "Command Prompt (Admin)".
  2. Stop the Event Log service with this command:
    net stop eventlog
    After you press Enter, wait a few seconds. You should see: "The Windows Event Log service was stopped successfully."
  3. Now delete the log files. Run:
    del /f /q %SystemRoot%\System32\winevt\Logs\*.evtx
    This removes all .evtx files — Application, System, Security, and others.
  4. Start the service again:
    net start eventlog
    You'll see "The Windows Event Log service was started successfully."
  5. Open Event Viewer again. New clean log files get created the moment something logs an event. The error should be gone.

Pro tip: On Windows Server, you might have more logs like DNS or DHCP. The same command wipes all of them. That's fine — they rebuild.

15+ Minute Fix: Rebuild the Event Log Service (When Corruption Won't Go Away)

If the error comes back after a reboot, or if the service won't start at all, the metadata files are damaged beyond simple deletion. You need to rebuild the service database.

Step 1: Stop the Service and Delete Everything

  1. Open Command Prompt as Admin again.
  2. Stop the service:
    net stop eventlog
  3. Go to the logs folder:
    cd %SystemRoot%\System32\winevt\Logs
  4. Delete all files in that folder:
    del *.evtx /f /q
    Then also delete the metadata files:
    del *.log /f /q
    (The .log files here are internal metadata, not your system logs.)

Step 2: Reset the Service Registry Keys (Rarely Needed, But Powerful)

  1. Still in Command Prompt, open Registry Editor:
    regedit
  2. Go to this key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog
  3. Right-click the "EventLog" folder, choose "Export" to back it up. Save it somewhere safe.
  4. Now, right-click each subkey (like "Application", "System", "Security") and delete them. Only delete the subkeys, not the main EventLog key.
  5. Close Registry Editor.
  6. Start the service:
    net start eventlog
    It may fail because the subkeys are missing. That's okay.
  7. Reboot the computer. Windows re-creates the default subkeys and log files automatically during boot.

Step 3: Verify It Worked

  • After reboot, open Event Viewer. You should see empty logs for Application, System, and Security.
  • Check the error is gone by looking at the System log — there should be no 0xC01A000D entries.

What causes this in the real world: I see this most often on Windows Server 2016 and 2019 after unexpected power loss on a VM host. The hypervisor snapshots the VM mid-write, and the log metadata gets scrambled. The quick delete fix in section one almost always works. The registry rebuild is for when IT guys have been messing with log permissions or antivirus locked the files.

One More Thing: Check Disk for Errors

If the corruption keeps coming back, your disk might have bad sectors. Run this from Admin Command Prompt:

chkdsk C: /f
You'll need to schedule it for next reboot. Type Y, then restart. Chkdsk might fix underlying disk issues that keep corrupting log metadata.

That's it. Start with the 30-second fix. Move up only if you need to. Most people are done after clearing the logs.

Related Errors in Server & Cloud
0X00001708 Cluster Node Evicted But Not Cleaned Up (0X00001708) Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' SQL Server Login Failed for User 'NT Authority\Anonymous Logon' Fix 0X8001010D Fix RPC_E_CANTCALLOUT_ININPUTSYNCCALL (0x8001010D) Fast Event ID 1196, 1220 Cluster Failover Not Triggered: 3 Fixes That Work

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.