For the last few months, my Compaq Presario (Model No. SR5710Y) had begun crashing regularly with the Blue Screen of Death. I've gotten a variety of errors, although to be honest, I don't remember what they all were. Sometimes it would sound like it was still on, but the monitor was not recognizing the computer as being on. Hoping to fix this problem, I did a clean install of Windows 10 on my hard drive. The problems persisted, so I suspected maybe it was an issue with the hard drive itself. So I bought and installed a new hard drive, installed Windows 10 on it, and the problem is still persisting. The BSOD's have mostly stopped, but my computer still won't stay on for more than a few minutes before going into that on-but-not-on state.
I'd like to figure out definitively what is causing this problem, and to know if there's any way to fix it. If not, it'll be time for a new computer, which I hope to avoid if possible, as I'm a poor college student. I am a computer science student, so I am at least somewhat familiar with the workings of the operating system, etc. I'm more hazy on the hardware aspect, so any help is greatly appreciated. Thanks!