Fix KERNEL_SECURITY_CHECK_FAILURE (0x139) in Windows 11
The KERNEL_SECURITY_CHECK_FAILURE bug check with code 0x00000139 indicates a kernel security structure corruption. This guide covers causes, diagnosis, and step-by-step fixes for Windows 11.
Symptoms
When the KERNEL_SECURITY_CHECK_FAILURE error occurs, Windows 11 displays a blue screen with the stop code 0x00000139. The system may crash during boot, while running applications, or during idle periods. Users often report sudden freezes followed by a restart. Event Viewer logs a critical error with source 'BugCheck' and event ID 1001.
Root Causes
The error is triggered when the kernel detects a security check failure in its internal structures. Common causes include:
- Corrupt or outdated drivers – Especially graphics, network, or storage drivers.
- Memory corruption – Faulty RAM or improper memory timings.
- System file corruption – Damaged Windows system files.
- Third-party software conflicts – Antivirus, virtualization tools, or system utilities.
- Hardware incompatibility – Newly installed hardware or overclocking.
- Windows update issues – Incomplete or failed updates.
Step-by-Step Fix
Step 1: Boot into Safe Mode
- Restart your PC and press F8 or Shift + Restart from the login screen.
- Select Troubleshoot > Advanced options > Startup Settings > Restart.
- Press 4 or F4 to enable Safe Mode.
Step 2: Run System File Checker (SFC) and DISM
- Open Command Prompt as Administrator.
- Run
sfc /scannowand wait for completion. - Then run
DISM /Online /Cleanup-Image /RestoreHealth. - Restart your PC normally.
Step 3: Update or Roll Back Drivers
- Press Win + X and select Device Manager.
- Expand categories, right-click devices (especially display, network, and storage) and choose Update driver.
- Alternatively, visit the manufacturer's website to download the latest drivers.
- If the error started after a driver update, roll back: Properties > Driver > Roll Back Driver.
Step 4: Run Driver Verifier
- Open Command Prompt as Administrator.
- Type
verifierand press Enter. - Select Create standard settings > Automatically select unsigned drivers.
- Restart your PC. If a driver causes a crash, the verifier will identify it.
- After identifying the faulty driver, uninstall or update it.
Step 5: Check Memory (RAM)
- Type Windows Memory Diagnostic in Start and run it.
- Choose Restart now and check for problems.
- After reboot, check results in Event Viewer under 'MemoryDiagnostics-Results'.
- If errors are found, replace faulty RAM sticks.
Step 6: Perform a Clean Boot
- Press Win + R, type
msconfig, and go to Services tab. - Check Hide all Microsoft services and click Disable all.
- Go to Startup tab and open Task Manager to disable all startup items.
- Restart. If the error stops, enable services one by one to find the culprit.
Alternative Fixes
- Reset Windows 11 – Go to Settings > System > Recovery > Reset PC. Choose 'Keep my files' to preserve data.
- Check for Windows Updates – Install all pending updates via Settings > Windows Update.
- Disable overclocking – Reset BIOS to default settings.
- Run a hardware diagnostic – Use built-in tools or manufacturer utilities for CPU, GPU, and storage.
Prevention
- Keep Windows and all drivers updated.
- Use reputable antivirus software and avoid conflicting security tools.
- Regularly run SFC and DISM scans to maintain system integrity.
- Test new hardware thoroughly before relying on it.
- Monitor system temperatures and avoid overclocking unless necessary.
By following these steps, you can resolve the KERNEL_SECURITY_CHECK_FAILURE error and restore stability to your Windows 11 system.
Was this solution helpful?