Microsoft Windows Error Code 0xC0000058: How to Fix It
Medium 30-60 minutes Medium Severity
Verified June 2026
- Error Code
- 0xC0000058
- Brand
- Microsoft Windows
- Product Type
- operating_system
- Severity
- Medium
- DIY Difficulty
- Medium
- Estimated Fix Time
- 30-60 minutes
Ad
Tools You'll Need
- Windows PC
- Administrator account
How to Fix Error Code 0xC0000058
-
Restart Your Computer
-
Run Windows Memory Diagnostic
Your computer will restart; save all work before proceeding. -
Check for Memory Errors in Event Viewer
-
Run System File Checker (SFC)
Do not close the Command Prompt during the scan. -
Run DISM Tool
Ensure a stable internet connection. -
Check for Driver Updates
-
Reinstall Faulty Software
-
Perform a Clean Boot
This disables third-party services temporarily for troubleshooting. -
Test RAM Physically
Unplug the computer and ground yourself to avoid static discharge. -
Reset or Repair Install Windows
Back up important data before resetting.
Ad
When to Call a Professional
If you have completed all steps and the error persists, hardware issues like faulty RAM or motherboard problems may require professional diagnosis. Contact a computer repair technician if reseating RAM or replacing memory modules does not help.Frequently Asked Questions
What does Windows error code 0xC0000058 mean?
It means STATUS_MEMORY_NOT_ALLOCATED, which indicates that a program tried to access memory that hasn't been allocated. This is often due to corrupt system files, bad RAM, or driver issues.
Can I fix error 0xC0000058 without reinstalling Windows?
Yes, often you can fix it by running SFC and DISM scans, updating drivers, or repairing system files. Reinstalling Windows is a last resort.
Is error 0xC0000058 caused by faulty RAM?
It can be. Running Windows Memory Diagnostic will help determine if your RAM is faulty.
Will resetting Windows delete my files?
If you choose 'Keep my files' during reset, your personal files remain but apps and settings are removed. Always back up important data first.
How do I run System File Checker in Windows?
Open Command Prompt as Administrator and type 'sfc /scannow' then press Enter. It will scan and repair corrupt system files.