my cmd just pop up and disappear..... how can i solve this
i took the screenshot it says at top ipconfig
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
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
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
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 blog
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.
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 TaskSchedulerViewoffers 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,
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.