Windows 10: Event Viewer

Discus and support Event Viewer in Windows 10 Performance & Maintenance to solve the problem; Is there any way to clear the items listed in 'administrative events' in event viewer? TIA, Richard 98433 Discussion in 'Windows 10 Performance & Maintenance' started by RichardC, Nov 18, 2017.

  1. RichardC Win User

    Event Viewer


    Is there any way to clear the items listed in 'administrative events' in event viewer? TIA, Richard

    :)
     
    RichardC, Nov 18, 2017
    #1

  2. Delete Event Log Files created in one month

    Rishad,

    I noticed that some type of XML coding might help to export.

    I export the logs basically based on the setup of the events. For example, you have Event Viewer (Local) -> Windows Logs -> Security. And I export them to )say the month of April):

    D:\Logs\Event Viewer\Event Viewer (Local)\Windows Logs\2016\Security\

    D:\Logs\Event Viewer\Event Viewer (Local)\Windows Logs\2016\Security\Comma Separated Value - CSV\04.csv

    D:\Logs\Event Viewer\Event Viewer (Local)\Windows Logs\2016\Security\Event Viewer\No Display Information\04.evtx

    D:\Logs\Event Viewer\Event Viewer (Local)\Windows Logs\2016\Security\Event Viewer\Display Information for English\04..evtx

    D:\Logs\Event Viewer\Event Viewer (Local)\Windows Logs\2016\Security\Event Viewer Current View - XML\04.xml

    D:\Logs\Event Viewer\Event Viewer (Local)\Windows Logs\2016\Security\TXT\04.txt

    D:\Logs\Event Viewer\Event Viewer (Local)\Windows Logs\2016\Security\XML\No Display Information\04.xml

    D:\Logs\Event Viewer\Event Viewer (Local)\Windows Logs\2016\Security\XML\Display Information for English\04.xml

    What is getting a bit more difficult is creating the Event Viewer (Local) -> Applications and Services Logs -> Dell (OK a bit easy), but then you have Event Viewer (Local) -> Applications and Services Logs -> Microsoft -> Windows -> AAD. Which goes to:

    D:\Logs\Event Viewer\Event Viewer (Local)\Applications and Services Logs\Microsoft\Windows\AAD\Operational\2016\Comma Separated Files - CSV\01.csv

    D:\Logs\Event Viewer\Event Viewer (Local)\Applications and Services Logs\Microsoft\Windows\AAD\Operational\2016\Event Files\No Display Information\01.evtx

    D:\Logs\Event Viewer\Event Viewer (Local)\Applications and Services Logs\Microsoft\Windows\AAD\Operational\2016\Event Files\Display Information for English\01.evtx

    D:\Logs\Event Viewer\Event Viewer (Local)\Applications and Services Logs\Microsoft\Windows\AAD\Operational\2016\TXT\01.txt

    D:\Logs\Event Viewer\Event Viewer (Local)\Applications and Services Logs\Microsoft\Windows\AAD\Operational\2016\XML\No Display Information\01.xml

    D:\Logs\Event Viewer\Event Viewer (Local)\Applications and Services Logs\Microsoft\Windows\AAD\Operational\2016\XML\Display Information for English\01.xml

    So maybe if an XML export can some export / create the proper documents, that would be great!

    Thank you!
     
    CoreyBryant, Nov 18, 2017
    #2
  3. Windows Store

    Hi,

    We can look into the Even viewer logs to diagnose the issue. Event Viewer is a tool that shows detailed information about significant events on your computer. Event Viewer can be helpful when troubleshooting problems in Windows. To open Event Viewer type
    Event Viewer in the search box and click View event logs.
     
    Vinod Archak, Nov 18, 2017
    #3
  4. Event Viewer

    You can execute attached batch script to delete all event logs. Make sure to execute the batch script as a administrator.
     
    FreeBooter, Nov 18, 2017
    #4
  5. fdegrove Win User
    Hi,

    Double click any event in the admin log and choose "delete". That will clear it.

    Cheers, *Wink
     
    fdegrove, Nov 18, 2017
    #5
  6. RichardC Win User
    Thanks for the reply FreeBooter. If I run the batch script, will it remove all the events? My main concern is in administrative events. I had a corrupt file that was issuing critical events every 10 seconds or so. It accumulated thousands of events. Once I fixed the file, the critical events stopped.
    PS fdegrove: when I double click on a particular event, it just opens a details box pertaining to the event. Even so, it would take me forever to do them one at a time. But thanks anyway for your response.
     
    RichardC, Nov 19, 2017
    #6
  7. Yes batch script will delete all event logs even administrative event logs are deleted.
     
    FreeBooter, Nov 19, 2017
    #7
  8. fdegrove Win User

    Event Viewer

    Hi,
    @RichardC :

    Selecting one event and double clicking it will allow you to delete not just that one but actually clear the admin log in a single go.

    Cheers, *Wink
     
    fdegrove, Nov 19, 2017
    #8
  9. Clint Win User
    When I double click on an event, I don't have the option to delete. Only Copy and Close.

    Event Viewer [​IMG]
     
    Clint, Nov 19, 2017
    #9
  10. Pirx Win User
    "Administrative Events" is a predefined filter showing events from a number of logs; you can only clear those by clearing the associated individual event logs, which you may not want to do. I would recommend to leave well enough alone, unless you want to clear all the associated logs. You can also backup the logs and save them to event files before deleting them.
     
  11. zbook New Member
    If you are planning an in place upgrade repair to move from 1703 to 1709 that will also clean the events.
     
    zbook, Nov 20, 2017
    #11
  12. fdegrove Win User
    Hi,
    @Clint: I made a mistake, it's "Event Viewer Local" that you can clear that way, not the "Administrative Events" log. Sorry about that.

    Cheers, *Wink
     
    fdegrove, Nov 20, 2017
    #12
  13. RichardC Win User

    Event Viewer

    Thank you everyone. zbook, I'm already running v1709. I did run a drive cleaner and it did wipe out some of the unwanted items in administrative events. The others I can live with. Thank you everyone, Richard
     
    RichardC, Apr 5, 2018
    #13
Thema:

Event Viewer

Loading...
  1. Event Viewer - Similar Threads - Event Viewer

  2. Microsoft Defender error messages in Event Viewer 7000 and 7001

    in AntiVirus, Firewalls and System Security
    Microsoft Defender error messages in Event Viewer 7000 and 7001: Windows Security [Microsoft Defender] has started throwing error messages in Event Viewer, in Windows 10 Pro 64-bit, both version 1909 and 2004, apparently in the latest Defender Platform 4.18.2007.8: Event 7001: “The Windows Defender Antivirus Network Inspection Service...
  3. got an error in event viewer, source: ESENT

    in Windows 10 BSOD Crashes and Debugging
    got an error in event viewer, source: ESENT: svchost 4276,R,98 TILEREPOSITORYS-1-5-18: Error -1023 0xfffffc01 occurred while opening logfile C:\WINDOWS\system32\config\systemprofile\AppData\Local\TileDataLayer\Database\EDB.log....
  4. My event viewer's "Windows Log -> system" session does not displaying items correctly, how...

    in Windows 10 Software and Apps
    My event viewer's "Windows Log -> system" session does not displaying items correctly, how...: see below: [ATTACH] they should be something like this: [ATTACH] Thanks in advance https://answers.microsoft.com/en-us/windows/forum/all/my-event-viewers-windows-log-system-session-does/8d1308c0-8a5f-4bb1-a317-c044cc5444b4
  5. Pc restarted by itself. Gave this message on event viewer. Happened the other day as well....

    in Windows 10 Ask Insider
    Pc restarted by itself. Gave this message on event viewer. Happened the other day as well....: [ATTACH] submitted by /u/andrewandersen8 [link] [comments] https://www.reddit.com/r/Windows10/comments/i3uj3b/pc_restarted_by_itself_gave_this_message_on_event/
  6. Cortana error in Windows 10 event viewer

    in Cortana
    Cortana error in Windows 10 event viewer: Windows 10 Pro 64 bit, just upgraded to build 19041.388 In event viewer, there are many of the same error. How could I fix it? Thanks Event ID = 10001 Task Category = None Unable to start a DCOM Server:...
  7. Where to find Microsoft "sign out" notifications on Event Viewer

    in Windows 10 Ask Insider
    Where to find Microsoft "sign out" notifications on Event Viewer: I received a desktop notification that I had been signed out of Microsoft. Where can I find the notification under Event Viewer? It possibly relates to Outlook but there is no dropdown for Outlook in Event Viewer. I believe I was signed in to Outlook on the machine but not...
  8. Event Viewer doesn't show Diagnostic test results.

    in Windows 10 BSOD Crashes and Debugging
    Event Viewer doesn't show Diagnostic test results.: I'll explain it briefly: So, I ran the Memory Diagnostic Tool twice to check if my RAM was working well, after each time opening the Event Viewer, clicking on Windows Logs > System, then using the "Find" tool to search for "MemoryDiagnostics-Results", but finding only two...
  9. I need help. Event Viewer doesn't show me the results of the Memory Diagnostic tests I ran.

    in Windows 10 Ask Insider
    I need help. Event Viewer doesn't show me the results of the Memory Diagnostic tests I ran.: I'll explain it briefly: I ran the Memory Diagnostic Tool two times to check whether my RAM was working well or not, then opened the Event Viewer and searched for "MemoryDiagnostics-Results", but getting no info about my PC's memory and only finding two events named...
  10. Sporadic BSOD - Machine Check Exception, multiple times per day - DMP files, Event Viewer...

    in Windows 10 BSOD Crashes and Debugging
    Sporadic BSOD - Machine Check Exception, multiple times per day - DMP files, Event Viewer...: Hi there, I have encountered a rather frustrating issue with my new Windows 10 PC. Every few hours, or sometimes after not long at all, Windows will freeze completely - including sound, which turns whatever's playing into an awful buzzing from the moment it froze. From...