2

Does anyone know how can I clean the event viewer old logs so I can free space in the disk?

My operating system is Windows 10.

1
  • Do you have the authority and authorization to clean the event logs. If you do, you can delete the logs, within the event viewer itself
    – Ramhound
    Commented Feb 25, 2017 at 22:32

2 Answers 2

1

Just right-click each of the logs in Event Viewer and choose "Clear Log". They are typically only 20MB (or less) and overwrite events as needed, but you can right-click and choose "Properties" to adjust this.

enter image description here

1

How can I clean the event viewer old logs?

The quickest way is to use an elevated command prompt.

Clear All Event Logs in Windows 10 using Command Prompt

You can quickly clear all event logs using a special command. Do it as follows.

  1. Open an elevated command prompt.
  2. Type or paste the following command:

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

This will produce the following output:

enter image description here

All Windows logs will be cleared.

Source How to Clear All Event Logs in Windows 10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .