Event Viewer is a tool that displays detailed information as event logs about significant events on your PC.
Event logs are special files that record significant events on your PC, such as when a user signs in to the PC or when a app encounters an error. Whenever these types of events occur, Windows records the event in an event log that you can read by using Event Viewer.
Advanced users might find the details in event logs helpful when troubleshooting problems with Windows and other apps. However, you may also wish to be able to quickly clear all event logs at once as needed.
This tutorial will show you how to quickly clear all event logs in Event Viewer as needed in Windows 10.
You must be signed in as an administrator to be able clear all event logs.
This will not clear Analytic or Debug logs. If you have them enabled, the wevutl command returns an error, but all other logs will be cleared.
1. Clear All Event Viewer Logs in Command Prompt:- 1. Open an elevated command prompt.
2. Clear All Event Viewer Logs in PowerShell:- 1. Open an elevated Windows PowerShell.
3. Clear Individual Event Viewer Logs in Event Viewer:- 1. Press the Win + R keys to open the Run dialog, type eventvwr.msc, and click/tap on OK.
Also consider using Action1 to clear event log if:
- You need to perform this action on multiple (hundreds or even thousands) computers simultaneously.
- Some of your endpoints are laptops not connected to corporate network at all times.