3 quick ways to delete all event logs in Windows 10

3 quick ways to delete all event logs in Windows 10

Event Viewer is a built-in Windows application that allows you to see all the important events happening on your PC. Sometimes, you may need to delete all old event logs at once. In this tutorial, make TechReprint.com will show you 3 ways to quickly delete all event logs in Windows 10 Event Viewer.

Method 1: Delete the Windows event log using Event Viewer

Press the Win + R keys to open the Run dialog box, type eventvwr.msc and press OK to open Event Viewer.

Enter eventvwr.msc and press OK to open Event Viewer

On the left sidebar of Event Viewer , expand Windows Logs and right-click on one of the event categories, then select Clear Log from the menu that appears.

Select Clear Log from the menu that appears

Click either the Save and Clear button or the Clear button to confirm.

Click either the Save and Clear button or the Clear button to confirm

The event log will be deleted immediately.

Method 2: Delete Windows event log using Command Prompt

Open a Command Prompt window with admin rights. Copy and paste the following command into the Command Prompt, and then press Enter .

for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"
Clear Windows event log using Command Prompt

This command will clear all types of Windows event logs at once.

Method 3: Delete the Windows event log using PowerShell

Press Win + X to open the Quick Link menu, then click Windows PowerShell (Admin) .

Open PowerShell as admin

To clear all event logs in Windows 10, just type the command below and press Enter .

Get-EventLog -LogName * | ForEach { Clear-EventLog $_.Log }
Clear Windows event logs using PowerShell