Clear All Event Logs in Event Viewer in Windows  

Page 5 of 11 FirstFirst ... 34567 ... LastLast

  1. Posts : 69
    Windows 10 Pro
      My Computer

  2. Posts : 126
    windows 10

    i used "Clear_Event_Viewer_Logs.bat" thanks @Brink for this.Is safe use it on windows 10 1803 ?
      My Computer

  3. Posts : 61,501
    64-bit Windows 11 Pro for Workstations
    Thread Starter

    Hello blueskyler,

    Yep, it is safe to use in 1803.
      My Computers

  4. Posts : 126
    windows 10

    thanks for your fast reply :)
      My Computer

  5. Posts : 61,501
    64-bit Windows 11 Pro for Workstations
    Thread Starter

      My Computers

  6. Posts : 297
    Windows 10 Pro x64

    Every cumulative update, I'll run this tool. Thanks for sharing.
      My Computer

  7. Posts : 61,501
    64-bit Windows 11 Pro for Workstations
    Thread Starter

    I'm glad it could help.
      My Computers

  8. Posts : 1,471
    Win10 Home x64 - 1809

    I use the .bat file to clear the Event Viewer and was getting the access denied for Microsoft-Windows-LiveId/Operational and Analytic. I ran across the following the other day and decided to try it. Been a couple weeks since doing this and I haven't seen any unwanted side effects, but use at your own risk !!!

    Appears it's a permission issue ... Access is denied because of restricted (read only) channel access permissions for this event log. One must grant permission to clear for the member of Local Administrators Group:

    wevtutil sl Microsoft-Windows-LiveId/Operational /ca:O:BAG:SYD:(A;;0x1;;;SY)(A;;0x5;;;BA)(A;;0x1;;;LA)
    wevtutil sl Microsoft-Windows-LiveId/Analytic /ca:O:BAG:SYD:(A;;0x1;;;SY)(A;;0x5;;;BA)(A;;0x1;;;LA)
      My Computers

  9. Posts : 1,471
    Win10 Home x64 - 1809

    I also fixed the following, but it requires editing the registry as TrustedInstaller or System with PowerRun or equivalent and is probably an exercise in futility as the next Win10 upgrade will probably undo it. I haven't done a write up on it, but if I can if anyone is interested.

    Failed to clear log Microsoft-Windows-USBVideo/Analytic. (It should be Microsoft-Windows-USB-Video)
    The instance name passed was not recognized as valid by a WMI data provider
      My Computers

  10. Posts : 52
    Windows 10 Pro 64-Bit

    I was using an older script I beleive I got from Windows Secrets many moons ago. Lately it hasn't been closing the command prompt auotmatically. I wondered why then compared the script here and it had more lines in it. Tried it and it's much slower on the same machine just a few minutes apart. Still not closing automatically. Any ideas why?
      My Computer


Tutorial Categories

Clear All Event Logs in Event Viewer in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone

  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 03:27.
Find Us

Windows 10 Forums