iSumsoft » Resources »computer » How to Clear All the Event Logs in Event Viewer

How to Clear All the Event Logs in Event Viewer

This article will show 2 ways to clear Event logs in Event Viewer when needed.

Way 1: To Clear Individual Event Viewer Logs in Event Viewer

Event Viewer is a tool that displays detailed information about significant events on your computer. Windows records the event in an event log that you can read by using Event Viewer.

Step 1: Open the Event Viewer.

Press Win + X keys to bring up Quick Access menu, then select Event Viewer from that menu.

Open Event Viewer

Step 2: In the left pane of Event Viewer, expand open Windows Log.

Right-click on a log (ex: Application) that you want to clear, and click on Clear Log

Clear  Log

Or you can select a log (e.g. System) that you want to clear, click on Clear Log in the Actions pane.

Click Clear Log

Step 3: Then decide whether need to save this logs or not.

Advanced users might want to save logs for the time when troubleshooting problems with Windows and other apps. However, you may wish to be able to quickly clear event logs, so just click on Clear button.

Save and Clear

Step 4: Repeat do steps above to clear another event logs.

Step 5: When finished, close the Event Viewer.

Way 2: To Clear All the Event Logs in Command Prompt

You can choose to quickly clear all the event logs by executing command in Command Prompt.

Step 1: Open Command Prompt and run it as administrator.

Press Win + X keys, then select Command Prompt (Admin) from that menu.

Command Prompt as an admin

Step 2: If it prompted by UAC, click on Yes.

Allow to run this program

Step 3: Then copy and past command below into the elevated command prompt, and press Enter.

for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"

Clear all the Event Viewer log in Command Prompt

Step 3: The event logs will be cleared. You can close the command prompt, when finished.