{"id":3055,"date":"2012-12-16T23:11:45","date_gmt":"2012-12-16T21:11:45","guid":{"rendered":"http:\/\/www.plustech.de\/site\/?p=153"},"modified":"2013-05-16T16:23:54","modified_gmt":"2013-05-16T14:23:54","slug":"windows-alle-eintrage-aller-ereignisprotokolle-auf-einmal-loschen","status":"publish","type":"post","link":"https:\/\/rephlex.de\/blog\/2012\/12\/16\/windows-alle-eintrage-aller-ereignisprotokolle-auf-einmal-loschen\/","title":{"rendered":"Windows: Alle Eintr\u00e4ge aller Ereignisprotokolle auf einmal l\u00f6schen"},"content":{"rendered":"<p>F\u00fcr Windows Server seit Version 2008 und Windows 7 gibt es hier ein Batch-Script, welches alle Eintr\u00e4ge in allen Ereignisprotokollen l\u00f6scht, zum download:<\/p>\n<p>[\u00a0<a title=\"Download wevtutil.zip\" href=\"http:\/\/rephlex.de\/blog\/wp-content\/uploads\/2013\/05\/wevtutil.zip\" rel=\"attachment wp-att-154\">Download wevtutil.zip<\/a>\u00a0]<\/p>\n<p><strong>Wichtig<\/strong>: Das Script muss mit <em>rechter Maustaste -&gt; Als Administrator ausf\u00fchren<\/em> gestartet werden.<\/p>\n<p>Hier das Script im Klartext:<\/p>\n<blockquote><p>@echo off<br \/>\nFOR \/F &#8222;tokens=1,2*&#8220; %%V IN (&#8218;bcdedit&#8216;) DO SET adminTest=%%V<br \/>\nIF (%adminTest%)==(Access) goto noAdmin<br \/>\nfor \/F &#8222;tokens=*&#8220; %%G in (&#8218;wevtutil.exe el&#8216;) DO (call :do_clear &#8222;%%G&#8220;)<br \/>\necho.<br \/>\necho goto theEnd<br \/>\n:do_clear<br \/>\necho clearing %1<br \/>\nwevtutil.exe cl %1<br \/>\ngoto :eof<br \/>\n:noAdmin<br \/>\nexit<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>F\u00fcr Windows Server seit Version 2008 und Windows 7 gibt es hier ein Batch-Script, welches alle Eintr\u00e4ge in allen Ereignisprotokollen l\u00f6scht, zum download: [\u00a0Download wevtutil.zip\u00a0] Wichtig: Das Script muss mit rechter Maustaste -&gt; Als Administrator ausf\u00fchren gestartet werden. Hier das Script im Klartext: @echo off FOR \/F &#8222;tokens=1,2*&#8220; %%V IN (&#8218;bcdedit&#8216;) DO SET adminTest=%%V IF [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3055","post","type-post","status-publish","format-standard","hentry","category-techtalk"],"_links":{"self":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts\/3055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/comments?post=3055"}],"version-history":[{"count":3,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts\/3055\/revisions"}],"predecessor-version":[{"id":3077,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts\/3055\/revisions\/3077"}],"wp:attachment":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/media?parent=3055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/categories?post=3055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/tags?post=3055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}