{"id":16224,"date":"2020-08-04T14:15:32","date_gmt":"2020-08-04T14:15:32","guid":{"rendered":"https:\/\/www.top-password.com\/blog\/?p=16224"},"modified":"2020-08-04T14:16:20","modified_gmt":"2020-08-04T14:16:20","slug":"clear-all-event-logs-in-windows-10","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/clear-all-event-logs-in-windows-10\/","title":{"rendered":"3 Ways to Quickly Clear All Event Logs in Windows 10"},"content":{"rendered":"<p>Event Viewer is a built-in Windows application that lets you view all the important events that occur on your PC. Sometimes, you may need to delete old event logs at once if nothing has gone wrong. In this tutorial we&#8217;ll show you 3 ways to quickly clear all event logs in Windows 10 Event Viewer.<\/p>\n<p><strong>Method 1: Clear Windows Event Logs Using Event Viewer<\/strong><\/p>\n<p>Press the Windows + R keys to open the Run dialog, type <strong>eventvwr.msc<\/strong> and click OK to <a href=\"https:\/\/www.top-password.com\/blog\/7-ways-to-access-event-viewer-in-windows-10\/\" rel=\"noopener noreferrer\" target=\"_blank\">open Event Viewer<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/eventvwr.png\" alt=\"\" width=\"401\" height=\"207\" class=\"alignnone size-full wp-image-16227\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/eventvwr.png 401w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/eventvwr-300x155.png 300w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><\/p>\n<p>On the left sidebar of Event Viewer, expand &#8220;Windows Logs&#8221; and right-click one of the events categories, then select <strong>Clear Log<\/strong> from the menu that comes up.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/clear-log-from-event-viewer.png\" alt=\"\" width=\"591\" height=\"442\" class=\"alignnone size-full wp-image-16228\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/clear-log-from-event-viewer.png 591w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/clear-log-from-event-viewer-300x224.png 300w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><\/p>\n<p>Click either the &#8220;<strong>Save and Clear<\/strong>&#8221; or the <strong>Clear<\/strong> button to confirm.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/save-event-logs-before-clearing.png\" alt=\"\" width=\"511\" height=\"103\" class=\"alignnone size-full wp-image-16229\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/save-event-logs-before-clearing.png 511w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/save-event-logs-before-clearing-300x60.png 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/p>\n<p>The event logs will be cleared immediately.<\/p>\n<p><strong>Method 2: Clear Windows Event Logs Using Command Prompt<\/strong><\/p>\n<p><a href=\"https:\/\/www.top-password.com\/blog\/open-elevated-command-prompt-from-standard-user-in-windows\/\" rel=\"noopener noreferrer\" target=\"_blank\">Open an elevated Command Prompt window<\/a>. Copy and paste the following command into the Command Prompt, and then hit Enter.<br \/>\n<code>for \/F \"tokens=*\" %1 in ('wevtutil.exe el') DO wevtutil.exe cl \"%1\"<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/clear-windows-event-logs-via-cmd.png\" alt=\"\" width=\"561\" height=\"252\" class=\"alignnone size-full wp-image-16230\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/clear-windows-event-logs-via-cmd.png 561w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/clear-windows-event-logs-via-cmd-300x135.png 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/p>\n<p>This will delete all types of Windows event logs at once.<\/p>\n<p><strong>Method 3: Clear Windows Event Logs Using PowerShell<\/strong><\/p>\n<p>Press the Windows logo key + X to open the Quick Link menu, and then click on &#8220;<strong>Windows PowerShell (Admin)<\/strong>&#8220;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/06\/windows-powershell-admin.png\" alt=\"\" width=\"271\" height=\"613\" class=\"alignnone size-full wp-image-9511\" \/><\/p>\n<p>To clear all event logs in Windows 10, just enter the below command and press Enter.<br \/>\n<code>Get-EventLog -LogName * | ForEach { Clear-EventLog $_.Log }<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/clear-windows-event-logs-via-powershell.png\" alt=\"\" width=\"600\" height=\"164\" class=\"alignnone size-full wp-image-16231\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/clear-windows-event-logs-via-powershell.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2020\/08\/clear-windows-event-logs-via-powershell-300x82.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>That&#8217;s it!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Event Viewer is a built-in Windows application that lets you view all the important events that occur on your PC. Sometimes, you may need to delete old event logs at once if nothing has gone wrong. In this tutorial we&#8217;ll show you 3 ways to quickly clear all event logs in Windows 10 Event Viewer. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10,1894],"tags":[],"class_list":["post-16224","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-10"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/16224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=16224"}],"version-history":[{"count":8,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/16224\/revisions"}],"predecessor-version":[{"id":16237,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/16224\/revisions\/16237"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=16224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=16224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=16224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}