Control Panel > System > Advanced
Go to startup and recovery section, click settings
Uncheck 'automatically restart'
Instead of a BSOD, M$ decided to put into NT that every time an error is encountered, the system restarts instead, or halts with a stop error.
Video card drivers are usually the most likely cause for this, updated videocard and motherboard drivers help, and the second cause is the possibility of the CPU overheating.