I have a weird and VERY specific BSOD problem that only occurs if several conditions are met.
Usually the BSOD message is "Memory Management", occasionally it is "Page fault in non-paged area".
1) The PC was shut down cleanly to total power off (Not a reboot, not a dirty shut down from the power button, or a BSOD)
2) The PC has been left switched off for several hours (Usually overnight)
3) The PC has 16GB of RAM installed in 2 8GB sticks
If one of these conditions is not met then everything is perfect.
The BSOD always occurs in the same place. I've switched the PC on and allowed it to boot normally, and it BSOD at the exact moment that the clock and login screen appear. The clock flickers up on the screen for a fraction of a second and then BSOD. I suspect that this may be related to a program\service loading at startup, or the Paging file, but I can't lock down exactly what the problem is.
MY PC is a factory built Chilblast that shipped with Windows 7 on a Magnetic WD disc. I didn't have this problem with Windows 7.
I did an in place upgrade to Windows 10. Everything seemed OK the first day, but the second day I got the BSOD when I switched the PC on in the morning.
I was unable to find the source of the BSOD for several days, so I unplugged the original disc, and connected a brand new Sandisc SSD. I did a clean install of Windows 10 using the Microsoft media creator tool and a copy of the Windows 10 ISO from the Microsoft website. I used a brand new cable, and connected it to a different port and a different cable on the PSU.
I suspected that the problem might be my Anti-Virus (Avira), so I deliberately didn't install it. The PC ran normally for the first day (No-anti-virus) but BSOD when I switched it on the next morning. I only installed the Anti-virus after I got the BSOD so we can rule it out. I also did not reconnect the original disc (Which I'm now using as a data volume) until after the first BSOD, so we can rule that out as well.
I suspected that it might be memory related, so I took one stick of RAM out, and tried the remaining stick in each of the 3 available slots (The fourth slot is present on the MB, but I can't use it as the cooling fan for my CPU overlaps it and blocks the slot). I found that the PC booted normally with the first stick in any of the three accessible slots, AND with the second stick in any of the three available slots. BUT if I put both sticks in together, regardless of which combination of slots I use, then I get the BSOD back.
I ran MEMTEST with one stick, and then the other, and with both sticks. I tried multiple combinations f sticks in different slots. Memtest didn't find any errors at all.
I also ran the IntelBurn software on the highest setting and I didn't receive any errors.
I have a GA-Z87-HD3 MB with the latest bios.
I have a legacy Creative SB X-Fi sound card that wasn't factory installed, which I took from my old PC as it has a fiber optic port that my new PC doesn't. The card ran perfectly under Windows 7 and seems to run perfectly under Windows 10. I've tried using Windows own drivers and the manufacturer's drivers and get a BSOD with both. I've disabled it in Device Manager and get a BSOD. So I think that we can rule this out.
Other things that I tried
Other things that I tried, but which dind't resolve the problem
Upgraded Bios to latest version
Reset Bios settings to default
Set memory available to maximum from Advanced system menu
Installed all hardware using Windows drivers (From clean install)
Installed manufacturer's drivers (After the above)
Page file set to be graeter than available RAM with both chips
As above but with Page file set to auto
As above but with page file disabled
Ran Windows Memory Diagnostic
Set Readyboot logging to circular
As I said above, this error ONLY happens on a clean boot after an extended period of being shut down. The PC is perfectly stable if rebooted or after a dirty shutdown (shut down after a BSOD). It's perfectly stable during gaming, and during other high intensity tasks such as Photoshop or rendering.
It's not my PSU. I brought my PSU with an eye to future expansion. It's a Corsair 750 watt PSU, which is rated for two high end graphics cards. I only have one medium rated card so it shouldn't break a sweat. If it were the PSU I'd have problems gaming rather than just after a clean boot.