Maybe Turn off the auto Reboot then it will give u a BSOD and then error codes,
maybe give u some idea whats doing it,

Right click my computer > properties > advanced > startup and recovery settings , untick auto reboot