Forum Discussion

alpha454's avatar
alpha454
Brass Contributor
Mar 25, 2026
Solved

How to disable event: OAlert with id 300 from log?

Since this isn't a real error, is there a way to hide it from the event log, since it's the only error I'm currently experiencing? I've tried everything I've found online, but nothing has worked. M...
  • alpha454's avatar
    Apr 02, 2026

    I did it like this and it works!

    You need to create a .bat file with notepad and save it in any directory, go to the event log until you reach Microsoft Office Alerts, right-click on the event with id 300, "associate activity with the event">"create a basic activity", go ahead until you select the path of the .bat file you created and that's it!

    @Echo off

    SET VEVLOGCLR=wevtutil cl

    %VEVLOGCLR% "OAlerts"

    SET VEVLOGCLR=

    exit