1.    24 May 2017 #1
    Join Date : May 2017
    Posts : 3
    Windows 10 x64

    How can I find out what is causing a Cmd Prompt to open and close?


    I was on vacation for about 10 days, so I'm not sure exactly when an app/windows was updated but this problem definitely started in the last 2 weeks.

    I will be typing away in my editor or playing a game and I will see a Command Prompt open and close very fast. Sometimes it will take focus away from my game and leave me in an alt-tabbed kinda state where I have to click back in the game to regain mouse control

    How can I find what could be periodically launching this?

    I have opened Task Scheduler and found some hourly tasks (Chrome/Adobe/Dropbox) that I changed to run in mornings only but this "popup" happened again. Sorting the Task Scheudler by Last Run Time I don't see anything that has run in the last hour

    Where else could this be happening or is there any other way to trace when a program launches Command Prompt?
      My ComputerSystem Spec
  2.    24 May 2017 #2
    Join Date : Jul 2015
    Florida
    Posts : 209
    Windows 10 Pro 64-bit

    Past experience is it's either Office checking for updates, or a printer/driver looking for updates. The best solution is to screen capture it when it happens, so if you know it happens at a certain time, run a screen capture software, and the titlebar of the CMD should show you what is doing it. The other thing you can try is a little program called Focus. Since you said it takes focus away when it happens maybe Focus can tell you what is causing it.

    focus - happydroid
      My ComputerSystem Spec
  3.    24 May 2017 #3
    Join Date : Jul 2016
    Crewe Cheshire
    Posts : 1,451
    windows 10

    One drive often runs this to update onedrive a very handy tool for this sort of thing is WinPatrol Downloads Page it warns you before things like this are added and seeks permision so you know what doing it. Its not AV but in my experance stops more than any AV as it will block and malware trying to set its self to start
      My ComputerSystem Spec
  4.    25 May 2017 #4
    Join Date : May 2017
    Posts : 28
    Win 10 Pro

    Good morning all. My first post so please be nice!

    OP, have you run your A/V scans including Rootkits?

    Have you run AntiMalware scan? I like Malwarebytes Anti-Malware Malwarebytes | Free Cyber Security & Anti-Malware Software

    (I use the free one so have to scan manually)

    Does this issue occur if you just boot up and watch the screen for a while (coffee time!)

    If not, can you definitively say what programs are running in the foreground? You mention editor or game...are they both active or just one or...?
      My ComputerSystem Spec
  5.    25 May 2017 #5
    Join Date : May 2017
    Posts : 3
    Windows 10 x64
    Thread Starter

    Thanks all for the replies! I have no viruses/malware.

    I ran the focus tool as suggested by Bobby and it appears to be DisplayFusion. Everytime I notice it flash on my screen I switch to the focus app and see DisplayFusion.exe.

    I'll mark this as solved and reach out to their developers from here. Thanks again!
      My ComputerSystem Spec
  6.    25 May 2017 #6

    You should check the Scheduled Tasks and search for DisplayFusion.exe. Because MS makes this hard to do in Task Manager, try Nir Sofer's excellent TaskSchedulerView. I used this last year to find an incredibly vexing pop-up cmd window, which proved to be a scheduled update check from Driver Update (which I no longer use, partly for that reason). I also wrote an article for TechTarget in December of last year that explains what I did, and how I did it that you might find interesting and informative: Take control of Windows tasks with TaskSchedulerView.
    HTH,
    --Ed--
      My ComputersSystem Spec
  7.    25 May 2017 #7
    Join Date : May 2017
    Posts : 3
    Windows 10 x64
    Thread Starter

    Thanks Ed, that app indeed shows more than the normal "Task Scheduler"

    I had it happen again and I see OfficeBackgroundTaskHandlerRegistration was the last run (nothing else was close by minutes).

    I found this thread which talks about insider builds (I am not an insider) Identifying an App? - Windows 10 Forums but I'm guessing this made it into the production build.

    I guess DisplayFusion.exe would try to capture/do something with that window, I'm still not sure why that shows up with the focus app.
      My ComputerSystem Spec
  8.    02 Jun 2017 #8
    Join Date : May 2017
    Posts : 28
    Win 10 Pro
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Pretty much all Windows Settings Open for a second and then close.
I'm not sure how long this has been going on, but I only noticed it when I couldn't pin programs to my start menu anymore, and somehow a lot of the programs that I had pinned to it were lost. (Maybe I should mention that I did move pretty much all...
General Support
Apps & Features Open and Close Magnifier in Windows 10
How to Open and Close Magnifier in Windows 10 Magnifier is a tool that enlarges part—or all—of your screen so you can see words and images better. It comes with a few different settings, so use it the way that suits you best. This tutorial...
Tutorials
Microsoft Edge open and close
After recent update MicrosoftEdge open and close immediately. No warning after it. :mad:
Browsers and Email
Solved Poll. Do YOU find that Edge often refuses to close on command ?
I've attached a poll to this thread and its the title says really in that I'm wondering how widespread this issue is. You go to the top right and click the red 'Close' button, Edge responds by bringing up the expected 'Do you want to close all...
Browsers and Email
Command Prompt Won't Close
Ok, so on my Dell Latitude E6520 laptop, I can open command prompt (Normal and Admin), but can not close any of the CMD windows I open unless I go through the Task Manager and shut them down. I do not have that issue on my desktop, which is also...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:58.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums