Think Like a Computer
No ads, no affiliate links, no software recommendations you did not ask for.

SYSTEM_SERVICE_EXCEPTION (0x0000003B) Stop Code

What stop code 0x0000003B means: an exception during the user-to-kernel transition. Driver, system file and memory causes, with repairs in order.

A SYSTEM_SERVICE_EXCEPTION bug check is a blue screen with stop code 0x0000003B. The machine was running ordinary code in user mode and handing control to a kernel routine when an exception fired that the kernel could not resolve. Windows could not attribute the fault to the calling process, so it halted the system rather than let a corrupted kernel stack continue. The first parameter of the stop code names the exception that was raised, the second the address of the instruction that raised it, and the third the address of the kernel routine that was being entered. Reading those three numbers narrows the cause considerably before any repair is attempted.

The name is slightly misleading. The exception is not necessarily raised by the service being called. It is raised during the transition, which means the fault usually lies in a driver that has already entered kernel mode, in a structure the kernel reads on the way in, or in the memory backing either. A user-mode program that crashes produces an application error, not this bug check; getting 0x3B means something below the application boundary misbehaved.

Reading the parameters before changing anything

On the blue screen, or in the dump file afterwards, the four parameters appear after the stop code. The first is an NTSTATUS value. The common ones are 0xC0000005 (access violation), 0x80000003 (breakpoint) and 0xC000001D (illegal instruction). An access violation points at a driver dereferencing a bad pointer or at memory that has gone bad. A breakpoint with no debugger attached usually means a driver hit an assertion it should not have reached. An illegal instruction points at corrupted code pages, which is a memory or storage symptom rather than a logic bug.

The second parameter is the faulting instruction address. If it falls inside a loaded driver, the dump will name that driver. Windows writes small memory dumps to %SystemRoot%\Minidump by default and a full dump to %SystemRoot%\MEMORY.DMP if configured. The minidump is enough to identify the driver in most cases.

To confirm dump settings and read the recorded bug checks:

wmic recoveros get DebugInfoType,DebugFilePath

A DebugInfoType of 3 means a kernel memory dump, 7 means a small minidump, 0 means no dump is being written. If it is 0, nothing can be diagnosed from a crash that has already happened; set it to 7 before the next one.

Causes in the order they actually occur

Third-party drivers, including security filter drivers

A filter driver sits between the file system or network stack and the rest of the kernel. Antivirus, endpoint protection, disk encryption, backup agents and VPN clients all install one. When such a driver is built against an older kernel interface, or is updated out of step with a Windows feature update, it can fault exactly at the user-to-kernel boundary. This is the most frequent source of 0x3B on a machine that was working and then was not.

The distinguishing sign is timing: the crashes began after an update, an install, or a Windows version change. The dump names a driver file that belongs to a security or filter product rather than to Microsoft.

Damaged system files

A corrupted kernel image, a bad driver store entry, or a damaged hive can produce the same stop code without any third-party software being at fault. The distinguishing sign is that the faulting address lands in an ntoskrnl.exe, win32k.sys or similar Microsoft module, or that the crash occurs at different points each time with no consistent driver named.

Memory faults

Failing RAM corrupts whatever structure happens to occupy the bad cell. Because the transition path touches many structures, memory faults often present as 0x3B with a different first parameter on each crash and no repeating driver. A single crash is not evidence of bad memory; a pattern of unrelated stop codes is.

A setting, not a component

Hardware that passes every test can still produce this bug check when a setting is wrong. Overclocked memory running at a profile the board does not fully support, a page file that has been disabled or moved to a failing volume, or a driver verifier configuration left enabled from a previous troubleshooting session will all do it. Driver Verifier in particular forces drivers to fail on conditions they would normally survive, so a machine with verifier still active will crash repeatedly and look broken when it is not.

Telling the causes apart

ObservationPoints toDoes not apply when
Same driver named in every dumpThat driver, usually a filter or security productThe named module changes between crashes
Different first parameter and different module each crashMemory or storageThe same parameter repeats exactly
Fault inside ntoskrnl.exe or win32k.sysSystem file damageA third-party driver is named instead
Crashes began after a Windows feature updateDriver built for an older kernelThe machine has run this build for months without issue
Crashes began after enabling Driver VerifierVerifier is still activeVerifier was never turned on
Crashes only under load or after long uptimeThermal or memoryCrashes happen at idle too

Repairs, least destructive first

Confirm Driver Verifier is not still running

This costs nothing and explains a surprising number of repeat crashes. Open a command prompt as administrator and query the current verifier state:

verifier /query

If it reports drivers being verified and no troubleshooting session is in progress, clear the settings. This restarts the machine:

verifier /reset

verifier /reset deletes the verifier configuration and requires a reboot. It does not touch user data. Only run it when no deliberate verification session is under way, because it ends that session.

Remove or update the driver named in the dump

If the dump names a third-party driver, the correct action is to update that product to a build that matches the installed Windows version, or to remove it. For a security product, uninstalling through its own uninstaller is the reliable route; disabling real-time protection alone leaves the filter driver loaded. If the machine will not stay up long enough to uninstall, start in Safe Mode, where third-party filter drivers are not loaded, and remove the product from there.

Safe Mode is reached from Settings, System, Recovery, Advanced startup, or by holding Shift while choosing Restart. It is a diagnostic state, not a repair; the crash returning in normal mode confirms the driver was the cause.

Check and repair the system files

The system file checker compares protected files against the component store and replaces damaged ones. Run it from an elevated prompt:

sfc /scannow

It reports whether it found integrity violations and whether it repaired them. If it reports corruption it could not fix, the component store itself needs repair first, then the scan repeated:

dism /online /cleanup-image /restorehealth

/Restorehealth contacts Windows Update for replacement files by default. If the machine has no network access, add /Source: pointing at a mounted installation image and /LimitAccess so it does not attempt the online lookup. Neither command deletes user data, but both write to the system volume, so a working backup is the sensible precondition.

Check the disk holding the system volume

The file system can be damaged in ways that produce read errors the kernel handles badly. Schedule a check of the system volume:

chkdsk C: /scan

/scan runs online and reports problems without taking the volume offline. If it finds them, schedule a repair for the next restart:

chkdsk C: /offline /spotfix

/spotfix takes the volume offline during the restart and repairs only the identified problems. It can, in rare cases, remove file system metadata it judges inconsistent; that is why the scan comes first and why a backup matters. Do not run a full chkdsk /r on a suspect drive before backing up what can be read, because a failing platter will be stressed further.

Test the memory

The built-in Windows Memory Diagnostic runs outside the operating system and reports after the next boot. It is started from Administrative Tools, or scheduled from a prompt:

mdsched.exe

Choose the restart option. On the next start the test runs and the result appears in the notification area after sign-in. A single pass is a screen, not a verdict; failing modules are usually caught, marginal ones sometimes are not. For a machine that crashes under load, a longer test from bootable media is more informative.

Reduce the variables the hardware is running under

If no driver is named consistently and memory tests are clean, return the machine to stock settings before concluding the hardware is bad. Disable any memory overclocking profile in firmware setup, confirm the page file is system-managed on the system volume, and remove recently installed hardware or peripherals one at a time. A machine that stops crashing at stock settings was never broken; it was misconfigured.

When the fault follows a specific application

A crash that occurs only when one program is running points at that program’s driver or at a component it installs. Virtualisation software, anti-cheat components and disk imaging tools all load kernel drivers. Removing the application removes the driver. This is a diagnosis, not a workaround: if the crash disappears with the application gone and returns when it is reinstalled at the current version, the vendor’s driver is the fault and the fix belongs with them.

What a reinstall does and does not fix

The point at which reinstalling Windows becomes reasonable is after the driver named in the dump has been removed or updated, the system files verify clean, the disk scans clean and the memory has been tested. A reinstall destroys the contents of the system volume and, if the drive is repartitioned, everything on it. It does not repair failing RAM or a failing disk, and a machine with either will produce the same stop code on the fresh installation. If the crash returns on a clean install with no third-party drivers, the fault is in the hardware, and the next step is component testing rather than another install.

Common questions

What does system service exception 0x0000003b mean?

It is a bug check raised when an exception occurs during the transition from user-mode code into a kernel routine. The kernel cannot attribute the fault to the calling process, so it stops the system. The first parameter names the exception type, which is the most useful clue.

Is SYSTEM_SERVICE_EXCEPTION always a driver problem?

No. Drivers, especially security and filter drivers, are the most common cause, but damaged system files and faulty memory produce the same stop code. The dump file usually names the module involved, and that distinguishes the cases.

Why does it happen on Windows 11 after an update?

A feature update changes the kernel interfaces that drivers are built against. A filter driver written for the previous build can fault at the user-to-kernel boundary until the vendor releases a matching version. Updating or removing that product resolves it.

Can bad RAM cause SYSTEM_SERVICE_EXCEPTION?

Yes. Failing memory corrupts whichever kernel structure occupies the bad cell, so the crash often shows a different first parameter each time and no repeating driver. A pattern of unrelated stop codes is the signal to test memory.

Does reinstalling Windows fix stop code 0x3B?

Only if the cause was software that the reinstall removes. It does not fix failing memory or a failing disk, and the stop code will return on the clean installation. Test the hardware before reinstalling.

Read next