Windows 10: C:\WINDOWS\system32\cmd.exe repeatedly opens and closes instantly in Terminal several times...

Discus and support C:\WINDOWS\system32\cmd.exe repeatedly opens and closes instantly in Terminal several times... in Windows 10 Gaming to solve the problem; I use Windows 11. Sometimes, an empty black screen labelled "C:\WINDOWS\system32\cmd.exe" repeatedly opens and then instantly closes itself. This... Discussion in 'Windows 10 Gaming' started by Autranaut, Dec 20, 2024.

  1. Autranaut Win User

    C:\WINDOWS\system32\cmd.exe repeatedly opens and closes instantly in Terminal several times...


    I use Windows 11. Sometimes, an empty black screen labelled "C:\WINDOWS\system32\cmd.exe" repeatedly opens and then instantly closes itself. This always happens shortly 7-10 seconds after the computer boots up and sometimes happens when the computer is unlocked from sleep mode.I have tried:Scanning for viruses Malwarebytes couldn't find anything.Pressing Ctrl-R and typing in "shell:startup". This opens user/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup, which is apparently supposed to show a list of startup programs but is completely empty.Going into Task Manager -> St

    :)
     
    Autranaut, Dec 20, 2024
    #1

  2. Cmd instantly closes

    So my cmd instantly closes.

    That is because you have an Autoruns key in there which is starting explorer and then exiting.

    That key seems to be there because something else is broken and explorer is not starting when you log on.

    Note that the key is not required for normal operation of Windows.

    You need to fix explorer first and then remove the Autoruns key.

    To fix explorer:

    • Run regedt32
    • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.
    • On the right side, there should be a value called Shell.
    • In the right hand side pane, make sure that the default string value of Shell is explorer.exe.
    • Save any changes
    • Log off and log on again.

    Source Windows explorer.exe does not start or open at startup
     
    DavidPostill, Dec 20, 2024
    #2
  3. DiMiliano Win User
    CMD keeps popping up and closing instantly

    Hi, I updated my computer to Windows 11 recently, and I updated everything in my PC. But my cmd is popping up and closing instantly, and it disturbs me. Is there any way to fix it?. I saw some threads in this site but unfortunately I do not have the same bug as I saw.
    My cmd shows me:

    Cannot access file C:\Program Files\DriverSetupUtility\FUB\+ (multiple times).

    Thanks in advance.
     
    DiMiliano, Dec 20, 2024
    #3
  4. C:\WINDOWS\system32\cmd.exe repeatedly opens and closes instantly in Terminal several times...

    Ramesh Srinivasan, Dec 20, 2024
    #4
Thema:

C:\WINDOWS\system32\cmd.exe repeatedly opens and closes instantly in Terminal several times...

Loading...
  1. C:\WINDOWS\system32\cmd.exe repeatedly opens and closes instantly in Terminal several times... - Similar Threads - WINDOWSsystem32cmd exe repeatedly

  2. cmd/terminal opens and closes instantly 3times ,,,, is this a virus ?

    in Windows 10 Gaming
    cmd/terminal opens and closes instantly 3times ,,,, is this a virus ?: hey i have reset my pc yesterday , and today i saw that terminal/cmd opens and closes instantly 3 times , and it makes my pc slow , i even downloaded a game , after playing it for 10 mins it starts lagging and my whole pc starts lagging , even it is a small game and my pc is...
  3. cmd/terminal opens and closes instantly 3times ,,,, is this a virus ?

    in Windows 10 Software and Apps
    cmd/terminal opens and closes instantly 3times ,,,, is this a virus ?: hey i have reset my pc yesterday , and today i saw that terminal/cmd opens and closes instantly 3 times , and it makes my pc slow , i even downloaded a game , after playing it for 10 mins it starts lagging and my whole pc starts lagging , even it is a small game and my pc is...
  4. C:\WINDOWS\system32\cmd.exe repeatedly opens and closes instantly in Terminal several times...

    in Windows 10 Software and Apps
    C:\WINDOWS\system32\cmd.exe repeatedly opens and closes instantly in Terminal several times...: I use Windows 11. Sometimes, an empty black screen labelled "C:\WINDOWS\system32\cmd.exe" repeatedly opens and then instantly closes itself. This always happens shortly 7-10 seconds after the computer boots up and sometimes happens when the computer is unlocked from sleep...
  5. Microsoft Store opens then instantly closes

    in Windows 10 Gaming
    Microsoft Store opens then instantly closes: I've tried everything I've found online but since a few days ago any new starters or any newly built laptops cannot open the Microsoft Store, it opens for 1 second and then closes. I've tried PowerShell to remove it and reinstall it, the laptops are up to date with Windows...
  6. Microsoft Store opens then instantly closes

    in Windows 10 Software and Apps
    Microsoft Store opens then instantly closes: I've tried everything I've found online but since a few days ago any new starters or any newly built laptops cannot open the Microsoft Store, it opens for 1 second and then closes. I've tried PowerShell to remove it and reinstall it, the laptops are up to date with Windows...
  7. Windows Search opens then instantly closes

    in Windows 10 Gaming
    Windows Search opens then instantly closes: I don't know what had happened, because just a day earlier the search bar was working correctly. I turned off my pc then opened it again the next day to found out that my search bar is not working properly. Every time i try to open it whether its by opening the start menu...
  8. Windows Search opens then instantly closes

    in Windows 10 Software and Apps
    Windows Search opens then instantly closes: I don't know what had happened, because just a day earlier the search bar was working correctly. I turned off my pc then opened it again the next day to found out that my search bar is not working properly. Every time i try to open it whether its by opening the start menu...
  9. CMD promt opens and closes instantly.

    in Windows 10 BSOD Crashes and Debugging
    CMD promt opens and closes instantly.: I tried SFC and Anti-virus scans, both of these failed to fix it. I managed to capture the CMD screen using ShadowPlay https://answers.microsoft.com/en-us/windows/forum/all/cmd-promt-opens-and-closes-instantly/bfc9daab-0f8f-4afd-acef-45893f5d10b2
  10. My Outlook open and closes instantly.

    in Windows 10 Software and Apps
    My Outlook open and closes instantly.: Need to get it work fast https://answers.microsoft.com/en-us/windows/forum/all/my-outlook-open-and-closes-instantly/8ebd56f4-8af8-4e63-838e-9a86e1d8e334