How-To Geek Forums / Windows 7
Can I delete warnings and events from my event viewer?
(37 posts)1.Copy Between Lines and Paste in notepad text file. (Do NOT Copy Lines)
====================================================================
@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 Event Logs have been cleared! ^
goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
echo You must run this script as an Administrator!
echo ^
:theEnd
pause>NUL
====================================================================
2. Save file as Events.txt on desk top.
3. Rename File Events.txt TO Events.bat
4. Double Click on the Bat File to Clear All Windows Logs.
EDIT: 5. You Need to Find Out what is Causing all the Critical Events in the Administrative Log.
Rick P.
Once the Logs are Cleared, Reboot the Computer and run for a while normally.
Then Copy the Log and paste in a New Post so we can help you configure the system. :) :)
The Administrative Log should NEVER have any entries IF the System is Setup Correctly.
Mine has NO Entries unless I install or may be uninstall something.
Rick P.
(Purist)
I can't get the darn picture posted. !?(ARG)
If HTG just had a method to post an Image without going around one's elbow to scratch their .............

====================================================================
Post me a Picture of Administrative Events
Since I don't have any Administrative Events, I used this Security Log for EXAMPLE ONLY.
Topic Closed
This topic has been closed to new replies. Please create a new topic instead.
