Is there a batch file to clear Event Viewer?


  1. Posts : 23,242
    Win 10 Home ♦♦♦19045.4291 (x64) [22H2]
       #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. Posts : 4,594
    Windows 10 Pro
       #2

    Aw, you got it
      My Computers


  3. Posts : 23,242
    Win 10 Home ♦♦♦19045.4291 (x64) [22H2]
    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. Posts : 4,594
    Windows 10 Pro
       #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. Posts : 23,242
    Win 10 Home ♦♦♦19045.4291 (x64) [22H2]
    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. Posts : 4,594
    Windows 10 Pro
       #6

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


  7. Posts : 23,242
    Win 10 Home ♦♦♦19045.4291 (x64) [22H2]
    Thread Starter
       #7

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




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




      My Computer


  8. Posts : 4,594
    Windows 10 Pro
       #8

    Run a system file check as Admin sfc /scannow

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


  9. Posts : 23,242
    Win 10 Home ♦♦♦19045.4291 (x64) [22H2]
    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. Posts : 18,044
    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 Discussions
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 17:51.
Find Us




Windows 10 Forums