Independent guides. Not affiliated with Microsoft. We never ask you to call, pay, or let anyone connect to your PC.

How we work
Fixpath

Error codeBlue screens

SYSTEM_SERVICE_EXCEPTION blue screen

SYSTEM_SERVICE_EXCEPTION0x0000003B

Applies to
Windows 11 and Windows 10
Difficulty
Moderate
Time
About 45 min
Risk
Changes settings
Reviewed

Quick answer

This stop code is most often caused by a driver or by security software. Undo anything you changed just before the crashes began, install Windows and driver updates, roll back the driver named on the screen, then repair system files with DISM and sfc /scannow.

What this code means

SYSTEM_SERVICE_EXCEPTION (stop code 0x0000003B) means Windows hit an error while running one of its core routines on behalf of a program, and stopped the whole PC to protect your data. Microsoft's reference describes it as code reaching for memory it shouldn't touch. In practice it is most often traced to a driver, the small piece of software that lets Windows talk to a part such as your graphics card, or to security software that adds its own drivers.

One crash after a big update can be a one-off. If the same code keeps coming back, work through the fixes below in order. On recent versions of Windows 11 the stop screen can be black instead of blue, but the code means the same thing.

Common causes

  • An outdated or newly updated driver with a bug, very often the graphics driver.
  • Antivirus, VPN or other security software that installs low-level drivers.
  • Damaged Windows system files, for example after an interrupted update.
  • Less often, new hardware or faulty memory (RAM). The MEMORY_MANAGEMENT page shows how to test your memory.

Fix 1Note what failed and undo recent changes

The stop screen often names the file that crashed, and these crashes usually start right after something changed. Reversing that change is the quickest test, and it touches nothing else.

  1. If the screen showed a file under What failed (a name ending in .sys), write it down. The name often hints at the maker. Microsoft's own example is nvlddmkm.sys, an NVIDIA graphics driver.
  2. Missed it? Press Windows + R, type the command below and press Enter to open Reliability Monitor, a timeline of crashes and changes on your PC.
    Run box
    perfmon /rel
    How do I open the Run box?

    Press Windows + R, type or paste the text, then press Enter.

    Select the red error icons on the days of the crashes to see the details, and look at what was installed on the same day. The Health Check explains this view too.
  3. If you added hardware just before the crashes began, shut down, remove it and test.
  4. If you installed an app just before (a new antivirus, VPN, overlay or tuning tool), uninstall it from Settings then Apps then Installed apps. Select the three dots (...) next to it, then Uninstall. On Windows 10, open Settings then Apps then Apps & features, select the app, then Uninstall.
  5. If the crashes began right after a Windows update, see uninstall an update that caused problems.

Fixed? You can stop here. Still happening: go to Fix 2

Fix 2Install Windows updates and driver updates

Microsoft and device makers fix crash bugs through updates, and Windows Update can deliver newer drivers from your PC maker as optional updates.

On Windows 11

  1. Open Settings then Windows Update and select Check for updates. Install everything offered and restart.
  2. Go to Settings then Windows Update then Advanced options then Optional updates. If Driver updates lists anything, tick it and select Download & install.

On Windows 10

  1. Open Settings then Update & Security then Windows Update and select Check for updates. Install everything offered and restart.
  2. Select View optional updates, expand Driver updates, tick anything listed and install it.

If the failed file belongs to your graphics card, also get the latest driver from your PC maker's support page or from the graphics card maker's own website.

Fixed? You can stop here. Still happening: go to Fix 3

Fix 3Roll back or reinstall the driver that crashed

If the crashes began after a driver updated, the previous version was probably stable. Device Manager keeps that previous version so you can switch back.

  1. Right-click the Start button and select Device Manager, the list of every part Windows knows about.
  2. Expand the right category. For a graphics driver that's Display adapters.
  3. Right-click the device, select Properties, then open the Driver tab.
  4. Select Roll Back Driver, choose a reason, select Yes, then restart. If the button is grayed out, Windows has no older version stored.
  5. No rollback available? Right-click the device, select Uninstall device, confirm, and restart. Windows reinstalls a working driver when it starts. Leave any option to delete the driver software unticked.

Fixed? You can stop here. Still happening: go to Fix 4

Fix 4Remove third-party security software as a test

Antivirus and VPN apps add drivers that work deep inside Windows, and they are a frequent source of this stop code. When no other antivirus is installed, Microsoft Defender Antivirus in Windows Security turns itself on, so you stay protected while you test.

  1. Make sure you have your account details or license for the app so you can reinstall it later.
  2. Uninstall it from Settings then Apps then Installed apps (on Windows 10, Settings then Apps then Apps & features), then restart.
  3. Use the PC normally for a day or two. If the crashes stop, install the newest version from the app maker's website, or simply keep using Windows Security.

Fixed? You can stop here. Still happening: go to Fix 5

Fix 5Repair Windows system files

Damaged system files can trigger this error. DISM repairs Windows' own store of good files using Windows Update, then System File Checker (SFC) uses that store to replace damaged files. Run them in this order.

  1. Select Start, type cmd, right-click Command Prompt and select Run as administrator. Select Yes when asked.
  2. Run DISM. It takes several minutes and can sit at one percentage for a while, which is normal.
    Command Prompt as administrator
    DISM.exe /Online /Cleanup-image /Restorehealth
    How do I open Command Prompt as administrator?

    Select Start and type cmd. Right-click Command Prompt, select Run as administrator, then select Yes.

    A good result ends with The restore operation completed successfully.
  3. Then run SFC and leave the window open until it reaches 100%.
    Command Prompt as administrator
    sfc /scannow
    Good results are Windows Resource Protection did not find any integrity violations, or that it found corrupt files and successfully repaired them.
  4. Restart your PC. More detail is in the Health Check.

Fixed? You can stop here. Still happening: go to Fix 6

Fix 6Restore Windows to before the crashes started

System Restore rolls back drivers, updates and settings to a restore point, without touching your personal files. It's a good way to undo a change you can't pin down.

  1. Follow Use System Restore and pick a restore point dated before the first crash.
  2. If Windows won't stay up long enough, start System Restore from the recovery screen. Hold Shift while you select Power > Restart, then choose Troubleshoot then Advanced options then System Restore.

Fixed? You can stop here. Still happening: what to do next

If none of these worked

Stop here rather than trying riskier changes. These are the right places to go next:

Never call a phone number shown in a pop-up, or let someone you don't know connect to your PC. Microsoft doesn't put phone numbers in error messages. How to spot a tech-support scam

Sources and review

Checked against Microsoft's own documentation:

Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.