How To Clear The Event Viewer In Windows 7/8/10

How To Clear The Event Viewer In Windows 7/8/10

 

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

Open Administrative Tools, and then Computer Management. In the left frame, double-click Event Viewer, and then Windows Logs. Right-click Security and choose Clear Log…. You will have the option to save the details of the log.

How do I clear all Event Viewer logs?
On the left sidebar of Event Viewer, expand “Windows Logs” and right-click one of the events categories, then select Clear Log from the menu that comes up. Click either the “Save and Clear” or the Clear button to confirm. The event logs will be cleared immediately.

 

Leave a Comment