Reset Windows 7 Reliability Monitor batch file

Open notepad.exe and paste the following:

:: Created by: Shawn Brink
:: http://www.sevenforums.com
:: Tutorial:  http://www.sevenforums.com/tutorials/20779-reliability-monitor-reset.html

reg set HKLM\SOFTWARE\Microsoft\Reliability Analysis\WMI /v WMIEnable /T REG_DWORD /D 00000001 /F
del /f /S /Q /A “%ProgramData%\Microsoft\RAC\PublishedData\*”
del /f /S /Q /A “%ProgramData%\Microsoft\RAC\StateData\*”
@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

Save as Reset_Reliability_Monitor.bat and run.

Source: http://www.sevenforums.com

Advertisements

2 thoughts on “Reset Windows 7 Reliability Monitor batch file

  1. Just would like thanks for special read. I have enjoy it with great interest. You must spend numerous time and effort to write.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s