How to Clear All Event Logs in Event Viewer in Windows
By Timothy Tibbetts |
The Event Viewer in Windows details events that happened with your computer and that information is saved as Event Logs that you can view or clear anytime. Here's how.
1: Clear All Event Logs Using Batch File
The easiest and fastest way is to use a batch file. Download Clear All Event Logs in Event Viewer in Windows from MajorGeeks, right-click and Run as administrator.
The entire process should only take a minute, and the windows will close when completed.
3: Clear All Event Logs in PowerShell or Command Prompt
Open the Command Prompt or PowerShell as administrator.
Command Prompt - for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"
PowerShell - Get-EventLog -LogName * | ForEach { Clear-EventLog $_.Log }
2: Clear All Event Logs in Event Viewer
You can open Event Viewer by pressing the Windows Key + S, type in, and click on Event Viewer.
We mention how to open Event Viewer because you can manually clear logs one at a time. Logged categories include Applications, Security, Setup, System, and Forwarded Events. Click, or right-click any of the categories and click on Clear Log.
Similar:
How to Enable and Use Diagnostic Data Viewer in Windows 10
How to Use the Microsoft Support Diagnostic Tool & System Diagnostic Report
Diagnose Power or Battery Issues with Power Efficiency Diagnostic Report Tool
How to Use the Windows Memory Diagnostic Tool in Windows
How to Identify the Hardware in Your Computer
Should You Try and Fix Your Own Computer?
comments powered by Disqus
1: Clear All Event Logs Using Batch File
The easiest and fastest way is to use a batch file. Download Clear All Event Logs in Event Viewer in Windows from MajorGeeks, right-click and Run as administrator.
The entire process should only take a minute, and the windows will close when completed.
3: Clear All Event Logs in PowerShell or Command Prompt
Open the Command Prompt or PowerShell as administrator.
Command Prompt - for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"
PowerShell - Get-EventLog -LogName * | ForEach { Clear-EventLog $_.Log }
2: Clear All Event Logs in Event Viewer
You can open Event Viewer by pressing the Windows Key + S, type in, and click on Event Viewer.
We mention how to open Event Viewer because you can manually clear logs one at a time. Logged categories include Applications, Security, Setup, System, and Forwarded Events. Click, or right-click any of the categories and click on Clear Log.
Similar:
How to Enable and Use Diagnostic Data Viewer in Windows 10
How to Use the Microsoft Support Diagnostic Tool & System Diagnostic Report
Diagnose Power or Battery Issues with Power Efficiency Diagnostic Report Tool
How to Use the Windows Memory Diagnostic Tool in Windows
How to Identify the Hardware in Your Computer
Should You Try and Fix Your Own Computer?
comments powered by Disqus