Windows 10: Command Prompt won't open

Discus and support Command Prompt won't open in Windows 10 Support to solve the problem; Hi, whenever I try to open the Command Prompt in Win10 (cmd.exe) I get the following pop up: cmd.exe - Application Error The Application was unable to... Discussion in 'Windows 10 Support' started by xexsell, Oct 27, 2015.

  1. xexsell Win User

    Command Prompt won't open


    Hi, whenever I try to open the Command Prompt in Win10 (cmd.exe) I get the following pop up: cmd.exe - Application Error
    The Application was unable to staart correctly (0XCoooo142). Click OK to close the application.

    I should add this was an upgrade to Win10

    Any help would be greatly appreciated

    Thanks in advance..

    :)
     
    xexsell, Oct 27, 2015
    #1
  2. LottieH14 Win User

    Exe files won't open neither will Command Prompt

    Yes I have the disc. x
     
    LottieH14, Oct 27, 2015
    #2
  3. LottieH14 Win User
    Exe files won't open neither will Command Prompt

    Thanks for the reply. I don't seem to be able to open it that way either. It just comes up with the 'How do you wish to open this file?' popup. x
     
    LottieH14, Oct 27, 2015
    #3
  4. lx07 Win User

    Command Prompt won't open

    If you can open an elevated powershell window (i.e. right click and run as Administrator), run the command sfc /scannow.
     
  5. xexsell Win User
    I'm sorry, but I don't even know what an open powershell window is
     
    xexsell, Oct 27, 2015
    #5
  6. xexsell Win User
    correction "elevated" powershell window
     
    xexsell, Oct 27, 2015
    #6
  7. Brink
    Brink New Member
  8. xexsell Win User

    Command Prompt won't open

    I tried to open powershell from the "Search the web and windows and got the same error. It won't open either
     
    xexsell, Oct 27, 2015
    #8
  9. xexsell Win User
    I've tried all the methods available and I get the same error message for both the command prompt and the Windows powershell.
     
    xexsell, Oct 27, 2015
    #9
  10. Brink
    Brink New Member
    Brink, Oct 27, 2015
    #10
  11. Hi
    I had the same problem. I fixed it by enabling the admin account and applying a password, then, removing my main accounts type from the administrators type and making it a regular account.

    I then rebooted, logged into the admin account and tested the CMD function. It works. Log out and log into my regular account.
    I then selected run as administrator and it requests the admin username and password and voila, it works. CMD can now be run.
     
    JollyJamma, Nov 27, 2017
    #11
  12. Bree New Member
    Welcome to TenForums @JollyJamma

    That would suggest that the profile for your main account had been corrupted in some way to cause this problem. It's not recommended practice to leave the built-in Administrator enabled (or to give it a password, that could make emergency repairs impossible should you loose it).

    Now you have the Administrator available, I would use it to create another normal user account and make that an admin. You could then remove the password and disable Administrator. Now you can use the name/password of this new admin account in the UAC prompt.

    A more thorough but time-consuming fix would be to change over to use this new admin account as your main account. A new account is unlikely to have any problems running the command prompt. This would of course mean migrating the documents, user files and settings across to it, so you may prefer to stick with the old main account and just use the new one for the authority to 'run as administrator', as you have been doing with the Administrator up until now.

    I always create a second local admin account anyway and just use it for maintenance, it means you won't have to enable the built-in Administrator should problems recur.
     
  13. Command Prompt won't open

    Hi @Bree
    Thank you

    It is a corrupt profile. I created a new profile and it works fine. Need to move everything to the new profile now, thanks for the advice.
     
    JollyJamma, Nov 27, 2017
    #13
  14. Bree New Member
    Yes, that does happen once in a while, though I've not seen the 'can't open command prompt' symptom reported before. It's the only sure way though, I've not seen anyone yet report successfully repairing a corrupt profile.

    It's a non-trivial task to configure a new account to your liking, so don't delete the old one until you are happy you've recreated everything you want (in particular, browser bookmarks).
     
Thema:

Command Prompt won't open

Loading...
  1. Command Prompt won't open - Similar Threads - Command Prompt won't

  2. About command prompt not opening

    in Windows 10 Gaming
    About command prompt not opening: So while opening command prompt directly it doesn't open, and while using windows+r and type cmd it shows that windows cannot find cmd check the name correctly...
  3. Both Command Prompt and Powershell won't open.

    in Windows 10 Gaming
    Both Command Prompt and Powershell won't open.: I have been having trouble opening up command prompt and Power Shell. Every time I attempted to open up command prompt, it would close immediately or it will give me the following message: ```[process exited with code 3221225477 0xc0000005]You can now close this terminal with...
  4. Both Command Prompt and Powershell won't open.

    in Windows 10 Software and Apps
    Both Command Prompt and Powershell won't open.: I have been having trouble opening up command prompt and Power Shell. Every time I attempted to open up command prompt, it would close immediately or it will give me the following message: ```[process exited with code 3221225477 0xc0000005]You can now close this terminal with...
  5. Command prompt randomly opens

    in Windows 10 Customization
    Command prompt randomly opens: Hello.I have a issue with my windows 10 home Computer.My command prompt randomly opens when I'm on say..A game, or a software that is non-harmful to my device.However, my command prompt randomly opens, with no commands issued in it.Thanks tech support, and others that can...
  6. Command prompt not opening

    in Windows 10 BSOD Crashes and Debugging
    Command prompt not opening: Hi All, Whenever I try to open a command prompt in windows 10 it crashes automatically. Please assist how to fix the same. https://answers.microsoft.com/en-us/windows/forum/all/command-prompt-not-opening/cc3ba5c9-0dda-421b-b0af-d3e128135a1c
  7. Command prompt not opening

    in Windows 10 BSOD Crashes and Debugging
    Command prompt not opening: Hi, I recently installed a windows 10 update and noe cmd.exe does not work. I hvae tried many different methods to open it but all that happens is a small window flashes up ont he screen for a split second then dissapears. any ideas? s8on...
  8. Command Prompt not opening. Clicking on Command Prompt opens the default folder location in...

    in Windows 10 BSOD Crashes and Debugging
    Command Prompt not opening. Clicking on Command Prompt opens the default folder location in...: Hi, I'm using windows 10. I have no idea why my command prompt is not launching properly and is instead opening up the default folder in File Explorer i.e. File Explorer is opening up in the command prompt default start up folder. Please help. FYI. I recently downloaded...
  9. Command Prompt Not Opening

    in Windows 10 Support
    Command Prompt Not Opening: Recently attempting to open Command prompt, ordinary or as administrator, it flashes for perhaps 2 seconds and then disappears. I tried the following commands sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth But none of these seem to work, I'm wondering if there...
  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...