Windows 10: Command prompt closes instantly when ran

Discus and support Command prompt closes instantly when ran in Windows 10 BSOD Crashes and Debugging to solve the problem; Hi,I have this probleme cmd instantly closes when it is ran. I open cmd by using windows_key,cmd and then enter. This is annoying as it seems to be... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by POJanvier, May 14, 2021.

  1. POJanvier Win User

    Command prompt closes instantly when ran


    Hi,I have this probleme cmd instantly closes when it is ran. I open cmd by using windows_key,cmd and then enter. This is annoying as it seems to be preventing me from using python which i need to work. I can, however, quickly grab the window preventing it from instantly closing but it closes again when hitting any key. This problem is specific to my user, cmd works on another test user i have created and also does the same thing in safemode. I have ran multiple virus scanning software such as malwarebytes and i have done using powershell some scans with sfc/scannow and no

    :)
     
    POJanvier, May 14, 2021
    #1
  2. cwtech Win User

    command prompt will not open in safe mode with command prompt

    Would I just follow the same steps within safe mode after hooking up to the other system?
     
    cwtech, May 14, 2021
    #2
  3. Command prompt open and crash instantly.

    Command prompt open and crash instantly. I tried run it as admin and result is same can somebody help ?
     
    JakubSchneider, May 14, 2021
    #3
  4. Bree Win User

    Command prompt closes instantly when ran

    Installation media boots to command prompt

    I've just booted from known working install media to see exactly what it does when booting. The sequence of events is...

    1. Windows logo on a black screen
    2. circling dots appear beneath the logo
    3. light blue 'Please wait' screen with circling dots
    4. a command prompt window (very briefly)
    5. the initial Setup page appears

    Do you see steps 1-3? If so, it appears you have stopped at step 4, suggesting that something on the disc cannot be read.

    Does the disc boot properly in another machine? If so, try cleaning the laptop's drive lens then try booting from the disc again.

    If not, make new install media with Microsoft's Media Creation Tool, either as a bootable USB, on an ISO that you can burn to another disc. At Step 8 in Option One of this tutorial you can choose between making a USB or an ISO.

    Download Windows 10 ISO File
     
Thema:

Command prompt closes instantly when ran

Loading...
  1. Command prompt closes instantly when ran - Similar Threads - Command prompt closes

  2. My command prompt is closing automatically, When I open it. It pops up and closes instantly.

    in Windows 10 BSOD Crashes and Debugging
    My command prompt is closing automatically, When I open it. It pops up and closes instantly.: Hi there, I found this problem recently and tried all the possible ways of updating software and diagnosing it as well. I found this thread in the community which is similar to the my issue. I tried all the answers, but they all failed. This is the thread I am referring to...
  3. Command Prompt Opening Then Closing

    in AntiVirus, Firewalls and System Security
    Command Prompt Opening Then Closing: At the moment I have a problem with my HP laptop. I am running Windows 11 and every 1 minute or so I am not certain if it is a regular time a blank command prompt will open under the system32 directory. There would be no text within the prompt and the title would be the...
  4. Java run command closes instantly

    in Windows 10 Gaming
    Java run command closes instantly: Hi, when I try to open java run command it opens then closes really fast but no error code so I don't really have anything else and the site is not helpful either....
  5. Java run command closes instantly

    in Windows 10 Software and Apps
    Java run command closes instantly: Hi, when I try to open java run command it opens then closes really fast but no error code so I don't really have anything else and the site is not helpful either....
  6. Command Prompt opening randomly and closing instantly

    in Windows 10 Customization
    Command Prompt opening randomly and closing instantly: I have this command prompt thing opening randomly around every 10 - 15 minutes, this really annoys me when playing games and such. I managed to accidently press the command prompt which prevented it from closing down. If anyone has a fix for it, it would greatly help....
  7. Command Prompt opening and closing immediately

    in Windows 10 Network and Sharing
    Command Prompt opening and closing immediately: im trying to open my cmd, ive tried as administrator, I've tried making a copy and renaming the exe file, I've tried launching it in safe mode. and nothing is working...
  8. Command Prompt closing immediately.

    in Windows 10 Customization
    Command Prompt closing immediately.: When I startup and application which requires the command prompt to function I run the application as administrator and then the command prompt just flashes and nothing else happens, I need help....
  9. Command Prompt closing by itself

    in Windows 10 Ask Insider
    Command Prompt closing by itself: While i try to access Command Prompt, it opens in full sice for less than half of a second, then chages into very small size (viz. picture) near upper left corner of a screen and after cca half a second closes completly. picture I also noticed the command prompt appears for...
  10. Command Prompt Won't Close

    in Windows 10 Support
    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 running Windows 10 Pro. Is...