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.

My system is Windows 11 25H2 and Office 365.

Thank you.

  • 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

4 Replies

  • alpha454's avatar
    alpha454
    Brass Contributor

    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

  • Actually, you can hide the event by creating a blank task and checking the Disable box. That should solve the problem.

     

     

  • PhilipSmith's avatar
    PhilipSmith
    Copper Contributor

    In Event Viewer, right-click the event, select Attach Task to This Event, create a blank task, and check the Disable box to hide the event.

    • PurSpyk's avatar
      PurSpyk
      Iron Contributor

      I tried this and the following error appears: