how to solve my cmd pop up problem

Page 1 of 2 12 LastLast

  1. Posts : 5
    Windows 10
       #1

    how to solve my cmd pop up problem


    my cmd just pop up and disappear..... how can i solve this
    i took the screenshot it says at top ipconfig
      My Computer


  2. Posts : 226
    Many
       #2

    If you are running a batch script or typing a command like "ipconfig" in the run dialog box then yes it will run said command or script and then exit. If you press the Start button, type cmd and select "Command Prompt" it should launch and stay open.
      My Computer


  3. Posts : 5
    Windows 10
    Thread Starter
       #3

    Neemobeer said:
    If you are running a batch script or typing a command like "ipconfig" in the run dialog box then yes it will run said command or script and then exit. If you press the Start button, type cmd and select "Command Prompt" it should launch and stay open.
    what should i do to remove it.... i am unable to play games because of it
      My Computer


  4. Posts : 226
    Many
       #4

    So you're saying a command prompt keeps opening and closing repeatedly? If so does it start when you first log in?
      My Computer


  5. Posts : 5
    Windows 10
    Thread Starter
       #5

    Neemobeer said:
    So you're saying a command prompt keeps opening and closing repeatedly? If so does it start when you first log in?
    yes ..... and it opens in a one minute loop
      My Computer


  6. Posts : 226
    Many
       #6

    Well it could be getting launched in a number of ways.


    • Another program could be launching it
    • There may be a batch, vbs, or powershell script in your start up (You can open task manager and look at the startup tab to determine if this is the case)
    • There could be a scheduled task launching cmd
      My Computer


  7. Posts : 5
    Windows 10
    Thread Starter
       #7

    Neemobeer said:
    Well it could be getting launched in a number of ways.


    • Another program could be launching it
    • There may be a batch, vbs, or powershell script in your start up (You can open task manager and look at the startup tab to determine if this is the case)
    • There could be a scheduled task launching cmd
    i dont see anything which could launch cmd
      My Computer


  8. Posts : 42,963
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #8

    Hi, try a process of elimination.
    1. do a clean boot. (First section here if unsure how to do this)
    Clean Boot - Perform in Windows 10 to Troubleshoot Software Conflicts - Windows 10 Forums
    Do you see the command prompt dialogue box appear? (I guess that's what you mean by
    my cmd just pop up
    )

    If not, then start enabling startups until it reappears.

    Boot normally again.

    2. If it still appears after a clean boot, examine your scheduled tasks. (E.g. type 'task sch' in Cortana's search box)
    Try running each one you think could be related manually by rt clicking a task, and click Run, observe if the cmd box appears.

    Please post back your results.
      My Computers


  9. Posts : 4,224
    Windows 10
       #9

    When it comes to the "checking scheduled tasks" part, Dalchina, I'd like to offer an easier approach with the potential to short-circuit what could be a time-consuming process. The NirSoft utility TaskSchedulerView offers a "Find" selection in its "Edit" menu. It is, to my knowledge, the only tool that can search all fields for all scheduled tasks at a single go.

    By searching for the string "bat" (the typical extension for batch files) the OP can quickly check to see if a scheduled task is running a batch file and thus also invoking the cmd prompt window. I learned this in running down a random pop-up on my own desktop recently related to post start-up/login behavior for a driver scanning tool. The same technique would also work for file extensions such as "vbs" for visual basic script, or "ps1" for PowerShell scripts. It may not turn everything over, but it should point to at least some items of potential interest.

    Here's a blog post I wrote on 9/12 that explains more about how I used TaskSchedulerView to solve my specific problem: TaskSchedulerView IDs Cmd.exe Popups - Windows Enterprise Desktop.

    HTH,
    --Ed--
      My Computers


  10. Posts : 42,963
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #10

    Thanks Ed, useful you've had that experience.

    I was hoping to make it simple initially- there should only be a small number of user specified scheduled tasks (Task scheduler library) - I should have been more specific there- so running each in turn would be quick, assuming the task responsible is there.

    I'm aware of that neat Nirsoft utility.. then there's the chance the task might not actually start a bat as such.
      My Computers


 

  Related Discussions
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 15:10.
Find Us




Windows 10 Forums