The random console popups give me the jeebies! I still don't know what causes them. Never had such things on older Windows/Lenovo machines.
You might want to review the scheduled tasks. My system had "OfficeBackgroundTaskHandlerRegistration" set to run every hour. It only pops up for an instant, but it would grab input focus and thus do bad things to my blood pressure.
Later came the random console pop-up from the automatic WSL updates [1] and then I did panic enough to actually format all the things but that's another story.
[1]: https://github.com/Microsoft/BashOnWindows/issues/841