Difference between revisions of "How to clear all events logs in Windows 7 & 2008 systems"
From Tech-Wiki
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Microsoft]] | [[Category:Microsoft]] | ||
+ | '''[[Microsoft#Windows Server 2003/2008/20012|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. | From Administrator Command Prompt. | ||
C:\Windows\system32>for /f %x in ('wevtutil el') do wevtutil cl "%x" | C:\Windows\system32>for /f %x in ('wevtutil el') do wevtutil cl "%x" |
Latest revision as of 22:48, 26 July 2017
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"