Windows 10: Is there a batch file to clear Event Viewer?

Discus and support Is there a batch file to clear Event Viewer? in Windows 10 Support to solve the problem; I have one for Windows 7 and I was wondering if there was one out to clear the Event Viewer in Win 10 Home x64? OS Version10.0.18363.836 (Win10 19H2... Discussion in 'Windows 10 Support' started by Ghot, May 29, 2020.

  1. Ghot Win User

    Is there a batch file to clear Event Viewer?


    I have one for Windows 7 and I was wondering if there was one out to clear the Event Viewer in Win 10 Home x64?
    OS Version10.0.18363.836 (Win10 19H2 [1909] November 2019 Update)

    I've just gotten Win 10 to behave as I like, but all the tweaking and restoring from backups, etc., has literally filled Event Viewer. I'd like to find a batch file that will empty it, so I have a clue as to what's going on, from this point forward.

    Thx in advance.




    /e Well it seems there is. Thx tenforums

    Clear All Event Logs in Event Viewer in Windows

    :)
     
  2. JohnBurns Win User

    Clear All Event Logs in Event Viewer in Windows  


    FWIW CCleaner will clear the Event Viewer Logs - just check the box under Windows>Advanced>Windows Events Logs. run CCleaner and it's that simple. Much faster than most ,bat files I've tried. Just a suggestion.
     
    JohnBurns, May 29, 2020
    #2
  3. RichardC Win User
    Event Viewer

    Is there any way to clear the items listed in 'administrative events' in event viewer? TIA, Richard
     
    RichardC, May 29, 2020
    #3
  4. Snakeyes Win User

    Is there a batch file to clear Event Viewer?

    Clearing event viewer entries


    How can I construct a .bat file to clear entries in the event viewer. Thanks
     
    Snakeyes, May 29, 2020
    #4
Thema:

Is there a batch file to clear Event Viewer?

Loading...
  1. Is there a batch file to clear Event Viewer? - Similar Threads - batch file clear

  2. Event viewer clear logs without administrator privileges

    in Windows 10 Gaming
    Event viewer clear logs without administrator privileges: Dear Microsoft Team,I have a windows 11 laptop. When I am logged with a non-admin user, I cannot clear logs. Is there a possibility to permit this non-admin user to clear logs in Event Viewer?Regards....
  3. Event viewer clear logs without administrator privileges

    in Windows 10 Software and Apps
    Event viewer clear logs without administrator privileges: Dear Microsoft Team,I have a windows 11 laptop. When I am logged with a non-admin user, I cannot clear logs. Is there a possibility to permit this non-admin user to clear logs in Event Viewer?Regards....
  4. Event Viewer Log Files

    in Windows 10 Gaming
    Event Viewer Log Files: I've noticed my disk space is running low and I've found Event Viewer log files are taking up 25GB. The log file size limit is set to the default of 20480 KB and set to overwrite.I'm sure they shouldn't be taking this much space up.Here's a screenshot of what I'm seeing.Does...
  5. Event Viewer Log Files

    in Windows 10 Software and Apps
    Event Viewer Log Files: I've noticed my disk space is running low and I've found Event Viewer log files are taking up 25GB. The log file size limit is set to the default of 20480 KB and set to overwrite.I'm sure they shouldn't be taking this much space up.Here's a screenshot of what I'm seeing.Does...
  6. Cannot clear Event Viewer logs with .ps1 script

    in Windows 10 Performance & Maintenance
    Cannot clear Event Viewer logs with .ps1 script: I created a PowerShell script saved as a .ps1 file, which is stated below. Whenever I run it, it says "Access is denied" and does not clean Event Viewer logs. Please take a look at the attached screenshots and let me know what I am doing wrong. By the way, whenever I run the...
  7. Cannot clear Event Viewer logs with .ps1 script

    in Windows 10 Support
    Cannot clear Event Viewer logs with .ps1 script: I created a PowerShell script saved as a .ps1 file, which is stated below. Whenever I run it, it says "Access is denied" and does not clean Event Viewer logs. Please take a look at the attached screenshots and let me know what I am doing wrong. By the way, whenever I run the...
  8. Clear Event Viewer Scheduler?

    in Windows 10 Support
    Clear Event Viewer Scheduler?: Could someone make the "Clear All Event Viewer Logs using a BAT file" self starting such as making it run automatically on a daily basis or show me what code I would need to add to it to do that for me. I would just love to clear out the 10016s and 7031s codes daily. Thanks...
  9. Clear All Event Logs in Event Viewer in Windows

    in Windows 10 Tutorials
    Clear All Event Logs in Event Viewer in Windows: How to: Clear All Event Logs in Event Viewer in Windows How to Clear All Event Logs in Event Viewer in Windows Event Viewer is a tool that displays detailed information as event logs about significant events on your PC. Event logs are special files that record...
  10. Clearing event viewer entries

    in Windows 10 Support
    Clearing event viewer entries: How can I construct a .bat file to clear entries in the event viewer. Thanks 12367