Windows Event Log Config Error 0x3AA2 Fix
Event Viewer throws this when the Windows Event Log service can't read a corrupt config file. Usually caused by a bad registry key or a manual edit gone wrong.
The 30-Second Fix: Reset the Event Log Service
Open an admin command prompt. Yes, right-click Command Prompt and pick Run as administrator. Then type:
net stop eventlog
net start eventlog
If the service starts without an error, try opening Event Viewer again. If you still see 0x00003AA2, the service itself isn't the problem — it's the configuration it's trying to load. Move to the next fix.
Note: On Server 2016 or later, sometimes a specific log file gets locked. The service restart flushes that. If you're on a domain controller, this might interrupt auditing for a few seconds. Do it during a quiet window.
The 5-Minute Fix: Blow Away the Corrupt Event Log Files
The culprit here is almost always a corrupt .evtx file. The Event Log service chokes when it tries to read a log that's been mangled — maybe from a crash, a disk error, or an abrupt shutdown. Here's how to nuke the bad ones:
- Stop the Event Log service again —
net stop eventlog. - Open File Explorer and go to
C:\Windows\System32\winevt\Logs. - Sort by Date modified. Look for files that show a last-modified time matching when the error first appeared.
- Delete those files. Not the folder, just the
.evtxfiles. If Windows says a file is in use, you didn't stop the service properly — check your admin prompt. - Start the service again:
net start eventlog.
Event Viewer will recreate the logs when it starts. You lose the historical entries in those deleted files, but you get a working viewer. If you need those logs for compliance, copy them off first before deleting.
Real-world trigger: I've seen this happen after a forced reboot following a Windows Update that got stuck at 30%. The System.evtx file gets truncated. Deleting just that one file fixes it.
The 15-Minute Fix: Registry Repair
If deleting log files didn't work, the problem is deeper — the registry key that defines where logs live is broken or missing. This is common after a third-party tool like a log cleaner or a security scanner messes with permissions.
Open Registry Editor (regedit) and go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog
Under EventLog, you'll see subkeys for each log: Application, System, Security, etc. The issue is usually in the File value under one of these. Look for the subkey matching the log that's failing — if Event Viewer gives no hints, check the System log first.
For each subkey, verify the File value (REG_SZ or REG_EXPAND_SZ) points to a valid path in C:\Windows\System32\winevt\Logs. A corrupt entry might have a garbled path like %SystemRoot%\System32\winevt\Logs\Appliation.evtx (note the typo). Fix it by setting the correct path. Here's the standard one for the Application log:
%SystemRoot%\System32\winevt\Logs\Application.evtx
For the System log, it's:
%SystemRoot%\System32\winevt\Logs\System.evtx
After fixing the path, restart the Event Log service. If it still fails, delete the File value entirely — Windows will rebuild it from defaults when the service starts. Yes, that's safe. I've done it on hundreds of machines.
Still broken? Check permissions on the EventLog registry key. Right-click it, choose Permissions, and make sure SYSTEM and Administrators have Full Control. The Event Log service runs as LOCAL SERVICE, which needs read/write access. If that account is missing, add it. Don't bother with the NETWORK SERVICE account — rarely used here.
If you're on a domain-joined machine, group policy might override your registry changes. Check the Event Log section in gpedit.msc under Computer Configuration\Administrative Templates\Windows Components\Event Log Service. If any setting is Enabled, unset it or set it to Not Configured.
When to Give Up and Use DISM or SFC
If none of the above works, you're dealing with a system file corruption that's deeper than the Event Log. Run these in order:
sfc /scannow
dism /online /cleanup-image /restorehealth
Both need admin rights. DISM downloads healthy files from Windows Update, so you need internet. If SFC finds corrupt files it can't repair, DISM fixes that. Then run SFC again. This is a long shot — I've seen it work maybe 1 in 10 times for this specific error.
Final resort: repair install of Windows (in-place upgrade). Boot from the Windows ISO, run setup.exe, and choose Keep personal files and apps. It replaces all system files but leaves your data alone. Takes 30-45 minutes, but it's better than a full wipe.
One last thing: If you're running a third-party event log viewer or a syslog forwarder, disable it temporarily. Some of those tools hold file handles on .evtx files even when the service is stopped. That'll prevent you from deleting or renaming logs. Uninstall the tool if you have to — you can always reinstall it later.
Was this solution helpful?