Windows – Error On Shutdown – cmd.exe Application Error 0xc0000142

cmd.exeshutdownwindowswindows 7

I realize this question is quite common, but I can't seem to find a situation that matches exactly what my issue is, it happens at shutdown and with cmd.exe.

So recently I've been getting this bug… I may be wrong, but, I believe it appeared after I tried to cache my HDD with an msata SSD (mounted on my Z77X motherboard) and failed because I found out you can't cache the HDD and SSD unless you reinstall windows, otherwise I'd have to go through some more complicated steps. I gave up and returned the small SSD.

What's going on?:
So basically whenever I turn off the computer I get this little window that opens up called "cmd.exe – Application Error" and in the window it says "The application was unable to start correctly (0xc0000142). Click OK to close the application."

After this message shows up, it goes away after a few seconds (usually) and then the computer turns off like it usually does. I don't know if this is actually affecting anything, but I'm not sure why it's happening so I'd like to know, thanks for the help guys.

cmd.exe Error

enter image description here

I'm not very familiar with the event viewer, but I did look around the application problems and I couldn't find anything to do with cmd.exe and also when I did the sfc/scannow, no violations were found.

enter image description here
This screenshot is right after restarting the computer (and getting the error) I find no warnings/errors in the applications log.

After shutting the computer down in safe mode, I do not get the error message. But when I go back to shut it down normally, it does display the error.

Best Answer

Same problem plagued me but I knew it wasn't a virus when I wiped machine clean and did a fresh install of Windows / drivers etc. and the problem returned. I have found a solution though.

If you have an NVIDIA graphics card, uninstall Geforce Experience then the problem will go away.

Related Question