Windows 10: Command prompt Opens and closes after resetting the PC

Discus and support Command prompt Opens and closes after resetting the PC in Windows 10 BSOD Crashes and Debugging to solve the problem; I have this problem of command prompt suddenly popping and then closing after a second Pls tell me this is not a system error because it hasn't... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by BenjaminChristy, May 23, 2021.

  1. Command prompt Opens and closes after resetting the PC


    I have this problem of command prompt suddenly popping and then closing after a second Pls tell me this is not a system error because it hasn't happened after restarting the PC.

    :)
     
    BenjaminChristy, May 23, 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 23, 2021
    #2
  3. cwtech Win User
    command prompt will not open in safe mode with command prompt

    I am repairing a laptop for a friend and I need to access windows in safe mode and the owner has forgotten the password to the main user. I tried logging on with the administrator profile in safe mode but it is not showing up so I was going to use command prompt in safe mode with command prompt but command prompt will not open when I boot that option. Does anyone have any hints for me to figure this out?
     
    cwtech, May 23, 2021
    #3
  4. Command prompt Opens and closes after resetting the PC

    Windows 10 Taskbar Frozen, Limited Command Prompt Access

    Hi Vestii,



    Thank you for posting on Microsoft Community. I understand the inconvenience you are facing. I will certainly help you with this.



    I would suggest you to try with the methods below and check if it helps.

    Method 1: DISM

    I suggest you to try the following steps:


    • Open command prompt by pressing Windows key + X and selecting “Command prompt admin”.

    • In command prompt, type the following commands and press Enter after each command:
    DISM.exe /Online /Cleanup-image /Scanhealth

    DISM.exe /Online /Cleanup-image /Restorehealth


    • Close the command prompt and restart the PC and check if it works.


    Method 2:

    Also, I would suggest you to perform a clean boot and check.

    Putting your system in Clean Boot state helps in identifying if any third party applications or startup items are causing the issue. You need to follow the steps from the article mentioned below to perform a Clean Boot.



    How to perform a clean boot in Windows

    How to perform a clean boot in Windows



    Note: After troubleshooting, refer to this section "How to reset the computer to start normally after clean boot troubleshooting".



    Hope this helps. If you face any issues with Windows, do get back to us. We will be happy to assist you.
     
    ThofikhAhamad, May 23, 2021
    #4
Thema:

Command prompt Opens and closes after resetting the PC

Loading...
  1. Command prompt Opens and closes after resetting the PC - Similar Threads - Command prompt Opens

  2. 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...
  3. Command prompts open and closes after startup

    in Windows 10 Customization
    Command prompts open and closes after startup: The command prompt window states: C:\Users\Loriefel\AppData\Roaming\Ffox.cif https://answers.microsoft.com/en-us/windows/forum/all/command-prompts-open-and-closes-after-startup/e268668d-56ae-4efe-a274-b9625a6ba97a
  4. Command prompts open and closes after startup

    in Windows 10 Gaming
    Command prompts open and closes after startup: The command prompt window states: C:\Users\Loriefel\AppData\Roaming\Ffox.cif https://answers.microsoft.com/en-us/windows/forum/all/command-prompts-open-and-closes-after-startup/e268668d-56ae-4efe-a274-b9625a6ba97a
  5. Command prompts open and closes after startup

    in Windows 10 Software and Apps
    Command prompts open and closes after startup: The command prompt window states: C:\Users\Loriefel\AppData\Roaming\Ffox.cif https://answers.microsoft.com/en-us/windows/forum/all/command-prompts-open-and-closes-after-startup/e268668d-56ae-4efe-a274-b9625a6ba97a
  6. (help) chrome keeps on closing after command prompt opens then closed

    in Windows 10 Ask Insider
    (help) chrome keeps on closing after command prompt opens then closed: When I open chrome (I use incognito) i can use it for around 3 minutes before command prompt opens momentarily then chrome closes, around 5 seconds later a normal chrome window then opens (not incognito) with the web page of what I was last on when not using incognito (if I...
  7. Command Prompt closes immediately after opening batch file

    in Windows 10 News
    Command Prompt closes immediately after opening batch file: [ATTACH]When we execute a batch file, the Command Prompt opens and closes automatically after processing the batch file. Sometimes, the command is executed so quickly that it seems like the Command Prompt closes immediately after opening the batch (BAT) file. This prevents...
  8. Command Prompt Opens then closes immediately

    in Windows 10 BSOD Crashes and Debugging
    Command Prompt Opens then closes immediately: When I open CMD or any command that uses cmd, it just opens then closes really fastplease help https://answers.microsoft.com/en-us/windows/forum/all/command-prompt-opens-then-closes-immediately/de915006-128d-4861-ac88-ee63f4cfea67
  9. 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...
  10. Command Prompt opens and closes randomly

    in Windows 10 Network and Sharing
    Command Prompt opens and closes randomly: A CMD window with the title "C:\Windows\Microsoft.NET\Framework\v4.0.30319" opens about once a minute for a split second and then disappears, I have yet to find a way to stop this... any help? Thanks...