
A blue (or black) screen with the message “Your device ran into a problem and needs to restart” means Windows hit a serious error and stopped to protect your data. One crash now and then is usually harmless. If it happens often, follow these steps to find and fix the cause on Windows 11 or Windows 10.
Step 1: Write down the stop code
The screen shows a Stop code such as CRITICAL_PROCESS_DIED or IRQL_NOT_LESS_OR_EQUAL, and sometimes the name of a file such as a .sys driver. Take a photo of it. Searching for that exact code on Microsoft’s support site points you to the most likely cause.
Step 2: Undo recent changes
- New hardware: unplug anything you added recently, such as a USB device, RAM or graphics card.
- New app or driver: uninstall it from Settings > Apps > Installed apps.
- Recent update: go to Settings > Windows Update > Update history > Uninstall updates and remove the newest one if the crashes started after it.
Step 3: If Windows won’t start, use Safe Mode
- When Windows fails to start twice in a row, it opens Automatic Repair. Click Advanced options.
- Go to Troubleshoot > Advanced options > Startup Settings > Restart.
- Press 4 or F4 to start in Safe Mode, then undo recent changes there.
From Advanced options you can also use System Restore to go back to an earlier working state.
Step 4: Update drivers and Windows
- Go to Settings > Windows Update, install all updates, and check Advanced options > Optional updates for driver updates.
- Download the latest graphics, chipset and storage drivers from your PC maker or the hardware maker’s website.
Step 5: Repair system files and check hardware
- Open Command Prompt as administrator and run:
DISM /Online /Cleanup-Image /RestoreHealth sfc /scannow - Check the drive: run
chkdsk C: /scan. - Test memory: search for Windows Memory Diagnostic in the Start menu and choose Restart now and check for problems.
Step 6: Reset Windows as a last resort
If nothing helps, back up your files and go to Settings > System > Recovery > Reset this PC. Choose Keep my files first.
Frequently asked questions
Where can I see past crashes?
Search for Reliability Monitor (View reliability history) in the Start menu. It lists every crash with the date and details.
Is a blue screen a virus?
Rarely. Most are caused by drivers, updates or hardware. Still, run a full scan in Windows Security to be safe.



