In Windows XP and Windows Vista, you can stop Windows from automatically restarting when the dreaded Blue Screen of Death happens, giving you time to analyze or write down the error, so you can later find a possible solution.
1. Right-click on Computer, select Properties.
2. Click Advanced System Settings.
3. On the Advanced tab, under “Startup and Recovery”, click “settings”.
3. Under “System Failure”, uncheck the box next to “automatic restart”. (attach pic)