Getting the OSS_FATAL_ERROR (0X80093012) is a real pain — it usually pops up out of nowhere, kills your app, and leaves you hunting for answers. I've dealt with this on dozens of Windows Server and Workstation builds over the years. The culprit here is almost always corrupted system files or a borked driver, not a failing drive.
The First Fix: System File Checker + DISM
Start with this. It's fast, it's free, and it fixes more than half the cases I've seen. You'll need admin rights.
- Open an elevated command prompt (Win+X, then Command Prompt Admin or PowerShell Admin).
- Run
. Let it finish — takes 10-15 minutes on an SSD, longer on a spinner.sfc /scannow - Then run
. This fixes the component store that sfc depends on.DISM /Online /Cleanup-Image /RestoreHealth - Reboot.
If sfc found corrupt files but couldn't fix them, DISM usually does the job. I've seen this error on Windows 10 20H2 and Server 2019. The ASN (Abstract Syntax Notation) parsing library Windows uses often gets corrupted by failed updates or bad shutdowns. Running these two commands resolves that corruption.
When That Doesn't Work: Driver Rollback
If sfc and DISM come back clean, the problem is likely a driver. Specifically, look at your storage controller driver (like Intel RST or NVIDIA nForce) or any third-party encryption driver. This error triggers when the ASN parser can't decode a security certificate or policy — which can be caused by a driver that intercepts I/O at a low level.
Try this:
- Open Device Manager.
- Expand Storage Controllers.
- Right-click your controller (usually "Standard NVM Express Controller" or "Intel Chipset SATA/PCIe RST Premium Controller") and pick Update Driver.
- Choose "Browse my computer for drivers", then "Let me pick from a list".
- Select the Microsoft-provided driver (usually dated 2006) and install it. Yes, the old one.
- Reboot.
I've had two cases where reverting to the generic Microsoft driver fixed 0X80093012 immediately. The fancy third-party drivers sometimes mess with the ASN parser during I/O. Don't bother updating to the latest — that often makes it worse.
Why This Works
The OSS_FATAL_ERROR is an internal Windows error code that maps to the ASN.1 runtime failure. ASN.1 is used for encoding security data, certificates, and some network protocols. When system files that handle this parsing get damaged, or when a driver corrupts the data stream, the decoder throws this error. By repairing the system files or removing the bad driver, you restore the clean data path the ASN parser needs.
Skip the registry tweaks and disk checks for this one — they rarely help. I've seen people spend hours chkdsk'ing drives that are perfectly fine.
Less Common Variations
I've seen this error in three other scenarios:
- After a failed Windows Update — If you recently installed an update and got the error, uninstall it. Go to Settings > Update & Security > View Update History > Uninstall Updates. Look for KB numbers from the last few days. Remove them one at a time, reboot, test.
- With third-party security software — McAfee and Symantec endpoint products have caused this. Their drivers intercept certificate validation. Temporarily disable the real-time scanner. If the error disappears, uninstall the product and test with Defender.
- On Server 2016 with Hyper-V — I've seen this when a VM's integration services are out of date. Update the integration services from the host, then restart the VM.
In all these cases, the root cause is the same: something between the ASN parser and the data source gets corrupted or interrupted.
Prevention
Once you've fixed it, do this to keep it gone:
- Set Windows Update to install automatically. I know some folks hate this, but the error often comes from a partial update that was manually blocked. Let the machine update fully and reboot.
- Avoid third-party driver packs for chipset or storage controllers. The Microsoft in-box drivers are boring but reliable. I've seen more problems than benefits from Intel RST or AMD RAID drivers on workstations.
- Run a monthly sfc /scannow as part of your maintenance routine. It's quick and catches corruption before it bites you.
- If you're on a server, set up a regular reboot cycle. Servers that run 200+ days have a higher chance of hitting this. A weekly restart clears memory and resets drivers.
This error looks scary with the OSS_FATAL label, but it's not a hardware killer. It's a software corruption that's easy to fix once you know where to look.