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

From Tech-Wiki
Revision as of 22:48, 26 July 2017 by Fabricio.Lima (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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"