Fix Windows Blue Screen of Death (BSOD) - Step-by-Step
Having your PC suddenly crash to a blue screen is frustrating, especially when it keeps happening while you are in the middle of something. You need to identify if this is a software glitch, a bad driver, or physical hardware failing. Follow these steps in order to isolate the specific culprit and stop the restart loop.
Why this happens
Blue screens are Windows' way of preventing data corruption when it encounters a critical error it cannot recover from. This is usually caused by buggy drivers, corrupted system files, or failing physical components like RAM or your hard drive.
What you will need
You will need administrative access to your PC to run diagnostic tools. If your PC crashes before you can reach the desktop, you may need to access these tools via Safe Mode.
Steps
-
01Identify the stop code by looking for all-caps text on the blue screen, or open Event Viewer by right-clicking the Start button and checking the Error logs to see what triggered the crash.
-
02Open Device Manager by right-clicking the Start button to look for devices with yellow warning triangles. Right-click the problematic device and select Update driver or Roll back driver to revert a bad update.
-
03Click the Start button, type
cmd, right-click it, and select Run as administrator. Typesfc /scannowand press Enter to have Windows automatically scan for and repair corrupted system files. -
04If the previous scan fails, type
dism /online /cleanup-image /restorehealthin the same administrator command prompt to download fresh system files from Windows Update servers. -
05Check your drive for physical errors by typing
chkdsk C: /f /rinto the command prompt. TypeYwhen prompted to schedule the scan, then restart your computer to let it repair bad sectors during boot. -
06Press the Windows key and type
mdsched.exeto open the Windows Memory Diagnostic tool. Select Restart now and check for problems to see if faulty RAM is causing your crashes.
Still not working?
If you are still crashing, check your Reliability History in Windows to see if a specific application or service consistently precedes the crash. If you have ruled out software and driver issues, the problem likely points to failing hardware, such as a dying solid state drive or failing RAM sticks. Test your RAM modules individually to rule out hardware defects.
Frequently asked questions
Will these fixes erase my personal files?
No, these commands only repair system files and check hardware health; they do not touch your personal documents or photos.
Can a blue screen happen because of a virus?
While rare, malware can interfere with critical system processes and cause crashes. If these steps do not fix it, running a scan with Windows Defender is a good next move.
Does a blue screen mean my PC is broken?
Not necessarily. Most blue screens are triggered by software conflicts or bad drivers that can be fixed with these steps without needing to replace any hardware.
Subscribe for fast, no-fluff fixes and best settings guides
For the games, phones, and apps you actually use - every common error, crash, and "how do I…" answered in under three minutes.