Microsoft Windows Error Code 0xC0000087: How to Fix It
Medium 30-60 minutes Medium Severity
Verified June 2026
- Error Code
- 0xC0000087
- Brand
- Microsoft Windows
- Product Type
- operating_system
- Severity
- Medium
- DIY Difficulty
- Medium
- Estimated Fix Time
- 30-60 minutes
Ad
Tools You'll Need
- Windows installation media (USB or DVD) — optional
How to Fix Error Code 0xC0000087
-
Boot into Safe Mode
-
Run System File Checker (SFC)
Do not close the Command Prompt window until the scan finishes. -
Run DISM to Repair System Image
Ensure you have a stable internet connection as DISM downloads files from Windows Update. -
Check Disk for Errors
Back up important data before running chkdsk, as it may cause data loss in rare cases. -
Update or Roll Back Drivers
-
Perform a System Restore
System Restore will not affect personal files but may remove recently installed programs. -
Reset or Reinstall Windows
Back up all important data before resetting or reinstalling Windows, as it may delete files.
Ad
When to Call a Professional
If you are unable to boot into Safe Mode or access the recovery environment, or if the error persists after trying all steps, consider contacting a professional technician or Microsoft Support for assistance.Frequently Asked Questions
What does error 0xC0000087 mean on Windows?
Error 0xC0000087 (STATUS_SECTION_NOT_EXTENDED) indicates that Windows cannot allocate or extend a memory section, often due to corrupted system files, disk errors, or incompatible drivers.
Can error 0xC0000087 cause data loss?
The error itself does not cause data loss, but some fixes (like chkdsk or system reset) may pose a risk. Always back up important data before attempting repairs.
How do I boot into Safe Mode if I can't get past the error?
Interrupt the boot process three times: turn on your PC, and when Windows starts loading, press and hold the power button for 5-10 seconds to force shutdown. Repeat this three times. On the fourth boot, you'll see the 'Automatic Repair' screen. Click 'Advanced options' > 'Troubleshoot' > 'Advanced options' > 'Startup Settings' > 'Restart'. Then press 4 or F4 for Safe Mode.
Is this error related to hardware failure?
While usually software-related, faulty RAM or SSD/HDD can sometimes cause this error. Run a memory diagnostic (Windows Memory Diagnostic) and check your drive's health (CrystalDiskInfo) if software fixes fail.
Do I need to reinstall Windows to fix error 0xC0000087?
Reinstalling Windows is a last resort. Try SFC, DISM, chkdsk, and System Restore first. If none work, a reset or clean installation should resolve the issue.