If you didn't run script from Windox and you have log with its source could be that device is hacked, examine if you have some job running in /system/script/job, it should be empty if there is no active CLI sessions and no running scripts/events.
I would recommend netinstall and configure device from scratch or export (not backup).
I checked all that and there was no job running nor any active CLI sessions/running scripts.
BUT
It gave me the idea about checking if a external "source" is causing the problem. So I checked my Dude setup and, after *a lot* of testing, I found that I had a function for checking the number of capsman clients that was using a call for the previous version of capsman. I adapted it for the new version, and there is no error anymore
I think Mikrotik should implement a more verbose error info, since finding these errors is very time-consuming.
Thanks for your help
Btw, netinstall and configuring again would have been of no use here. In fact, it never has been of any help for me...