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.
- 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 isnvlddmkm.sys, an NVIDIA graphics driver. - 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.
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.
perfmon /relHow do I open the Run box?
Press Windows + R, type or paste the text, then press Enter.
- If you added hardware just before the crashes began, shut down, remove it and test.
- If you installed an app just before (a new antivirus, VPN, overlay or tuning tool), uninstall it from Settings then
Apps then . Select the three dots (...) next to it, then Uninstall. On Windows 10, open Settings thenInstalled apps Apps then , select the app, then Uninstall.Apps & features - 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
- Open Settings then
Windows Update and select Check for updates. Install everything offered and restart. - Go to Settings then
Windows Update then . If Driver updates lists anything, tick it and select Download & install.Advanced options then Optional updates
On Windows 10
- Open Settings then
Update & Security then and select Check for updates. Install everything offered and restart.Windows Update - 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.
- Right-click the Start button and select Device Manager, the list of every part Windows knows about.
- Expand the right category. For a graphics driver that's Display adapters.
- Right-click the device, select Properties, then open the Driver tab.
- Select Roll Back Driver, choose a reason, select Yes, then restart. If the button is grayed out, Windows has no older version stored.
- 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.
- Make sure you have your account details or license for the app so you can reinstall it later.
- Uninstall it from Settings then
Apps then (on Windows 10, Settings thenInstalled apps Apps then ), then restart.Apps & features - 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.
- Select Start, type cmd, right-click Command Prompt and select Run as administrator. Select Yes when asked.
- Run DISM. It takes several minutes and can sit at one percentage for a while, which is normal.
A good result ends with The restore operation completed successfully.
DISM.exe /Online /Cleanup-image /RestorehealthHow do I open Command Prompt as administrator?
Select Start and type cmd. Right-click Command Prompt, select Run as administrator, then select Yes.
- Then run SFC and leave the window open until it reaches 100%.
Good results are Windows Resource Protection did not find any integrity violations, or that it found corrupt files and successfully repaired them.
sfc /scannow - 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.
- Follow Use System Restore and pick a restore point dated before the first crash.
- 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:
- Microsoft SupportOfficial help for Windows, including the Get Help app built into Windows.
- Your PC maker's support siteFor hardware faults, drivers and warranty repairs. Find your model in Settings then
System then , then type the maker's web address yourself.About - A local repair shop you can visitFor hardware faults such as a failing drive, screen or battery.
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:
- Microsoft Learn: Bug Check 0x3B SYSTEM_SERVICE_EXCEPTION
- Microsoft Support: Troubleshooting Windows unexpected restarts and stop code errors
Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.