0X00001AA1

0X00001AA1 Fix: Windows Log Corruption Detected

Windows Errors Intermediate 👁 0 views 📅 Jun 12, 2026

Your system's log file is corrupted. We'll fix it fast. Here's what causes it and how to repair it without reinstalling Windows.

Cause #1: Corrupted Event Log File (Most Common)

I know this error is infuriating. It usually pops up when you open Event Viewer or a Windows tool that reads logs — and you see that ugly "The log data is corrupt" message with 0X00001AA1.

The most common trigger? A system crash or forced shutdown while Windows was writing to the event log. I've seen this on Windows 10 22H2 and Windows 11 23H2 after a power outage or blue screen.

The fix is dead simple: clear the corrupted log file. Don't worry, you won't lose anything critical — Windows recreates it automatically.

  1. Press Win + X, select Windows Terminal (Admin) or Command Prompt (Admin).
  2. Run this command to stop the Event Log service:
    net stop EventLog
    It'll say the service is stopping. If it hangs for more than 10 seconds, press Ctrl+C and try the next step directly — sometimes it's already stopped.
  3. Delete the corrupted log files. Run these commands one by one:
    del /f /q "%SystemRoot%\System32\winevt\Logs\Application.evtx"
    del /f /q "%SystemRoot%\System32\winevt\Logs\System.evtx"
    del /f /q "%SystemRoot%\System32\winevt\Logs\Security.evtx"
    If you get "Access denied" on any, run the command in an elevated prompt as Admin. If it still fails, you might need to take ownership (I'll cover that in Cause #3).
  4. Restart the Event Log service:
    net start EventLog

That's usually it. Error's gone. But if it's not — move to Cause #2.

Cause #2: File System Corruption on the Boot Drive

Sometimes the log files themselves aren't the problem — the disk that holds them has bad sectors or file system errors. This happens more often on older HDDs (yes, some folks still use them) or after improper shutdowns.

I've fixed this exact 0X00001AA1 error on a Dell OptiPlex 7080 running Windows 10 Pro by running a CHKDSK scan. The log corruption was just a symptom — the real issue was a messed-up MFT.

  1. Open Command Prompt as Admin (same as above).
  2. Run:
    chkdsk C: /f /r
    You'll get a prompt saying the drive is in use and asking if you want to schedule it for next reboot. Type Y and press Enter.
  3. Restart your PC. Windows will scan your C: drive before booting. This takes 10–30 minutes depending on drive size. Let it finish — don't interrupt it.

After the scan and reboot, try opening Event Viewer again. If the error's gone, you're done. If not, we've got a deeper system file problem.

Cause #3: Corrupted System Files Affecting Log Services

When the event log service itself is hosed — or core Windows files are damaged — running SFC and DISM is your next step. This is less common but I've seen it on systems that had a bad Windows Update install rollback, or after a malware cleaning.

Skip SFC first — it's slower and often fails if DISM hasn't fixed the component store. Run DISM first, then SFC.

  1. Open Command Prompt as Admin.
  2. Run:
    DISM /Online /Cleanup-Image /RestoreHealth
    This scans Windows Update's component store and fixes corruption. It pulls fresh files from Microsoft's servers. Takes 5–15 minutes. If it hangs at 62%, that's normal — let it finish.
  3. After DISM completes, run:
    sfc /scannow
    This checks all protected system files and replaces any corrupted ones. Takes 10–20 minutes.
  4. Restart your PC.

If DISM fails with error 0x800f081f, you need to specify a source. Mount a Windows 10/11 ISO (same version as your system) and use this instead:

DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\mount\windows /LimitAccess

One more thing — if you still see the error after all this, check if the Event Log service itself has a corrupted registry entry. Open regedit, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog, and verify the ImagePath value points to %SystemRoot%\System32\svchost.exe -k LocalServiceNetworkRestricted. If it's wrong or missing, that's your culprit. Fix it and restart the service.

Quick-Reference Summary

SymptomMost Likely CauseFixTime
0X00001AA1 after crashCorrupted .evtx log fileStop EventLog, delete log files, restart2 min
Error persists after clearing logsDisk file system corruptionCHKDSK C: /f /r, reboot15–30 min
Error across multiple apps that read logsCorrupted system filesDISM then SFC15–30 min
Event Log service won't startCorrupted registry or service binaryCheck ImagePath in registry5 min

That's the whole playbook. Nine times out of ten, Cause #1 is the fix. If you're on a laptop that got jostled during a write operation, the log file just got mangled — deleting it and letting Windows recreate it works every time.

Still stuck? Drop a comment with your system specs (OS version, drive type, what you were doing when the error hit) and I'll help you narrow it down. This error is annoying, but it's almost always fixable without a reinstall.

Was this solution helpful?