Critical Operating Systems ✓ Solution Verified by Community (0+ upvotes)

How to fix error 0x00000020 in Windows 11

Bug Check 0x00000020: KERNEL_APC_PENDING_DURING_EXIT — A kernel APC was pending during thread exit.

65% success rate
👥 0+ users verified
📅 Updated: 2026-08-12
⏱️ 45 min read
Fix based on community reports and expert analysis. Last verified: 2026-08-12 · How we verify fixes
Error Code0x00000020
Affected SystemWindows 11 (Microsoft)
DifficultyCritical
Estimated Time45 min
Requires Admin Rights⚠️ Yes
Requires Reboot🔄 Yes

Solution Steps

  1. 1 Press Windows key + R to open the Run dialog. Type 'eventvwr.msc' and press Enter to open Event Viewer. Navigate to Windows Logs → System. Look for critical errors around the time of the crash. This helps identify the specific driver or component that caused the issue.
  2. 2 Run the System File Checker (SFC) to repair corrupted system files. Open Command Prompt as administrator by pressing Windows key + X and selecting 'Terminal (Admin)'. Type 'sfc /scannow' and press Enter. This scans and repairs protected system files, which can resolve underlying corruption.
  3. 3 Run the DISM tool to repair the Windows system image. In the same Command Prompt, type 'DISM /Online /Cleanup-Image /RestoreHealth' and press Enter. This fixes more deep-seated corruption that SFC might miss.
  4. 4 Update your drivers, especially storage and chipset drivers. Press Windows key + X and select 'Device Manager'. Expand 'Storage controllers' and 'IDE ATA/ATAPI controllers'. Right-click each device and select 'Update driver' → 'Search automatically for drivers'. Outdated or faulty drivers are a common cause of this BSOD.
  5. 5 Check for Windows updates. Press Windows key + I to open Settings, then go to Windows Update → Check for updates. Install any pending updates, as they often include driver fixes and stability improvements.
  6. 6 If the problem persists, perform a clean boot to isolate the issue. Press Windows key + R, type 'msconfig', and press Enter. In the System Configuration window, go to the Services tab, check 'Hide all Microsoft services', then click 'Disable all'. Go to the Startup tab and click 'Open Task Manager'. Disable all startup items. Restart your PC. If the error stops, re-enable services one by one to find the culprit.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Still having issues?

Describe your exact problem to Error Buddy and get a personalized fix in seconds.

🛠️ Try Error Buddy — It's Free