Software⏱️ 3 min read📅 2026-06-11

How to Fix 0xc0000142 Error – Error On Shutdown - cmd.exe Application Error 0xc0000142

cmd.exe Application Error 0xc0000142 occurs at shutdown, possibly related to Windows update or driver issues.

Quick Answer: Try updating drivers and checking for Windows updates, as the issue may be resolved by addressing any underlying system or driver problems.

The 'cmd.exe - Application Error' issue is a common problem that affects users who are shutting down their computers. This error occurs when the Windows operating system is unable to shut down properly, resulting in an application error message. The error code 0xc0000142 indicates that the application was unable to start correctly due to a severe error.

This issue can be frustrating for users as it may cause confusion and uncertainty about the stability of their computer. However, with the right troubleshooting steps, you can resolve this issue and ensure your computer shuts down properly.

💡 Why You Are Getting This Error

  • The primary reason for this error is related to the installation of an MSATA SSD on a Z77X motherboard. The issue may be caused by the fact that Windows does not support caching the HDD with an SSD unless you reinstall Windows, which can be a complex process. In your case, you attempted to cache your HDD with the SSD but encountered issues and returned it.
  • Another possible reason for this error could be related to disk errors or corruption. However, since you've run the SFC/SCANNOW command and found no violations, this is less likely to be the cause.

✅ Best Solutions to Fix It

Disabling Fast Startup

  1. Step 1: Press the Windows key + X and select Device Manager.
  2. Step 2: In the Device Manager, expand the 'Power Management' section and right-click on the 'Fast Startup' option. Select 'Disable'.
  3. Step 3: Restart your computer to apply the changes.

Checking for Disk Errors

  1. Step 1: Open the Command Prompt as an administrator.
  2. Step 2: Run the command 'chkdsk C:' (assuming you want to check the C: drive). If prompted, select the disk and press Enter.
  3. Step 3: If any errors are found, follow the prompts to repair or replace the affected files.

✨ Wrapping Up

To resolve the 'cmd.exe - Application Error' issue, try disabling Fast Startup or checking for disk errors. If these steps do not work, you may need to consider reinstalling Windows or seeking further assistance from a qualified IT professional.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions