Try following steps for this issue that might can help:
Check the cables of VGA, Mouse , Printer , Scanner and Keyboard for loose coupling at the back of computer box.
Determine if you changed anything recently.
The most common cause of the Blue Screen is a recent change in your computer’s settings or hardware. This is often related to new drivers getting installed or updated. Drivers are software that allow your hardware to communicate with Windows.
Check your computer’s internal hardware. Sometimes, a poor connection inside the computer can cause a Blue Screen. Open your case and check to make sure that all the cables are firmly connected and that any cards are seated firmly in their sockets.
This is more difficult for laptops. You can check the hard drive and the RAM to make sure that they are connected properly. Remove the panels in the back that cover the hard drive and RAM with a small Phillips-head screwdriver. Press the components firmly into their connections. This step is not recommended due to damage in customer device risk.
Check your computer’s temperature. Overheating can lead to your hardware malfunctioning. One of the most common components to overheat is the graphics card. In BIOS post test the computer shows on black screen at start up the temperature conditions of computer box. To check it customer can restart the computer and on first screen top right or left corner will show the information of temperature. If it is more than 40 celcius then it is more likely to crash the computer. Reseat the computer in a more cooler place i.e top of the table and away from the wall for venting purpose. The malfunction of processor fan can also be the reason.
Test your RAM. A common culprit in system crashes is a bad stick of RAM. When RAM fails, it causes the system to become unstable. Open the box unplug it from the Slot Remove the RAM clean it for carbon and dust particles and plug it back on make sure when you plug it back you hear the click sound.
Test your hard drive. Run the “chkdsk” function on your hard drive to scan for errors and fix potential problems. A failing hard drive can cause Blue Screens due to corrupted files. To run chkdsk, open command prompt and type CHKDSK entre.
Strip your computer down to the essentials. This is possible on desktop pcs that take out all hardware including hardisk, keyboard, mouse etc and start plugin them one by one until error comes again.