Skip to content
TechCult
  • Apple
  • Android
  • How to
  • Tips
  • News
  • Windows
  • About
    • About TechCult
    • Contact Us
    • DMCA
    • Disclaimer
    • Privacy
    • Sitemap
    • Terms
Category Windows

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

Author Aditya Farrad Published on February 17, 2021 2 min read
reviewed Reviewed by Aditya Farrad
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.

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

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
  • Method 1: Clear Individual Event Viewer Logs in Event Viewer
  • Method 2: Clear All the Event Logs in Command Prompt
  • Method 3: Clear All the Event Logs in PowerShell

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.

Type eventvwr in run to open Event Viewer

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

Navigate to Event Viewer (Local) then Windows Logs then 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.

Right-click on Application log 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.

Click Save and Clear or Clear

Method 2: Clear All the Event Logs in Command Prompt

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

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”

Clear All the Event Logs in Command Prompt

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.

powershell right click 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 “$_”}

Clear All the Event Logs in PowerShell

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

Recommended:

  • Enable or Disable Windows Error Reporting in Windows 10
  • Encrypt Files and Folders with Encrypting File System (EFS) in Windows 10
  • Enable or Disable Indexing Of Encrypted Files In Windows 10
  • Back Up Your EFS Certificate and Key in Windows 10

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.

[GUIDE] Clear All Event Logs in Event Viewer[GUIDE] Clear All Event Logs in Event Viewer in Windows[GUIDE] Clear All Event Logs in Event Viewer in Windows 10[GUIDE] Clear All the Event Logs in Command Prompt[GUIDE] Clear All the Event Logs in PowerShellClear All Event Logs in Event Viewer in WindowsClear All Event Logs in Event Viewer in Windows 10Clear All Event Logs in Windows 10Clear All the Event Logs in Command PromptClear All the Event Logs in PowerShellClear Individual Event Viewer Logs in Event ViewerHow to Clear All Event Logs in Event ViewerHow to Clear All Event Logs in Event Viewer [Windows 10]How to Clear All Event Logs in Event Viewer in WindowsHow to Clear All Event Logs in Event Viewer in Windows 10How to Clear All Event Logs in Windows 10How to Clear Individual Event Viewer Logs in Event ViewerHow to clear the Event Log in Windows 10How to clear the Event Log in Windows 10/8/7How to Clear Windows Event Logs Using CMDHow to Clear Windows Event Logs Using Command PromptHow to Clear Windows Event Logs Using Event ViewerHow to Clear Windows Event Logs Using PowerShellHow to Delete All Event Logs in Windows 10
Aditya Farrad
Posted by

Aditya Farrad

Aditya is a skilled tech writer with 10 years of experience in the field. He has a strong background in Troubleshooting, and has a talent for simplifying complex technical concepts for a general audience. He has worked with a variety of clients in the technology industry, creating user manuals, technical documentation, and instructional materials. With his combination of technical knowledge and writing talent, he is able to create clear, accurate, and engaging content that helps users get the most out of their technology.

Recent Posts

  • How to Transfer Photos from Nexus 5x to PC
  • How to Get Amazon Prime Discounts for Teachers
  • How to Sub with Twitch Prime on Mobile
  • How to Change Age on Instagram
  • How to Enable LOL Quick Cast
  • How to Remove Kaspersky Endpoint Security 10 Without Password
  • What is Shadow Ban on TikTok? 5 Ways to Get Unshadowbanned
  • How to Use Eyedropper in Procreate
  • How to Use Skype Web Scheduler to Schedule Meeting
  • WhatsApp Rolls out Avatar on iOS: How to Access it

Tech Dictionary

  • What are the Genshin Impact PC Requirements?
  • What If Your Comment is Highlighted on YouTube?
  • Is Krita Good for Animation?
  • Microsoft Lists VS Planner: What to Use?
  • Is There an Instagram Ghost Followers Remover App?
  • Does Blocking Someone On Instagram Delete Messages?
  • What are Adobe Premiere Pro System Requirements?
  • Hinge Vs. Tinder: Which Dating App is Better?
  • What is Page Break in Microsoft Word?
  • Who is the Richest Player in Roblox?
Do not share my Personal Information.

You may also like

How to Remove Kaspersky Endpoint Security 10 Without Password
Category How to, Software, Windows

How to Remove Kaspersky Endpoint Security 10 Without Password

Published on February 7, 2023 8 min read
How to Fix Comcast Email Not Working
Category How to, Software, Windows

How to Fix Comcast Email Not Working

Published on February 7, 2023 8 min read
15 Ways to Fix Discord Stream Lagging on Windows 10 and 11
Category How to, Software, Windows

15 Ways to Fix Discord Stream Lagging on Windows 10 and 11

Published on February 7, 2023 8 min read
4 Ways to Play Minecraft with Friends
Category How to, Software, Windows

4 Ways to Play Minecraft with Friends

Published on February 7, 2023 7 min read

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • About Us
  • Contact Us
  • DMCA
  • Disclaimer
  • Privacy Policy
  • Terms
Framed Media © 2023