Microsoft Windows Error Code 0xC0000028: How to Fix It

Medium 1-3 hours High Severity Verified June 2026
Error Code
0xC0000028
Brand
Microsoft Windows
Product Type
operating_system
Severity
High
DIY Difficulty
Medium
Estimated Fix Time
1-3 hours
Error code 0xC0000028 (STATUS_BAD_STACK) indicates that the stack pointer in a kernel-mode thread has gone out of its valid range during Windows startup. This is a high-severity boot error often caused by corrupted system files, buggy drivers, or malware. The following steps will help you diagnose and resolve the issue.
Ad

Tools You'll Need

How to Fix Error Code 0xC0000028

  1. Boot into Windows Recovery Environment (WinRE)

  2. Run System File Checker (SFC)

  3. Check Disk for Errors

    This process can take a long time on large drives. Do not interrupt it.
  4. Perform a System Restore

    System Restore will not affect your personal files, but may uninstall recently installed apps/drivers.
  5. Boot into Safe Mode and Uninstall Recent Drivers/Updates

  6. Run Malware Scan

    Ensure you have a reliable internet connection to update virus definitions.
  7. Repair Master Boot Record (MBR) or GPT

    Back up your data before modifying boot records.
  8. Perform a Repair Install or Clean Install

    A clean installation will erase all data on the system drive. Back up important files first.
Ad

When to Call a Professional

If you've tried all steps (including SFC, CHKDSK, System Restore, Safe Mode, malware scan, and boot record repair) and the error persists, consider professional help. The issue may indicate failing hardware (RAM or hard drive) or deep-level corruption that requires advanced data recovery.

Frequently Asked Questions

What causes error 0xC0000028?
This error is caused by a stack pointer corruption in kernel mode, often due to corrupted system files, incompatible drivers, malware, or failing hardware (RAM/disk).
Can I fix error 0xC0000028 without losing data?
Yes, most fixes like SFC, CHKDSK, System Restore, safe mode driver removal, and boot record repair do not affect personal files. Only a clean install will erase everything.
Does error 0xC0000028 mean my hard drive is failing?
Not necessarily, but it's possible. Run CHKDSK to check for bad sectors. If errors persist after software repairs, consider testing your hard drive with manufacturer diagnostics.
How do I boot into Safe Mode if I can't get into Windows?
Use a Windows installation media to boot, then go to Troubleshoot > Advanced options > Startup Settings > Restart. After restart, press 4 or F4 for Safe Mode.
Will a system restore fix error 0xC0000028?
If the error started after a change (driver install, update), a System Restore to a point before that change can resolve it.