WER queues reports that were never sent and never cleared
Every application crash leaves a report. Where the queue is, why it grows on a machine with no internet, and what is safe to remove.
When an application crashes, Windows Error Reporting collects a report and queues it to send to Microsoft. On a machine that is offline, behind a proxy, or has reporting disabled, the queue fills and nothing drains it.
Where the reports are
Get-ChildItem "$env:ProgramData\Microsoft\Windows\WER" -Recurse -Force -EA SilentlyContinue |
Measure-Object Length -Sum |
Select-Object Count, @{n='MB';e={[math]::Round($_.Sum/1MB)}}
Get-ChildItem "$env:LOCALAPPDATA\Microsoft\Windows\WER" -Recurse -Force -EA SilentlyContinue |
Measure-Object Length -Sum |
Select-Object Count, @{n='MB';e={[math]::Round($_.Sum/1MB)}}| Folder | What it holds |
|---|---|
ReportQueue | Reports waiting to be sent |
ReportArchive | Reports already sent, kept for reference |
Temp | Working files from report collection |
Why it grows
- One application crashing in a loop. Each crash is a new report, and a program restarting and failing every minute produces hundreds.
- Reports that cannot be sent. No connection, a proxy in the way, or reporting turned off by policy, so the queue never drains.
- Dumps attached to reports. A report for a large application can include a dump of its memory.
Clearing it
Disk Cleanup lists these under System queued Windows Error Reporting and System archived Windows Error Reporting in its system files mode, which is the tidy route. Deleting the contents of the WER folders directly also works and is safe, since these are records rather than anything the system needs.
The more useful question
A WER folder of any real size names the thing that is failing. The report folders are named after the executable, so listing them tells you which application is crashing repeatedly, which is worth more than the space:
Get-ChildItem "$env:ProgramData\Microsoft\Windows\WER\ReportQueue" -Directory -EA SilentlyContinue |
Group-Object { ($_.Name -split '_')[1] } | Sort-Object Count -Descending |
Select-Object Count, Name -First 10The same is true of crash dumps, which are the kernel side of the same story.
Common questions
What is the WER folder in ProgramData?
Windows Error Reporting's queue and archive. Reports of application crashes are collected there and sent to Microsoft, and they accumulate when they cannot be sent.
Is it safe to delete Windows Error Reporting files?
Yes. They are records of crashes that have already happened, not anything the system needs. Disk Cleanup lists them in its system files mode as queued and archived error reporting.
Why is my WER folder so large?
Usually one application crashing repeatedly, or reports that cannot be sent because the machine is offline or reporting is disabled by policy. The folder names identify the failing executable.
Does clearing error reports affect anything?
Only your ability to look back at what crashed. Nothing on the machine depends on them, and new reports are collected as normal afterwards.