Forum Discussion
How to disable event: OAlert with id 300 from log?
- 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
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