Hi Luc,
You've described a classic case of "kernel panic whack-a-mole"—different BSOD codes, always pointing to ntoskrnl+501c40. You've already tested your RAM with MemTest86+ (twice, 4 passes), and the issue seems to worsen after enabling Data Execution Prevention (DEP) for all executables. You also suspect possible system corruption (maybe even from hacking tools), but have only used Windows Defender so far.
Here’s a detailed breakdown and what to do next:
What Does ntoskrnl+501c40
Mean?
ntoskrnl.exe
(the NT OS kernel) is the center of Windows system code. BSODs that reference it, especially with inconsistent bug check codes, usually point to:
- Failing drivers (most common)
- Memory corruption (not always faulty RAM—sometimes caused by buggy drivers)
- Over-aggressive security software or malware
- Rarely, failing hardware other than RAM
DEP can trigger more frequent BSODs if there’s already bad, buggy, or malicious code trying to execute in protected areas.
What To Try Next
1. Minidump Review
If you'd like a more definitive answer, please upload your minidump files (you mentioned you have a zip ready) so I or others can analyze crash specifics.
2. Malware & Integrity Scan
- Although Windows Defender is okay, use an additional scanner (like Malwarebytes or Kaspersky Rescue Disk) to check for rootkits.
- Run these commands in an elevated Command Prompt:
sfc /scannow
(checks/repairs system files)
DISM /Online /Cleanup-Image /RestoreHealth
(repairs Windows image corruption)
3. Drivers & Updates
- Update all drivers, especially chipset, storage, and graphics drivers. Outdated or corrupted drivers are the #1 cause of this type of erratic BSOD pattern.
- If you use any "tuning", overclocking, or undervolting software, remove it for now.
4. Test Without Extra Security
- Since DEP made things worse, try returning DEP to default (only for essential Windows programs/services). Overly aggressive DEP settings can crash legit but poorly-coded drivers or legacy software.
5. Hardware Check (Beyond RAM)
- Even if your RAM passes MemTest86+, check your SSD/HDD using the vendor’s diagnostic utility.
- If possible, reseat memory and expansion cards.
6. Consider System Restore or In-Place Upgrade
- If these steps don’t resolve the issue, consider an in-place Windows repair install: it keeps your files but replaces all system files.
Paranoid Mode: Suspected Hacking Tool/Rootkit
If you remain convinced your box is compromised (e.g., weird processes, disabled antivirus, tampered system files):
- Use offline AV tools (rescue CDs, like Kaspersky Rescue Disk).
- Consider a full backup, fresh media reformat, and reinstall.
Next Steps
If possible, please upload your minidump archive (
here’s your earlier-mentioned folder). With actual dumps, we can zero in on the offending driver or pattern.
Let me know if you have any questions or when you’ve uploaded the minidump. We’ll dig even deeper!
Recap:
- Dump analysis is needed for specifics.
- Update all drivers/Windows.
- Scan for malware outside of Windows.
- Return DEP to default.
- You’re not alone—kernel-space BSODs are almost always a driver or system-level fault, not always hardware!
Looking forward to your upload,
—The Debugging Squad
P.S.: If it helps, half the forum’s kernel blues have turned out to be “bad driver and/or bad luck.” Let’s see where yours lands.