Everything is Free

Clear Event Viewer, Delete Activity Logs on Windows Computers

0 4

Many people may want to clear event viewer. It can be done quite easily. There are a number of ways to clear an event and all events from the event viewer. If you are also looking for a way to do this, just follow the methods mentioned below.

Clear Event Viewer

When using any operating system (Windows, macOS or Linux), we will have to perform a lot of different operations, such as opening programs / software, installing, removing software, applications use.. in general, we will have to interact a lot.

For Windows 10, 11 operating systems, all error messages, boot times, operating information, warnings of software and applications you use are saved in Event Logs and managed. by a built-in tool called Windows Event Viewer.

This information is very useful in monitoring and managing computer activities, both to identify and fix software errors, etc.

They usually don’t take up too much space on the hard drive, but in some cases you need to delete old Logs on the operating system if there are no errors to make it easier to work with them.

And in this article, I will share with you 2 ways to help you clear all Event Logs on Windows!

But wait, I will briefly talk about the concept of Windows Event Log for completeness.

What are Evant Logs? And how to view Evant Logs on a Windows computer

Event Viewer or Evant Logs (also known as event logs, usage logs) will save the computer’s activities, record events.. after you use an application, or a certain program on the computer. computer. Very useful for you to monitor and manage your computer.

By the way, I will also show you how to access and view Event Logs on Windows.

Windows Event Viewer is a default tool equipped by Microsoft to manage Event logs, appearing from the Windows NT version and up to the current version of Windows 11 it is still being used.


To open Windows Event Viewer, enter the eventvwr.msc command in the Run dialog box (Windows + R) => and then press Enter.

In addition to the above method, you can also enter the Event Viewer keyword into Windows Search (Windows + S) which also helps you quickly access Windows Event Viewer on Windows 10, 11…

Windows Event Viewer

Below is the main interface of Windows Event Viewer, quite simple and easy to use and manipulate.

The left column is the folder that categorizes Events logs to make it easier to manage, for example, the Windows logs section will have:

Application activity log – Application, security log – Security, application installation log – Setup, Windows system log – System.

Shown in the middle is a list of event logs, which are also categorized into categories such as:

  • Information – Logs of things’s operating status information.
  • Error – Error log, this will make it easier for you to find errors.
  • Warning – Logs warn about operational status and you should also rely on this type of log to find errors.

The last column on the right allows you to perform delete, edit, save, filter, etc operations for the selected one. In general, nothing complicated, it’s as simple as that.

Event Viewer

Method 1. Delete Entire Event Logs with Windows Event Viewer

Apply on Windows 10, 11 or later operating systems!

First, access Windows Event Viewer according to the instructions above.

Then, in the main interface of this tool, click on the arrow next to Windows Logs to open the event log categories that I mentioned above.

Then right-click on the event log type you want to delete and select Clear Log… to delete all of them.

For example, if I want to delete the entire application event log – Application, I will right-click on the Application in Windows Logs => and then select Clear Log… that’s fine.

Besides, you can also view detailed information about event log classification, save the entire log, and more.

Clear Log

Then the message You can save the contents of this logs before clearing it will appear allowing us to:

  • Save and Clear – Save to your hard drive and then delete.
  • Clear – delete without saving.

The choice is yours alone.

Event Logs

Method 2. Delete Entire Event Logs with Commands in CMD or PowerShell

If you don’t like having to delete each type of event log using Windows Event Viewer as above, with the Command Prompt (CMD) or PowerShell command line window, we can delete the entire event log on Windows only. with a single command line.

Of course, the command used in Command Prompt and PowerShell will be different, because the command structure of these two tools is completely different.

+) With CMD:

First, please open CMD with Administrator rights by opening Windows Run (Windows + R) => then enter the command line cmd => and press Ctrl + Shift + Enter.

run cmd Event Viewer

Then, paste the command line below into the Command Prompt window that has just opened => then Enter.

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

Now wevtutil.exe will automatically run and delete all Event Logs of your Windows computer, wait a bit, when this command stops, it also means that all logs have been successfully deleted.

cmd clear event viewer

+) For PowerShell:

You can open PowerShell with Administrator rights by pressing Windows + X or right-clicking on the Windows icon in the Taskbar => then select Windows PowerShell (Admin)

Or you can press Windows + S to open the search engine on Windows => then search with the keyword PowerShell.

windows PowerShell

Finally, you just run the command below and you’re done. Unlike when using Command Prompt, you can exit PowerShell as soon as you finish running the command without having to wait anymore.

Get-EventLog -LogName * | ForEach { Clear-EventLog $_.Log }
windows PowerShell EventLog


That’s it, I have just finished showing you how to clear event viewer on Windows 10, 11.

In general, you also don’t have to delete Event Logs often, just delete in case you don’t want others to know what you just used on your computer. Hope this article will be of help to you. Good luck !

Read also:

How to fix black screen with cursor in Windows 8 & 8.1?

How to fix 3F0 not found boot device error on Windows 10?

Leave A Reply

Your email address will not be published.