It is impossible not to have your Windows OS crashed, restarted or frozen. The good news is that there is 99% chance to be a software issue.
Therefore, some bright minds come up with this free tool: WhoCrashed. It scans every track of malfunction on computer’s log files, libraries, registry files, etc. You only have to install this software on your computer (it does not move a bit from your computer resources), and after a crash, run “Who Crashed”: click the “Analyze” button and parse the crash dump analysis generated on your request.
Now, you have just probably concluded that you have an outdated graphic card driver… as I did last time I got my BSOD, and you know what to do from this point.