Is there a batch file to clear Event Viewer?

  1. Ghot's Avatar
    Posts : 85
    Win 10 Home x64 - 10.0.18363.900 (19H2 [1909] )
       #1

    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 Version 10.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
      My Computer

  2. AddRAM's Avatar
    Posts : 2,994
    Windows 10 Pro x64
       #2

    Aw, you got it
      My Computers

  3. Ghot's Avatar
    Posts : 85
    Win 10 Home x64 - 10.0.18363.900 (19H2 [1909] )
    Thread Starter
       #3

    AddRAM said:
    Aw, you got it
    Well I have 3 warnings if you're bored. :)

    27, 360, 10016



    Only 10016 seems to be something I didn't voluntarily do...

    "The application-specific permission settings do not grant Local Launch permission for the COM Server application with CLSID
    Windows.SecurityCenter.WscBrokerManager
    and APPID
    Unavailable"
      My Computer

  4. AddRAM's Avatar
    Posts : 2,994
    Windows 10 Pro x64
       #4

    Did you run the script as Admin ?

    I have no idea, google them.

    I googled 27 for you

    Event ID: 27 at system start up...
      My Computers

  5. Ghot's Avatar
    Posts : 85
    Win 10 Home x64 - 10.0.18363.900 (19H2 [1909] )
    Thread Starter
       #5

    AddRAM said:
    Did you run the script as Admin ?

    I have no idea, google them.
    Ofc, I did. You must think I'm just an ordinary Member.




    /edit I don't think any of them matter. I just wanted to see what was going on w/o all the "me abusing Windows" errors.
      My Computer

  6. AddRAM's Avatar
    Posts : 2,994
    Windows 10 Pro x64
       #6

    Ghot said:
    Ofc, I did. You must think I'm just an ordinary Member.
    Watch out for lightning bolts
      My Computers


  7. Ghot's Avatar
    Posts : 85
    Win 10 Home x64 - 10.0.18363.900 (19H2 [1909] )
    Thread Starter
       #7

    AddRAM said:
    Do you use Outlook ?
    Yuck! No!




    I don't "use" much of anything, yet.




      My Computer

  8. AddRAM's Avatar
    Posts : 2,994
    Windows 10 Pro x64
       #8

    Run a system file check as Admin sfc /scannow

    Also pulled this up Event ID: 27 at system start up...
      My Computers

  9. Ghot's Avatar
    Posts : 85
    Win 10 Home x64 - 10.0.18363.900 (19H2 [1909] )
    Thread Starter
       #9

    AddRAM said:
    Run a system file check as Admin sfc /scannow

    Also pulled this up Event ID: 27 at system start up...


    I have run sfc /scannow many times. Comes back clean every time.

    Yeah, I have dual LAN ports. I only use one.









    /e With the programs list above... my C: drive shows only 26.2GB. Well, I also have the 3GB page file on the E: drive.
    Last edited by Ghot; 29 May 2020 at 02:18.
      My Computer

  10. Paul Black's Avatar
    Posts : 5,155
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #10

    Hello @Ghot,

    Ghot said:
    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?

    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.
    I did actually write a batch script for this which is posted in the Win 7 and Win 10 forum. It is located here . . .

    [1] Goto this TenForums link => Batch Scripts / Programs.
    [2] Goto the heading Event Viewer - Clear ALL Logs . . .
    [3] Download and Run the .bat file.

    I hope this helps!
      My Computer


 

Related Threads
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 06:42.
Find Us




Windows 10 Forums