1
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
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
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.
- Open an elevated command prompt.
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:
All Windows logs will be cleared.
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 – 2017-02-25T22:32:18.303