In this method, we will have a look at Microsoft Office-related tasks because Microsoft Office is known to create a scheduled task that creates this kind of issue. Sometimes it might be a bug or simply bad design but sometimes it might be a malware scheduled to download information after a specific period of time as well.
A lot of the applications create a scheduling task that runs periodically. So, the logical step is to start with checking the task scheduler. The most cause of this issue is a scheduled task running in the background. There are certain viruses that hide as a Windows own service/application and it might be one of those viruses trying to either run something or download something from the internet. Although rare but not entirely out of the question is malware. It can also be caused by a Windows service trying to download something from the internet and failing, thus, trying over and over again. There are some Windows services and third-party applications that can make an indefinitely recurring task in your task scheduler. If the command prompt is popping up after a specific time then the most likely cause is the task scheduler. There are a number of things that can cause this. And, if the command prompt appears during your gaming session then it will most likely minimize your game because the command prompt takes the focus. Most of the users have complained about this appearing during their gaming sessions. after every hour or after every 47 minutes. It might also happen after a specific time e.g. It can happen only at the first login of the Windows or it might happen randomly from time to time during your usage of the computer. The pop up will disappear within a second and you most likely won’t be able to see what’s written in the command prompt. If you are a Windows 10 user then you might notice the command prompt popping up on your screen.