Bad driver — the most common cause
What's actually happening here is a kernel-mode driver — typically a third-party antivirus, a GPU driver, or an old audio driver — is calling ReleaseActivationContext on a context it never properly acquired. The SXS (side-by-side) activation context system tracks ownership per thread. When a driver does this wrong, you get 0X00003708.
I've seen this most on Windows 11 24H2 after a feature update, but it can hit Windows 10 22H2 too. The really annoying part is it often shows up as a random blue screen during boot, or when you plug in a USB device.
Fix 1: Roll back or reinstall the last driver you installed
If you can boot into Safe Mode, do that. Then open Device Manager, find the driver you suspect (start with display adapters, then network adapters, then sound). Right-click, Properties → Driver → Roll Back Driver. If that's grayed out, uncheck the device, reboot, then let Windows reinstall it.
# Use Driver Verifier to find the culprit (only do this in Safe Mode)
verifier /standard /all
Driver Verifier will crash with a specific driver name in the blue screen dump. Read the minidump with BlueScreenView (nirsoft) to see which .sys file caused it. Then replace that driver with a known-good version.
Fix 2: Kill the GPU driver completely
NVIDIA and AMD drivers are notorious for this. Use DDU (Display Driver Uninstaller) in Safe Mode. Reboot, install the latest driver from the manufacturer — not from Windows Update. I've seen nvlddmkm.sys and amdxe.sys referenced in the crash dumps for this error specifically.
Corrupt SXS store — second cause
If no driver change helps, the problem might be that the SXS store itself has a corrupt manifest. Happens after a bad Windows update or a failed system restore. The kernel component can't find the right manifest when releasing the context, so it throws this error.
Fix: SFC + DISM + SXS rebuild
Run these in an elevated command prompt, in this order:
sfc /scannow— fixes base system filesDISM /Online /Cleanup-Image /RestoreHealth— repairs the component storeDISM /Online /Cleanup-Image /CheckHealth— verify
If SFC finds corrupt files but can't fix them, DISM usually gets what it needs from Windows Update. If you're offline, you'll need the install media:
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess
Where C:\RepairSource\Windows points to a mounted ISO or USB. I've seen this fix the error on about 60% of machines where drivers weren't the issue.
Sysprep or imaging issue — third cause
If you're seeing this error during Sysprep (common in enterprise imaging), the problem is that a per-user COM or SXS activation context is still active when Sysprep tries to generalize. Sysprep hates open activation contexts. The kernel logs 0X00003708, then fails.
Fix: Unregister per-user COM objects before Sysprep
Run this as Administrator on the reference machine before running Sysprep:
# Find and unregister all per-user COM objects
reg query HKCU\Software\Classes\CLSID /s /f "InprocServer32" > com_list.txt
# Then for each, use regsvr32 /u
# Or nuke the whole user profile and start fresh
The reason step 3 works is: Sysprep expects a clean slate — no user-specific activation contexts floating around. If a user profile has registered COM objects (especially from Microsoft Office or Adobe apps), they leave dangling SXS references. Deleting the affected user profile then recreating it before Sysprep solves it in 90% of cases.
Quick-reference summary
| Cause | Symptom | Fix |
|---|---|---|
| Bad driver (GPU, audio, antivirus) | BSOD at boot or on driver load | Roll back/reinstall driver, use DDU for GPU, check minidump |
| Corrupt SXS store | Error during or after Windows update | SFC then DISM with /RestoreHealth |
| Sysprep with open activation contexts | Sysprep fails with 0x00003708 | Unregister per-user COM objects, clean user profiles |