How to clear all events logs in Windows 7 & 2008 systems

From Tech-Wiki
Jump to: navigation, search

Back to Windows Server 2003/2008/20012


How to clear all events in event viewer logs for Windows 7 and 2008 operating systems.

From Administrator Command Prompt.

C:\Windows\system32>for /f %x in ('wevtutil el') do wevtutil cl "%x"