Windows 10: Delete Event viewer logs from months to to months

Discus and support Delete Event viewer logs from months to to months in Windows 10 Gaming to solve the problem; Suppose if there are 1 years logs I want to keep recent 6 months logs and need to delete other 6 months logs. How ?... Discussion in 'Windows 10 Gaming' started by Rachure Ramakrishna, Jul 7, 2023.

  1. Delete Event viewer logs from months to to months


    Suppose if there are 1 years logs I want to keep recent 6 months logs and need to delete other 6 months logs. How ?

    :)
     
    Rachure Ramakrishna, Jul 7, 2023
    #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, Jul 7, 2023
    #2
  3. Delete Event Log Files created in one month

    I know that an entire log file can be deleted, but if one wants to only delete one month of Warnings, Errors, etc - is that possible?

    When I right click, I see the options to click, Save (only 256), but no where does it say delete selected events.

    I am in the Computer Management of Windows 10 -> Windows Logs -> (Currently Looking at the) System (Events)

    Thank you!

    Original Post: Delete Partial Log Files
     
    CoreyBryant, Jul 7, 2023
    #3
  4. Delete Event viewer logs from months to to months

    Delete Event Log Files created in one month

    Actually I think I figured it out, I created a custom view for that month, and then I can export it. Once done, I will have them all exported without having to worry about the 256 limit by right clicking on Custom View to export. I noticed that it will allow
    me to create the Event Viewer, XML, TXT, CSV, and a Event Viewer Custom View File which is another XML file. I just then need to remember to delete the events around the first or the end of the month.

    Manage Engine has some utility, maybe it might offer it, I'll look at that later.

    I looked at the wevtutil.exe but it does not seem to have a delete option.

    Sorry, let MS come to the boards. I gave up a long time ago giving them ideas, I test software / hardware for other companies now when I can.
     
    CoreyBryant, Jul 7, 2023
    #4
Thema:

Delete Event viewer logs from months to to months

Loading...
  1. Delete Event viewer logs from months to to months - Similar Threads - Delete Event viewer

  2. Event viewer Log

    in Windows 10 Gaming
    Event viewer Log: In the Window OS event viewer, is it possible to log the overwriting, alteration, deletion of file?* Overwriting: O or X* Alteration: O or X* Deletion: O or X https://answers.microsoft.com/en-us/windows/forum/all/event-viewer-log/b71317ee-9f82-4694-82a9-aafbacb69e33
  3. Event viewer Log

    in Windows 10 Software and Apps
    Event viewer Log: In the Window OS event viewer, is it possible to log the overwriting, alteration, deletion of file?* Overwriting: O or X* Alteration: O or X* Deletion: O or X https://answers.microsoft.com/en-us/windows/forum/all/event-viewer-log/b71317ee-9f82-4694-82a9-aafbacb69e33
  4. Delete Event viewer logs from months to to months

    in Windows 10 Software and Apps
    Delete Event viewer logs from months to to months: Suppose if there are 1 years logs I want to keep recent 6 months logs and need to delete other 6 months logs. How ? https://answers.microsoft.com/en-us/windows/forum/all/delete-event-viewer-logs-from-months-to-to-months/cfa93049-bf88-452b-aede-7e62919d6f6a
  5. PowerShell event log that happens every month.

    in Windows 10 Gaming
    PowerShell event log that happens every month.: Why is this event log happening every month?Should I be worried?My os is Windows 10 Home It happens in PowerShell/operational logTask Category: Execute a remote commandCreating Scriptblock text 1 of 1:# Copyright © 2008, Microsoft Corporation. All rights reserved.#Common...
  6. PowerShell event log that happens every month.

    in Windows 10 Software and Apps
    PowerShell event log that happens every month.: Why is this event log happening every month?Should I be worried?My os is Windows 10 Home It happens in PowerShell/operational logTask Category: Execute a remote commandCreating Scriptblock text 1 of 1:# Copyright © 2008, Microsoft Corporation. All rights reserved.#Common...
  7. PowerShell event log that happens every month.

    in AntiVirus, Firewalls and System Security
    PowerShell event log that happens every month.: Why is this event log happening every month?Should I be worried?My os is Windows 10 Home It happens in PowerShell/operational logTask Category: Execute a remote commandCreating Scriptblock text 1 of 1:# Copyright © 2008, Microsoft Corporation. All rights reserved.#Common...
  8. Calendar app deletes events passed 4 months

    in Windows 10 Software and Apps
    Calendar app deletes events passed 4 months: Hello, I've been using the calendar app on my computer but recently noticed that everything after 4 months is removed. Is there any chance i can get these events back? when i sign into the web version of calendar nothing is there. Any help would be brilliant. Jon...
  9. Event Viewer Log.

    in Windows 10 Ask Insider
    Event Viewer Log.: Need to create an event viewer log that tracks USB connects and disconnects. I have all my USB devices disconnecting and reconnecting. I need to identify if it's possibly my UPS (usb connected to PC), because it showed I had a battery discharge when i first installed my...
  10. Event Viewer Logs

    in Windows 10 Support
    Event Viewer Logs: I’m currently on Win10 Pro x64, version 1709, Build 16299.371. Searching in my Event Viewer, I noticed some logs under the “Applications and Services Logs” folder, which I don’t recall having previously (pointed with red arrow, in the image) and are all inactive! Can...