Wer file

broken image

Get-ChildItem -Path 'C:\ProgramData\Microsoft\Windows\WER\ReportArchive' -Recurse | Where-Object CreationTime -lt (Get-Date).AddDays(-30) | Remove-Item -Force -Recurse The following PowerShell commands will remove all files older than 30 days from the WER directories: C:\ProgramData\Microsoft\Windows\WER\ReportArchive\.To free up some disk space quickly, you can manually delete debug and log files generated by the WER service in the following folders: To clear all these errors and logs using the built-in tools, open the Control Panel and go to System and Security -> Security and Maintenance -> Maintenance -> View reliability history -> View all problem reports, then click Clear all problem reports. A couple of such dumps can occupy several gigabytes on the system drive. The screenshot below shows that the size of memory.hdmp is about 610 MB. Typically, the size of each folder is small, but in some cases a memory dump is generated for a problem process that occupies much space. How to Clear the WER\ReportQueue Folder on Windows?