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

Discus and support How can I find out what is causing a Cmd Prompt to open and close? in Windows 10 Support to solve the problem; 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.... Discussion in 'Windows 10 Support' started by chrisan, May 24, 2017.

  1. chrisan Win User

    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?

    :)
     
    chrisan, May 24, 2017
    #1
  2. Michaeru Win User

    Windows 10.1. Looking to find out what is causing a rare (monthly) DPC_WATCHDOG_VIOLATION blue screen

    Hello,

    I just want to make sure everything is alright with my PC, or if it is a simple driver issue, or anything worse.

    I have only blue screened on my PC 3 times over the last 3 months, but all with the mysterious 'DPC_WATCHDOG_VIOLATION' identifier with it.

    No problems when updating NVIDIA graphics card drivers, getting BIOS updates, and the usual checking for updates. Just curious as to what may be specifically causing the rare blue screening.

    I uploaded both my MSinfo32 and my single minidump files into one ZIP file, into OneDrive, in case that may help.

    https://1drv.ms/u/s!AkgOnSrUiugvkC17mJx6M2nTpfen
     
    Michaeru, May 24, 2017
    #2
  3. Michaeru Win User
    Windows 10.1. Looking to find out what is causing a rare (monthly) DPC_WATCHDOG_VIOLATION blue screen

    Thanks for the response!

    Here is a link to my list of drivers, in a text file, using Driver View, as you requested.

    https://1drv.ms/t/s!AkgOnSrUiugvkC549BgHQnxG62J2

    The PC is an Alienware Area-51 R2. I couldn't really tell you much about the motherboard other than that it is made by Alienware.

    Here is my MSinfo32 file and minidump once more.

    https://1drv.ms/u/s!AkgOnSrUiugvkC17mJx6M2nTpfen
     
    Michaeru, May 24, 2017
    #3
  4. How can I find out what is causing a Cmd Prompt to open and close?

    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
     
    Bobby Phoenix, May 24, 2017
    #4
  5. Samuria Win User
    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
     
    Samuria, May 24, 2017
    #5
  6. VBF
    VBF Win User
    Good morning all. My first post so please be nice! *Huh

    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...?
     
  7. chrisan Win User
    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!
     
    chrisan, May 24, 2017
    #7
  8. EdTittel Win User

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

    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--
     
    EdTittel, May 24, 2017
    #8
  9. chrisan Win User
    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.
     
    chrisan, May 24, 2017
    #9
  10. VBF
    VBF Win User
Thema:

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

Loading...
  1. How can I find out what is causing a Cmd Prompt to open and close? - Similar Threads - find causing Cmd

  2. Windows 10 cmd prompt blinking and closing. won't stay open.

    in Windows 10 Customization
    Windows 10 cmd prompt blinking and closing. won't stay open.: I am trying to figure out why I can't get my cmd prompt to stay open. I have tried several things I have found online. right click start button choose powershell admin copy/paste this command Repair-WindowsImage -Online -RestoreHealth and press enter I also tried...
  3. Cmd prompt and cmd prompt csscript.exe

    in Windows 10 Ask Insider
    Cmd prompt and cmd prompt csscript.exe: Hello Lovely people,Im from the Netherlands so my english isnt that very good,But couple of days when i start my up i got an cmd prompt but its empty so it doesnt say anything it stays a few sec and then it goes away and then i get the cmd prompt but with cscript.exe and then...
  4. How can I find out what is running in back ground

    in Windows 10 Customization
    How can I find out what is running in back ground: How can I find out what is running in back ground? How can I set my computer to let me know what is running in the background. I can hear something running sometimes. Since I am on a metered wifi I would Like to know...
  5. Cmd closes after open

    in Windows 10 BSOD Crashes and Debugging
    Cmd closes after open: Hello, I installed some program which edited my regedit. As a result there is some cmd starting and closing after every startup and I can't open new cmd because it closes immediately, only powershell works. I found in history that my AutoRun value in...
  6. how do I find out what is using close to the full disk?

    in Windows 10 Performance & Maintenance
    how do I find out what is using close to the full disk?: When I view it and order it by most used and add them up there is only .26M being used. Definitely my computer has more than .26. [img] 115553
  7. how do I find out what is using close to the full disk?

    in Windows 10 Support
    how do I find out what is using close to the full disk?: When I view it and order it by most used and add them up there is only .26M being used. Definitely my computer has more than .26. [img] 115553
  8. How to find out what is causing "Unidentified Network"

    in Windows 10 Network and Sharing
    How to find out what is causing "Unidentified Network": OK here's the deal I have W7 and W10 guests running under VMWare WS Pro. They are using bridged networking and DHCP, and they used to work fine. It's some while (over a year) since I last used these guests. Now I try to use them and they all give me "Unidentified Network"...
  9. How can I find out what these "other" devices are?

    in Windows 10 Drivers and Hardware
    How can I find out what these "other" devices are?: I gave up on trying to do a clean install, so I just deleted every single program in control panel. All of my drivers were either automatically updated or I was able to update them myself. These three are listed as unknown. The drivers won't update. I ran the Intel...
  10. CMD prompt opens to X:

    in Windows 10 Support
    CMD prompt opens to X:: Hi all. Just upgraded to Windows 10 and for some reason, my cmd prompt opens to X:. I'm not sure why it does that, but if I launch in Admin mode, it usually opens to C:[yada yada]. I'm not sure if this is the cause of many problems I am having with Python, pip, etc all...