!!

Welcome to our Forum, extension and content sharing platform of Electrical Test and Measurement Product Reviews Blog.

 
Registration this is Free, we accept contributors of 17 years old and above. We do not accept registration with Gmail

Active since 7 June 2012  


Copyright Notice: Entire ITTSB.EU content & images they are copyright protected. - Forum search engine disabled to Guests - No need of you using Adblock software.

Author Topic: How to clean Windows Event Viewer log - Manualy  (Read 2510 times)

0 Members and 2 Guests are viewing this topic.

Online Kiriakos GR

  • Administrator
  • Hero Member
  • *****
  • Join Date: May 2012
  • Location: Greece
  • Posts: 2270
  • Country: gr
    • ittsb.eu
  • job title: Industrial Maintenance Electrician
How to clean Windows Event Viewer log - Manualy
« on: September 07, 2021, 12:24:27 PM »
Windows Event Viewer log this is the most useful tool for operating system diagnosis and troubleshooting.

Usually they are recorded too many notification messages and a lesser quantity of system errors
Either way, over the years I did found one text based script (regular .BAT file), this described as Reset_Reliability_Monitor.bat

Copy the text bellow in to a new text file, then rename it to Reset_Reliability_Monitor.bat and run it.  :)

--------------------------------------------------------------------------------------------------------------


reg add "HKLM\SOFTWARE\Microsoft\Reliability Analysis\WMI" /v WMIEnable /T REG_DWORD /D 1 /F
del /f /S /Q /A "%ProgramData%\Microsoft\RAC\Outbound\*"
del /f /S /Q /A "%ProgramData%\Microsoft\RAC\PublishedData\*"
del /f /S /Q /A "%ProgramData%\Microsoft\RAC\StateData\*"
del /f /S /Q /A "%ProgramData%\Microsoft\RAC\Temp\*"
@echo off
FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
IF (%adminTest%)==(Access) goto noAdmin
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
echo.
echo goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
exit
WWW.ITTSB.EU   Industrial Test Tools Scoreboard  (Product Reviews Blog) / Editor in Chief.
The content of this Web site is copyright protected

 

ITTSB.EU Blog

General Data Protection Regulation GDPR ITTSB.EU Home Page Reward us by a Donation - Sponsorship TsDMMViewer Data Logger for FLUKE 884xA

ITTSB Blog - Sponsors

protosnet.com - Internet solutions FLUKE benchtop DMM Repair Services

Recommended Links

Hellenic Accreditation System E.SY.D. Portal of city Volos - Greece Clean Up and Customize Facebook Firefox Backup Tool 32bit / 64 bit Winaero Tweaker = Win7 Fonts size fix