Blue screen (or black screen) error on Windows 11: what to do

Windows 11 crashed with a blue or black stop code screen? Read the stop code, then follow Microsoft's fix order: hardware, safe mode, drivers, disk space, updates.

Applies to: Windows 11 (23H2, 24H2, 25H2, 26H2) and most steps on Windows 10 · Published November 8, 2026 · Updated November 28, 2026

Also available in: العربية

Short answer: write down the stop code shown on the screen, then unplug any hardware you added recently, start in safe mode if Windows keeps crashing, update or roll back the driver marked with a “!” in Device Manager, free up disk space (keep 10–15% free) and install Windows updates. If the crashes continue, uninstall the latest update or use System Restore.

A “blue screen” (also called a stop code error, bug check or BSOD) means Windows hit an error it couldn’t recover from and restarted to protect your files. One crash after a power cut or a game freezing is not a reason to panic. The same stop code again and again is the signal to work through the steps below, in order.

Updated November 2026: the screen is now black on most PCs. On Windows 11 version 24H2 and later, Microsoft replaced the old blue frowning-face screen with a simpler black screen that says your device ran into a problem and needs to restart, with the stop code at the bottom. It is the same kind of error, and the same fixes apply. Version 23H2 and older still show the blue screen. A black screen with no stop code, or only a mouse pointer, is a different problem (a display or sign-in issue, not a crash). Source: Microsoft Support, “Troubleshooting Windows unexpected restarts and stop code errors” (updated September 2026).

1. Read the stop code (and the failed file)

Before the PC restarts, take a photo of the screen with your phone. Two things matter:

On the screen Example What it tells you
Stop code PAGE_FAULT_IN_NONPAGED_AREA, MEMORY_MANAGEMENT, CRITICAL_PROCESS_DIED The type of failure. Search Microsoft’s “bug check code reference” for the exact name
What failed (module name, when shown) a file ending in .sys, such as a graphics, network or antivirus driver The driver or program that was running. This is usually the best clue

If the module name belongs to one device (graphics card, Wi-Fi, a docking station, a VPN or antivirus product), start with that device’s driver in step 4. If the stop code changes every time, suspect hardware (memory, disk, overheating) more than one driver.

Pattern you notice Most likely area Start with
Started after you plugged in or installed new hardware That hardware or its driver Step 2
Started right after a Windows or driver update The update or a driver Steps 4 and 8
Crashes in one game or app only Graphics driver or that app Step 4
Random times, different stop codes each time Memory, disk or heat Steps 5 and 7
Crashes before you can sign in, PC restarts in a loop Startup or driver problem Step 3

2. Remove any new hardware

Shut the PC down, unplug anything you added recently (a second monitor, docking station, USB hub, external drive, new memory or graphics card), then start it again. Microsoft lists this as the first step. If the crashes stop, reconnect one item at a time to find the culprit, then update that device’s driver or firmware from its maker’s website.

3. Start in safe mode if Windows keeps crashing

Safe mode starts Windows with a minimal set of drivers, so you can work on the problem without the crash coming back. Microsoft says you can do all the remaining steps from safe mode.

  • If Windows starts: go to Settings → System → Recovery → Advanced startup → Restart now. After the restart, choose Troubleshoot → Advanced options → Startup Settings → Restart, then press 4 (or F4) for Enable Safe Mode, or 5 (or F5) for Safe Mode with Networking if you need the internet for drivers or updates.
  • If Windows doesn’t start: after Windows fails to start properly, it opens the blue recovery screen (Windows Recovery Environment) on its own. Choose Troubleshoot → Advanced options → Startup Settings → Restart and pick safe mode the same way.

To leave safe mode, simply restart.

4. Check Device Manager for problem drivers

Right-click the Start button and select Device Manager. Look for any device with a yellow exclamation mark (!).

  1. Right-click the device and choose Update driver.
  2. If that doesn’t help, try Disable device, or Uninstall device and restart (Windows reinstalls a standard driver for most hardware).
  3. If the crashes began after a driver update, double-click the device, open the Driver tab and choose Roll Back Driver when it is available.

For graphics, Wi-Fi and docking-station drivers, the laptop maker’s support page (Dell, HP, Lenovo, ASUS) often has a newer, tested version. Antivirus and VPN products install low-level drivers too: if the “What failed” file belongs to one, update that product or uninstall it as a test (Windows Security takes over automatically).

5. Make sure the drive has free space

Microsoft recommends keeping 10% to 15% of the system drive free; with less, Windows can’t write its memory and update files properly. Check in Settings → System → Storage. To free space, use Temporary files → Remove files, run Storage Sense, and uninstall apps you no longer use. Our slow PC guide has the full steps.

6. Install the latest Windows updates

Go to Settings → Windows Update → Check for updates, install everything, and restart. Also open Advanced options → Optional updates for driver updates offered by your PC’s maker. Many crash fixes ship in monthly updates (the next Patch Tuesday is 10 November 2026). If updates won’t install, see Windows Update stuck or failing.

7. Test the memory and look for overheating

Random crashes with different stop codes often point to hardware. Search the Start menu for Windows Memory Diagnostic (or press Windows + R and type mdsched.exe), save your work and choose to restart and check now. Windows tests the memory before it starts again; Microsoft says the result is recorded in Event Viewer in the System log as MemoryDiagnostics-Results.

If the laptop is hot and the fans are loud just before it crashes, clean the vents, use it on a hard surface, and stop any overclocking tool. On a work laptop, report repeated memory errors to your IT team: memory and disks are usually covered by warranty.

8. Undo the change: uninstall an update or use System Restore

If the crashes started after a specific update or software install:

  • Uninstall a recent update: Settings → Windows Update → Update history → Uninstall updates. If Windows won’t start, the recovery screen has Troubleshoot → Advanced options → Uninstall Updates (latest quality or feature update). Treat this as temporary: it also removes that month’s security fixes, so install updates again once the problem is fixed.
  • System Restore: returns system files and drivers to an earlier restore point without touching your documents. Search Create a restore point → System Restore, or choose it from Troubleshoot → Advanced options in recovery.
  • Last resort: Settings → System → Recovery → Reset this PC → Keep my files reinstalls Windows (your apps are removed). Back up first, and on a work PC ask IT before resetting.

9. When the PC can’t start at all

If the crash happens on every start, Windows tries to repair itself. On Windows 11, quick machine recovery can connect to the internet from the recovery screen and look for a fix through Windows Update (Microsoft calls it “best-effort”; it is on by default for Home and unmanaged Pro PCs, off on company-managed ones). If no fix is found, use Startup Repair, Uninstall Updates or System Restore from Troubleshoot → Advanced options. Quick machine recovery needs a wired connection or a normal password Wi-Fi network.

What not to do

Don’t Why
Install “driver updater” or “BSOD fixer” apps They often install wrong or old drivers and push paid upgrades
Delete files from C:\Windows or the System32 folder You can make Windows unbootable
Ignore the same stop code for weeks A failing disk or memory can corrupt your files; back up now
Keep uninstalled updates off permanently You lose security fixes
Disable Windows Security to “test” Uninstall a third-party antivirus instead; leave Windows Security on

Frequently asked questions

Is a blue screen a virus?

Usually not. Most stop code errors come from a driver, a recent update, hardware (memory, disk, overheating) or low disk space. Malware is possible but less common: run a quick scan in Windows Security after you’ve checked drivers and updates.

Why is my blue screen black now?

Since Windows 11 version 24H2, Microsoft shows stop code errors on a black screen with a shorter message. It’s the same error type: read the stop code at the bottom and follow the same steps.

Will I lose my files after a blue screen?

Normally no. Windows restarts and your saved files stay where they were; you can lose unsaved work in open apps. Repeated crashes from a failing disk are the exception, so back up important files to OneDrive or an external drive if the crashes keep happening.

How many blue screens are too many?

One crash with a clear reason (power cut, a game freezing) isn’t a worry. If the same stop code returns, or crashes happen more than once a week, work through the steps above. If memory test errors or disk warnings appear, the hardware needs repair.

Sources checked November 2026: Microsoft Support, “Troubleshooting Windows unexpected restarts and stop code errors” (updated 26 November 2026: remove new hardware, safe mode, update drivers, 10% to 15% free space, install updates; black screen on 24H2 and later); Microsoft Support, “Windows startup settings” (updated September 2026: Troubleshoot > Advanced options > Startup Settings > Restart, option 4 for safe mode) and “Recovery options in Windows” (updated October 2026); Microsoft Learn, “Quick machine recovery” (updated 18 November 2026: WinRE scans Windows Update for fixes, “best-effort”, on by default for Home); Microsoft Learn, “Bug checks (stop code errors)” (updated July 2025).

Related guides: Windows Update stuck or failing · Laptop or PC very slow on Windows 11 · Second monitor not detected

Related guides

All calculators

Currency converter & remittance calculator

Daily rates, what your family receives, and a monthly budget.

Percentage calculator

X% of a number, percent of a total, and percentage change.

Discount calculator

Sale price, savings and the real percentage off.

Loan EMI calculator

Monthly instalment, total interest and total repayment for a loan.

Compound interest calculator with monthly contributions

How savings grow with monthly deposits and compound interest.

Salary converter: hourly to monthly and yearly pay

Hourly, daily, weekly, monthly and yearly pay in one step.

Fuel cost calculator: petrol cost for a trip or commute

Petrol cost of a trip or monthly commute, split per person.

VAT calculator: UAE & KSA

Add or remove VAT, with Gulf and other country rates built in.

UAE gratuity calculator

Estimate your end-of-service gratuity under the UAE Labour Law.

UAE leave salary calculator: unused annual leave pay

Your annual leave balance and unused leave pay under UAE Labour Law.

Overtime calculator UAE & Saudi Arabia: pay by labour law

Overtime pay under UAE and Saudi labour law: night, rest day and holiday rates.

Saudi end of service calculator (Articles 84 & 85)

Estimate your end-of-service award under the Saudi Labor Law.

Salary tax calculator Pakistan 2026-27 (tax year 2027)

Income tax on your salary under the 2026-27 slabs, per month and per year.

Age calculator: Gregorian and Hijri (Islamic) age

Exact age in years, months and days, Gregorian and Hijri.

Days between dates calculator (with working days)

Days, weeks, months and working days between two dates.

Gold price calculator UAE: making charges & VAT

Price of gold jewellery or bars from today’s rate, with making charges and VAT.

Zakat calculator: how much zakat do I owe on money and gold?

Zakat on cash, gold, silver and savings, with gold or silver nisab.