This question is an exact duplicate of:
I have a problem with my Win10 PC where I'm getting regular command prompt windows launching every 15 mins or so, trying to run an app or batch file then disappearing so fast I can't see what was run.
Only started recently and I have not installed any new software, and my Windows defender is up to date so hopefully not a virus.
Also checked the various registry settings for startup apps HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run and Windows startup folder / Task Manager startup, nothing suspicious added.
I get these regular invocations even if there is no application running so its likely something in the background.
Any tips about how to locate what is being launched and by what app/background process?