Search This Blog

Saturday, September 19, 2015

How to block or delete Errors and Warning Messages form Computer

First i'm gonna a show you all those Errors and Warning messages which reside in your computer and later on i will help you to fix it.
You have to go through these steps.
  1. First of all you have to open Event Viewer Page to see Errors and Warnings.To open Event Viewer page just go through the steps.
  • Open Run Box by pressing windows key and letter "R" form you keyboard. The Run Box will appear like this..

  • Now you have to type a command: eventvwr in that box and click on ok then you can seee Event Viewer Page like this on you computer screen..

  • Now on the left-hand side just give double left click on Custom Views. After clicking on custom views you can see Administrative Events under custom views like this..
     
  • Now click on Administrative Events.After clicking on Administrative Events you see all those Red circle Errors and Yellow triangle warring Message in the middle of Event Viewer Page.looks like this..

2.Now i'm gonna show you how to delete and fix these Errors and Warnings form Computer
  • firstly you have copy and paste this code in you Notepad.
@echo off
FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
IF (%adminTest%)==(Acess) goto noAdmin
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call:do_clear "%%G")
echo.
echo Event Logs have been cleared! ^<press any key^>
goto theEnd:
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
echo you must run this script as an Administrator!
echo ^<press any key^>
:theEnd
pause>NUL
  • save this code in .bat extensions(eg.eventviewer.bat) on your desktop. The icon will appear something like this.
  • Give a right click on this file and Run as administrator.Then you see DOS running and clearing all the Errors and Warning form computer. It will take sometimes to clear all Errors and Warning form you computer.
Note:If you have any  trouble doing the above steps then you simply download file from the below link.
         Click here to download.
After doing this your computer will be safe and secure.


No comments:

Post a Comment