This HAS happened to my computer before and I think they are both the exact same thing. Its probably due to some memory issues or something along those lines so try to do a memory Diagnostic test. Or if you are not able to do so and it still doesn't work, try troubleshooting the problems through going to control panel, monitor, and try getting some help there.
If it was windows 8, what I did was because I was too lazy, i just turned off the computer and rebooted which made the computer not display that blank blue screen which is supposedly what you're experiencing. It does re appear every once in a while but for me it was no big deal. I just did these simple steps and no need to fix it. All you probably need to do is reboot your computer whenever it occurs. I am not very experienced with this type of things but I hope it helps anyway and i hope this may fix your problem.
if you CAN'T get into your computer with these solutions then obviously something is going on so you should try a factory safe mode or recovery mode. Also try the startup problems mode which will figure out problems with the startup so maybe that will help.
if you can't do anything, just try removing and possibly replacing parts of your computer containing storage such as the hard drive, or RAM.
Also try contacting your manufacturer for help or get a replacement if you still have some time on your warranty.