none
Windows 7 "custom views" how to clear admin events log?

    Question

  • Hi, I have Windows 7 Home premium.

    My question is regarding the "events log" found in Administrative tools.

    I can clear every log in events under "WINDOWS LOGS", however the one I cant find a way to reset or clear is the one known as "CUSTOM VIEWS" (the one that looks like a folder with a funnel on it. This folder has a drop down icon, that looks like a funnel with the name "ADMINISTRATIVE EVENTS" next to it.
    When I click this it shows all the warnings and errors going way back to the day I origionally installed windows 7 which was four months ago!
    No one has come up with an answer to my question or clearly understands which log I am refering to.
    How do I clear this part of the log? Nothing I do shows any clear or delete options to remove those old way out of date error messages.
    Is there a way to clear this part of the log and if so, how is it done?
    Thanks in advance!
    Tuesday, March 16, 2010 3:51 AM

Answers

  • Hi

    The Administrative Events is a custom view and compilation of all the critical, warning, and other important events, from certain other logs in the Event Viewer.

    You would need to clear all of those other logs to clear the Administrative Events list.

    The easiest way to do this is to note the Source name of the event in the Administrative Events, expand the
    Applications and Service Logs\Microsoft\Windows Logs.

    Look for the folder with the Source name. Expand that folder, right click each of the logs under that folder and select the Clear option.

    Hope this helps.

    Thank You for using Windows 7


    Ronnie Vernon MVP
    • Marked as answer by MrBruce406969 Tuesday, March 16, 2010 7:54 AM
    Tuesday, March 16, 2010 6:51 AM
    Moderator

All replies

  • Hi

    The Administrative Events is a custom view and compilation of all the critical, warning, and other important events, from certain other logs in the Event Viewer.

    You would need to clear all of those other logs to clear the Administrative Events list.

    The easiest way to do this is to note the Source name of the event in the Administrative Events, expand the
    Applications and Service Logs\Microsoft\Windows Logs.

    Look for the folder with the Source name. Expand that folder, right click each of the logs under that folder and select the Clear option.

    Hope this helps.

    Thank You for using Windows 7


    Ronnie Vernon MVP
    • Marked as answer by MrBruce406969 Tuesday, March 16, 2010 7:54 AM
    Tuesday, March 16, 2010 6:51 AM
    Moderator
  • not true, does not work on my windows 7 pro 64 bit. i have cleared all of the logs and the admin log still has 2,792 objects. No option to delete and the underlying logs are empty.

     


    dr Karron (drdbkarron) on facebook and drdbkarron@gmail.com
    Monday, August 15, 2011 3:11 AM
  • Delete all the log files, including the combined administrator log, by running this batch file as the Administrator http://www.sevenforums.com/tutorials/25480-event-viewer-one-click-clear.html?ltr=E

    Monday, August 15, 2011 1:07 PM
  • This did not work for me either, Ronnie, is there anything else you can tell us that might help? I did clear a small amount from another log using your method, however my Administrative Events Log has 1018 !Error notations showing and now way to clear them.

    Thank you

    Wednesday, May 29, 2013 5:04 PM
  • Can you tell me of anyone else who has used this link. Date here is quite old so afraid to go barging ahead without more information.

    Thank you

    Wednesday, May 29, 2013 5:06 PM
  • Can you tell me of anyone else who has used this link. Date here is quite old so afraid to go barging ahead without more information.

    Thank you


    If you’re referring to my link, it works perfectly well in Vista, 7 and 8.

    Wednesday, May 29, 2013 5:35 PM
  • OK I have tried this link/product now and did not find that it did a thing. It did not even list those files as being clutter, nor anything else from Administrative Event Logs were listed either. As far as I can see it is just another scam giving a list of errors found on your computer that may or may not even exist, just to make it look good. Then before cleaning out what they say was found want to charge you money, or sign you up for live chat with a tech so they can talk you in to even higher fees.  Sorry, was hoping for a real cure.

    Wednesday, May 29, 2013 6:04 PM
  • Didn't even touch Adm. Event Log on Errors. Wish that it had.
    Wednesday, May 29, 2013 6:08 PM
  • My dear chap, I can emphatically assure you it works!

    Copy and paste the following twelve lines to Notepad, save it as ClearAll.bat. Run it by right-clicking it and choosing Run as Administrator. Here are the twelve 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 goto theEnd
    :do_clear
    echo clearing %1
    wevtutil.exe cl %1
    goto :eof
    :noAdmin
    exit

    Wednesday, May 29, 2013 6:23 PM
  • The instructions given above do not work for Administrative Events, it is instead the method for clearing Windows Logs: Applications, Security, Setup, and Forwarded Events. I also have yet to find a way for clearing Administrative Events, of which I have 1058. As for the other suggestion with link, it is lacking any step-by-step of how to use the link, so leaves me baffled as well as to how it would work.  Any further information offered on use of this link would be appreciated. 
    Monday, June 24, 2013 3:55 PM
  • OK, the twelve lines to Notepad and saved as ClearAll.bat do work quite well. I have Windows 7 and did have 1058 Administrative Events on my computer, I now have 0, thanks to ClearAll.bat.  Also, the link given might work as well, however it will cost you $99.00 for a one year subscription in order to use it. Plus it installs an AVG toolbar onto your own toolbar whether you actually purchase the AVG package or not. So all in all, the twelve lines listed above do work and are free!

    Monday, June 24, 2013 4:29 PM
  • Job well Done!!! 
    Wednesday, December 11, 2013 9:36 PM
  • I was MUCH too afraid' of the little twelve lines to run them but the info here did allow me to individually select the appropriate offending sub folders in the windows folders and clear everything out and start fresh

    Its nice that the admin folder is there for you as a grouping of those offensive dangerous errors.. I wonder if anyone EVER runs  error free anymore

    Saturday, February 22, 2014 3:30 AM
  • Just execute this command in an elevated command prompt:

    for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"

    Warning: this will delete all events from the Event Viewer, not only the Administrative Events.

    Tuesday, August 26, 2014 11:56 AM
  • Thanks Joopbraak the commands delete all!! i run this command whit more confidence, instead of using the Batch...
     
    Tuesday, January 6, 2015 2:14 AM
  • YES!!!  They do work tremendously well. I thank you as support wayyyy over in India somewhere was trying to charge me that exact 99.00 for something that I just did due to your knowledge and kindness. I went from 22k+ critical error and negative events to ZERO ZERO ZEROOOOO.

    I would venture to think that the lad has missed a step and perhaps did less or more than you instructed.

    Thursday, August 4, 2016 12:04 AM
  • Create a batch file with this line:

    @for /f "delims=," %%i in ( 'wevtutil el' ) do wevtutil cl "%%i" >NUL 2>&1

    Run as administrator.

    Anyone know how to kill the Custom View log itself?  In my case, it was created by HP & came already set up with my new laptop.

    Saturday, August 27, 2016 5:39 AM