Error Medic

SYSTEM_SERVICE_EXCEPTION Windows 11: Complete BSOD Fix Guide (Stop Code 0x0000003B)

Fix SYSTEM_SERVICE_EXCEPTION BSOD on Windows 11. Step-by-step guide covering driver updates, SFC scans, VMware fixes, and registry repairs. Resolve stop code 0x

Last updated:
Last verified:
2,300 words
Key Takeaways
  • Root Cause 1: Corrupt, outdated, or incompatible device drivers (most commonly graphics, network, or antivirus drivers) triggering a kernel-mode exception that Windows cannot recover from, resulting in stop code 0x0000003B.
  • Root Cause 2: Corrupt system files, faulty RAM, or conflicting third-party software (including VMware tools, VPN clients, and security software) causing illegal system service calls in privileged kernel mode.
  • Quick Fix Summary: Run 'sfc /scannow' and 'DISM /Online /Cleanup-Image /RestoreHealth' in an elevated Command Prompt, update or roll back suspect drivers via Device Manager, check RAM with Windows Memory Diagnostic, and boot into Safe Mode to isolate third-party software conflicts.
Fix Approaches Compared
MethodWhen to UseTimeRisk
SFC + DISM ScanSystem files are corrupted; BSOD occurs randomly without a clear driver culprit15-30 minLow
Driver Rollback / UpdateBSOD started after a Windows Update or new hardware installation5-15 minLow
Windows Memory DiagnosticSystem crashes under load or after multiple random BSODs30-60 minLow
Clean Boot / Safe ModeBSOD appears to be triggered by third-party software or startup apps10-20 minLow
VMware Tools ReinstallBSOD occurs only inside a VMware virtual machine running Windows 1110-20 minLow
Check Disk (CHKDSK)Disk errors or failing storage device suspected30-90 minLow-Medium
System RestoreBSOD began after a recent change and a restore point exists20-40 minMedium
In-Place Upgrade RepairAll other methods fail; OS integrity severely compromised60-120 minMedium
Full Windows 11 ReinstallHardware is healthy but OS is unrecoverable2-4 hoursHigh (data loss risk)

Understanding the SYSTEM_SERVICE_EXCEPTION Error on Windows 11

When Windows 11 encounters a SYSTEM_SERVICE_EXCEPTION blue screen (stop code 0x0000003B), it means the operating system detected an exception while executing a routine in privileged kernel mode that could not be handled gracefully. Rather than risk data corruption, Windows immediately halts all operations and displays the BSOD.

The exact screen you will see reads:

Your PC ran into a problem and needs to restart.
Stop code: SYSTEM_SERVICE_EXCEPTION

In some cases Windows also displays a secondary parameter, such as:

  • SYSTEM_SERVICE_EXCEPTION (nt!KiSystemServiceCopyEnd+0x13)
  • SYSTEM_SERVICE_EXCEPTION (win32k.sys)
  • SYSTEM_SERVICE_EXCEPTION (nvlddmkm.sys) — NVIDIA graphics driver
  • SYSTEM_SERVICE_EXCEPTION (dxgkrnl.sys) — DirectX kernel
  • SYSTEM_SERVICE_EXCEPTION (vmci.sys) — VMware connectivity

The file name listed in parentheses is your single best diagnostic clue. It identifies which driver or system component triggered the crash.


Step 1: Capture and Read the Minidump File

Before fixing anything, collect data. Windows 11 writes a minidump to C:\Windows\Minidump\ after every BSOD.

  1. Open File Explorer and navigate to C:\Windows\Minidump.
  2. Note the most recent .dmp file (e.g., Mini121524-01.dmp).
  3. Open WinDbg (download from the Microsoft Store as "WinDbg Preview") or use the command-line tool:
windbg -y "srv*c:\symbols*https://msdl.microsoft.com/download/symbols" -z "C:\Windows\Minidump\Mini121524-01.dmp"
  1. In WinDbg, type !analyze -v to get the full crash analysis, including the faulting module.

If you cannot boot into Windows normally, boot to the Windows Recovery Environment (WinRE) by holding Shift while clicking Restart, then go to Troubleshoot > Advanced options > Command Prompt.


Step 2: Run SFC and DISM to Repair System Files

Corrupt Windows system files are a leading cause of this BSOD. Run these commands as Administrator in sequence:

sfc /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

After DISM completes, run sfc /scannow once more. Restart when prompted. If SFC reports it cannot fix files, you may need to run it from WinRE or perform a repair upgrade.


Step 3: Update or Roll Back Problem Drivers

If the minidump named a specific .sys file, target that driver directly.

To roll back a driver:

  1. Press Win + XDevice Manager.
  2. Expand the relevant category (e.g., Display Adapters for nvlddmkm.sys).
  3. Right-click the device → PropertiesDriver tab → Roll Back Driver.

To update a driver:

  1. Visit the manufacturer's website directly (NVIDIA, AMD, Intel, Realtek, etc.).
  2. Download and install the latest WHQL-certified driver.
  3. Avoid using Windows Update drivers for graphics cards — always prefer manufacturer packages.

To uninstall a problematic driver completely (e.g., GPU):

pnputil /delete-driver oem27.inf /uninstall /force

Use Display Driver Uninstaller (DDU) in Safe Mode for GPU drivers to ensure a completely clean state before reinstalling.


Step 4: Check RAM with Windows Memory Diagnostic

Faulty RAM can cause unpredictable kernel exceptions.

  1. Press Win + R, type mdsched.exe, press Enter.
  2. Choose Restart now and check for problems.
  3. The tool runs two passes by default. Press F1 to enable extended tests (recommended).
  4. After reboot, check Event Viewer → Windows Logs > System and filter for source MemoryDiagnostics-Results.

If errors are found, run MemTest86 (bootable USB) for a more thorough test. Faulty RAM must be reseated or replaced.


Step 5: Check for Disk Errors

chkdsk C: /f /r /x

This schedules a disk check on next reboot. The /r flag locates bad sectors. On SSDs, bad sectors are less common, but logical file system errors still occur. Allow the check to complete fully before evaluating results.


Step 6: Isolate Third-Party Software with Clean Boot

Antivirus software, VPN clients, and virtualization tools frequently conflict with Windows 11's kernel.

  1. Press Win + R, type msconfig, press Enter.
  2. On the Services tab, check Hide all Microsoft services, then click Disable all.
  3. On the Startup tab, click Open Task Manager and disable all startup items.
  4. Restart and test. If the BSOD stops, re-enable services in batches to find the culprit.

Common offenders include: McAfee, Norton, Avast, Bitdefender kernel drivers, Cisco AnyConnect, GlobalProtect VPN, OBS virtual camera, and audio processing software like Nahimic or Sonic Suite.


Step 7: Fix SYSTEM_SERVICE_EXCEPTION in VMware

If Windows 11 is running as a VMware virtual machine, the BSOD is almost always caused by:

  • Outdated VMware Tools (especially vmci.sys, vsock.sys)
  • Incorrect VM hardware version
  • Missing Hyper-V compatibility settings

Fix steps:

  1. Inside the VM, open VMware Tools installer from the VM menu → Reinstall VMware Tools.
  2. Uninstall VMware Tools completely, reboot, then reinstall the latest version from the VMware website.
  3. In VMware Workstation, edit the VM settings → Options > Advanced > Firmware type — ensure it matches the Windows 11 requirement (UEFI).
  4. Add the following lines to your .vmx file to improve compatibility:
hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"
vhv.enable = "TRUE"
  1. Ensure your VMware Workstation version is 17+ for full Windows 11 support.

Step 8: Use System Restore or Perform a Repair Upgrade

System Restore (if a restore point exists):

  1. Boot into WinRE → Troubleshoot > Advanced options > System Restore.
  2. Choose a restore point dated before the BSOD began.

In-place repair upgrade (last resort before reinstall):

  1. Download the Windows 11 ISO from Microsoft's official site.
  2. Mount the ISO and run setup.exe.
  3. Choose Keep personal files and apps.
  4. This reinstalls Windows 11 system files while preserving your data.

Additional Tips

  • Disable Fast Startup: Go to Control Panel > Power Options > Choose what the power buttons do > Turn off fast startup. Fast startup can cause driver state issues on resume.
  • Update BIOS/UEFI firmware: An outdated BIOS can cause hardware-level exceptions. Visit your motherboard manufacturer's support page.
  • Check Windows Update: Some BSOD variants are fixed by cumulative updates. Go to Settings > Windows Update > Check for updates.

Frequently Asked Questions

bash
# ============================================================
# Windows 11 SYSTEM_SERVICE_EXCEPTION Diagnostic & Fix Script
# Run all commands in an ELEVATED (Administrator) Command Prompt
# or PowerShell. Commands marked [PS] require PowerShell.
# ============================================================

# --- STEP 1: Check system file integrity ---
sfc /scannow

# --- STEP 2: DISM image health check and repair ---
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

# Run SFC again after DISM completes
sfc /scannow

# --- STEP 3: Schedule disk check on next reboot ---
chkdsk C: /f /r /x
# Type Y when prompted to schedule on next restart, then reboot

# --- STEP 4: View recent minidump crash details [PS] ---
# Install WinDbg from Microsoft Store, or use this PowerShell snippet
# to list recent minidump files by date:
Get-ChildItem "C:\Windows\Minidump\" | Sort-Object LastWriteTime -Descending | Select-Object -First 5

# --- STEP 5: Check Event Log for BSOD entries [PS] ---
Get-WinEvent -LogName System | Where-Object { $_.LevelDisplayName -eq 'Critical' } | Select-Object -First 10 | Format-List TimeCreated, Message

# --- STEP 6: List all installed third-party drivers [PS] ---
# Helps identify non-Microsoft drivers that may be causing the crash
Get-WmiObject Win32_PnPSignedDriver | Where-Object { $_.Manufacturer -ne 'Microsoft' } | Select-Object DeviceName, DriverVersion, Manufacturer | Sort-Object DeviceName | Format-Table -AutoSize

# --- STEP 7: Export driver list to CSV for review [PS] ---
Get-WmiObject Win32_PnPSignedDriver | Select-Object DeviceName, DriverVersion, Manufacturer, DriverDate | Export-Csv -Path "$env:USERPROFILE\Desktop\drivers_export.csv" -NoTypeInformation

# --- STEP 8: Check for driver verifier issues ---
# Enable Driver Verifier to catch faulty drivers (WARNING: may cause more BSODs temporarily)
# Only enable if you have identified a specific suspect driver.
verifier /standard /driver <suspect_driver.sys>
# To reset Driver Verifier after diagnosis:
verifier /reset

# --- STEP 9: Roll back a specific driver (example: NVIDIA) ---
# Find the OEM INF number for the driver first:
pnputil /enum-drivers
# Then uninstall using the identified OEM number:
# pnputil /delete-driver oem27.inf /uninstall /force

# --- STEP 10: Check RAM via Windows Memory Diagnostic ---
mdsched.exe
# Select "Restart now and check for problems"
# After reboot, view results in Event Viewer:
# Path: Event Viewer > Windows Logs > System > Source: MemoryDiagnostics-Results

# --- STEP 11: Disable Fast Startup via registry [PS] ---
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power" -Name HiberbootEnabled -Value 0

# --- STEP 12: Check Windows Update status [PS] ---
Get-WindowsUpdateLog
# Or trigger update check:
Start-Process "ms-settings:windowsupdate"

# --- STEP 13: VMware-specific fix (run inside the VM) ---
# Check VMware Tools service status:
sc query VMTools
# Restart VMware Tools service:
net stop VMTools && net start VMTools
# If VMware Tools is broken, reinstall from VMware menu:
# VM menu > Reinstall VMware Tools

# ============================================================
# After each fix step, restart the PC and monitor for BSODs.
# Use the minidump analysis to confirm the fix worked.
# ============================================================
E

Error Medic Editorial

The Error Medic Editorial team is composed of senior DevOps engineers, SRE specialists, and Windows systems administrators with a combined 40+ years of experience diagnosing kernel panics, BSODs, and system-level failures across enterprise and consumer environments. Our guides are grounded in real crash dump analysis, Microsoft documentation, and hands-on lab testing. We specialize in translating cryptic stop codes into actionable, step-by-step remediation procedures for both developers and general users.

Sources

Related Articles in Windows 11 System Service Exception

Explore More windows Guides