I don't use command prompts often, but right now I'm noticing one open and close immediately. I can't even see any text in it because it's so fast, but it's happening. How can I get to the bottom of this? What is going on??

  • This can likely be malicious software running scripts. Run an anti-malware scan at the root level. – Shankensteinium May 27 '17 at 2:31
  • MalwareBytes Anti-Rootkit is a crowd favorite. – Shankensteinium May 27 '17 at 2:47
  • Could be malware. Could be other possibilities. Are there any tasks in the task bar? Logon scripts? Remote management software (which I've encountered most frequently on business PCs)? What software is running (use TaskList)? I know that isn't narrowing down much, but I'm pointing out there are other possible causes. – TOOGAM May 27 '17 at 3:55
  • Did you try to take a screenshot of the command prompt to see what is running? – spike_66 May 27 '17 at 5:26
  • use sysmon to log all process activity on your Windows. Later you can see the result in eventlog – magicandre1981 May 27 '17 at 8:18