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

How to Fix: Getting error c000021a: The session manager failed to create protected prefixes

Windows error c000021a: The session manager failed to create protected prefixes system process terminated unexpectedly with a status of 0xc000003a (0x00000000 0x00000000).

Quick Answer: Try running the System File Checker (SFC) again and then disable Driver Signature Verification permanently.

The error c000021a: The session manager failed to create protected prefixes is a critical system error that affects Windows operating systems. This error occurs when the session manager fails to initialize properly, causing the system to crash and display a blue screen of death (BSOD). The error message indicates that the session manager process terminated unexpectedly due to a status code of 0xc000003a.

This error can be frustrating as it prevents users from accessing their systems until they can resolve the issue. In this troubleshooting guide, we will walk you through the steps to identify and fix the root cause of this error.

🛑 Root Causes of the Error

  • The primary reason for this error is a corrupted system file or a misconfigured registry entry that prevents the session manager from initializing properly. This can occur due to various reasons such as driver issues, software conflicts, or hardware problems.
  • Another possible cause of this error is a faulty hard drive or storage device, which can lead to data corruption and system instability.

✅ Best Solutions to Fix It

Disable Driver Signature Verification

  1. Step 1: Step 1: Restart your system in Safe Mode. This will allow you to bypass the driver signature verification process and boot into a minimal environment. To do this, restart your system and immediately start tapping the F8 key repeatedly until the Advanced Boot Options menu appears. Select 'Safe Mode' from the list and press Enter.
  2. Step 2: Step 2: Once in Safe Mode, disable any recently installed drivers or device updates that may be causing conflicts. You can use the Device Manager to disable devices one by one. To do this, press the Windows key + X and select Device Manager. In the Device Manager window, expand each section and look for devices with a yellow exclamation mark or red X. Right-click on these devices and select 'Disable device'.
  3. Step 3: Step 3: After disabling any problematic drivers, restart your system in normal mode and see if it boots successfully. If you encounter the same error, proceed to Method 2.

System File Checker (SFC) and DISM

  1. Step 1: Step 1: Open Command Prompt as Administrator. To do this, right-click on the Start button and select 'Command Prompt (Admin)'. Alternatively, you can search for 'cmd' in the Start menu and open it as an administrator.
  2. Step 2: Step 2: Run the System File Checker (SFC) command to scan and repair corrupted system files. Type the following command and press Enter: `sfc /scannow`. This may take some time to complete, so be patient and do not interrupt the process.
  3. Step 3: Step 3: After completing the SFC scan, run the DISM (Deployment Image Servicing and Management) tool to repair any corrupted system images. Type the following command and press Enter: `dism /online /cleanup-image /restorehealth`. This may also take some time to complete, so be patient and do not interrupt the process.

💡 Conclusion

In conclusion, resolving the error c000021a: The session manager failed to create protected prefixes requires a combination of troubleshooting steps. By disabling driver signature verification and running System File Checker (SFC) and DISM tools, you should be able to identify and fix the root cause of this error. Remember to always back up your important files and data before making any changes to your system.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions