How to Clear All Event Logs in Event Viewer in Windows 10

How to Clear All Event Logs in Event Viewer in Windows 10: Event Viewer is a tool which displays logs of application and system messages such as error or warning messages. Whenever you are stuck in any kind of Windows error, the first thing you need to do is use the Event Viewer to troubleshoot the issue. Event logs are the files where all the activity of your PC is recorded such as whenever a user sign-in to the PC, or when an application encounters an error.

Now, whenever these types of event occur Windows records this information in the event log that you can use later to troubleshoot the issue by using Event Viewer. Even though the logs are immensely useful but at some point, you may wish to quickly clear all event logs then you need to follow this tutorial. The System Log and the Application Log are two of the important logs that you may want to clear occasionally. Anyway, without wasting any time let’s see How to Clear All Event Logs in Event Viewer in Windows 10 with the help of the below-listed tutorial.

Contents

How to Clear All Event Logs in Event Viewer in Windows 10

Make sure to create a restore point just in case something goes wrong.

Method 1: Clear Individual Event Viewer Logs in Event Viewer

1.Press Windows Key + R then type eventvwr.msc and hit Enter to open Event Viewer.

2.Now navigate to Event Viewer (Local) > Windows Logs > Application.

Note: You can select any log such as Security or System etc. If you want to clear all Windows Logs then you can select the Windows Logs also.

3.Right-click on Application log (or any other log of your choice for which you want to clear the log for) and then select Clear Log.

Note: Another way to clear the log is to select the particular log (ex: Application) then from the right window pane click on Clear Log under Actions.

4.Click Save and Clear or Clear. Once done, the log will be successfully cleared.

Method 2: Clear All the Event Logs in Command Prompt

1.Press Windows Key + X then select Command Prompt (Admin).

2.Type the following command into cmd and hit Enter (Beware this will clear all the logs in the event viewer):

for /F “tokens=*” %1 in (‘wevtutil.exe el’) DO wevtutil.exe cl “%1”

3.Once you hit Enter, all the event logs will now be cleared.

Method 3: Clear All the Event Logs in PowerShell

1.Type powershell in Windows Search then right-click on the PowerShell from the search result and select Run as Administrator.

2.Now copy and paste the following command into PowerShell window and hit Enter:

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

OR

wevtutil el | Foreach-Object {wevtutil cl “$_”}

3.Once you hit Enter, all the event logs will be cleared. You can close the PowerShell window by typing Exit.

Recommended:

That’s it you have successfully learned How to Clear All Event Logs in Event Viewer in Windows 10 but if you still have any questions regarding this tutorial then feel free to ask them in the comment’s section.

Sign up and earn $1000 a day ⋙

What should I do if Netflix is ​​hacked?

What should I do if Netflix is ​​hacked?

What should I do if my Netflix account is hacked? What should I do if my Netflix account is hacked? Here's what you need to know when your Netflix account is hacked.

Tips for using LDPlayer you may not know

Tips for using LDPlayer you may not know

Tips for using LDPlayer you may not know. LDPlayer is one of the most popular Android emulators on computers today. This article will provide it to you

Shortcuts in Blender that users need to know

Shortcuts in Blender that users need to know

Shortcuts in Blender that users need to know. Blender shortcuts help you work faster when designing graphics. Therefore, WebTech360 will synthesize the keys for you

Kahoot hacking tips you may not know

Kahoot hacking tips you may not know

Kahoot hacking tips you may not know, how to hack Kahoot to get answers to difficult questions? This article will suggest you some of the simplest Kahoot hacks.

What is Google TasksBoard?

What is Google TasksBoard?

What is Google TasksBoard?, Google TasksBoard is a new task management app, helping you increase work efficiency. Let's learn with Donwload.vn how to use Google TasksBoard

Is Google Takeout a good data backup option?

Is Google Takeout a good data backup option?

Is Google Takeout a good data backup option?, Google Takeout comes from a line of free services from Google. Google says it will help users download it

Host permissions and how to specify co-host in Zoom

Host permissions and how to specify co-host in Zoom

Host rights and how to designate co-host in Zoom. How to regain host rights on Zoom is not difficult. This article will introduce you to host and reclaim host details

6 steps to become a Pinterest expert

6 steps to become a Pinterest expert

6 steps to become a Pinterest expert, Pinterest is a tool for collecting, organizing, and sharing photos and videos you glean from the Internet. Here are 6

3 ways to edit sunsets in Photoshop

3 ways to edit sunsets in Photoshop

3 ways to edit sunset in Photoshop, Sunset is always a scene that every photographer wants to capture. However, taking sunset photos is not easy. Wear

Convert text to speech online

Convert text to speech online

Convert text to speech online. If you want to listen to the pronunciation on Google Translate or Google Translate, users can download this voice to your computer easily.

(2024) The Best Free Cloning Software for Windows 10/11

(2024) The Best Free Cloning Software for Windows 10/11

Are you looking for the free cloning software for Windows 10? This passage will share you the best free Windows 10/11/7 cloning software in 2024.

Steps to create a new database in Access

Steps to create a new database in Access

Steps to create a new database in Access, Steps to create a new database in Microsoft Access are not difficult. This article will guide you in detail on the steps to build muscle

3 ways to save files better on your computer

3 ways to save files better on your computer

3 better ways to save files on your computer, How to save files on your computer is not difficult. However, what is the best way to save on the computer? Let's find out with Dowload.vn

10 poems for the first day of school in 2023 - 2024

10 poems for the first day of school in 2023 - 2024

10 poems for the opening day of school in 2023 - 2024, TOP 10 short and unique poems for the opening day of the new school year. We invite you to follow along!

Things you should do first when buying a Samsung smartphone

Things you should do first when buying a Samsung smartphone

Things you should do first when buying a Samsung smartphone, Samsung phones contain a lot of applications and settings. Here are the settings you should do when

The easiest ways to create borders for photos

The easiest ways to create borders for photos

The easiest ways to create borders for photos, Adding frames to photos is not difficult and you have a lot of options. This article will summarize for you ways to add frames to beautiful photos

Office 2021 vs. Microsoft 365: Which software is right for you?

Office 2021 vs. Microsoft 365: Which software is right for you?

Office 2021 vs. Microsoft 365: Which software is right for you?, Office 2021 and Microsoft 365 can both meet office editing tasks. So Office 2021

Gemini - Googles artificial intelligence model

Gemini - Googles artificial intelligence model

Gemini - Google's artificial intelligence model, Google launches Gemini - an artificial intelligence model competing with OpenAI's GPT-4, this is an artificial intelligence model

What is rendering?

What is rendering?

Rendering is the process of creating an image from a model into a movie scene or image using computer software.

What is CPU? What are the popular CPU types today?

What is CPU? What are the popular CPU types today?

The CPU is the data processing center, or simply understood, it is the brain that controls most of the rest of the components in a computer.