0X80092002

CRYPT_E_BAD_ENCODE (0X80092002) Fix That Actually Works

This error usually means Windows can't read a corrupted or incompatible certificate. The real fix is resetting the crypt service and clearing the cache.

Yeah, this error is a pain. You're trying to install something, update Windows, or open an old Office file, and boom — 0X80092002. Let's get to it.

The Quick Fix: Reset the Cryptographic Service

  1. Open Command Prompt as Administrator. Win + X, then Command Prompt (Admin) or Windows PowerShell (Admin).
  2. Stop the Cryptographic Services:
    net stop cryptsvc
  3. Rename the catroot2 folder (don't delete it, you'll regret it):
    ren C:\Windows\System32\catroot2 catroot2.old
  4. Restart the service:
    net start cryptsvc
  5. Re-run whatever triggered the error. That's usually it.

This works because Windows caches certificate validation data in catroot2. When that cache corrupts — often after a failed update or a bad certificate installation — every crypto operation fails. Renaming it forces Windows to rebuild the cache fresh.

Why This Happens

The culprit here is almost always a corrupted certificate store or a failed Windows Update that left the crypto service in a bad state. I see it most often after someone uses a third-party registry cleaner or force-kills a Windows Update mid-process. The crypt32.dll can't read the corrupted cache, so it throws 0X80092002.

Don't bother reinstalling Windows for this. That's like burning down your house because a lightbulb died.

If That Didn't Work: Check for Corrupted Certificates

Sometimes the cache isn't the issue — it's a specific certificate in your personal store. Here's how to check:

  1. Open certlm.msc (Local Machine certificates).
  2. Expand Personal > Certificates.
  3. Look for any certificate with a red X or a yellow warning triangle. These are corrupted or expired.
  4. Right-click and delete them. If it's a system cert, back it up first: right-click, All Tasks, Export.

Also check Trusted Root Certification Authorities > Certificates. If you see a cert with an issue date in the future or one that's obviously mangled, delete it and re-run Windows Update to re-download it.

Less Common Scenarios

Office 2016/2019 Activation

Some older Office versions (especially 2016) hit this error during activation. The fix is different: clear the Office licensing cache.

  1. Close all Office apps.
  2. Open Command Prompt as Admin.
  3. Run:
    cd /d "%ProgramFiles%\Microsoft Office\Office16"
      cscript ospp.vbs /dstatus
    Lists the installed product key.
  4. Then clear the cache:
    cscript ospp.vbs /unpkey:<Last5CharsOfKey>
  5. Re-activate from Settings.

Windows Update Failing with 0X80092002

If you see this error in the Windows Update log (C:\Windows\WindowsUpdate.log), the problem is usually a corrupt update component.

  • Run the Windows Update Troubleshooter (Settings > Update & Security > Troubleshoot).
  • If that doesn't help, manually reset the update components using Microsoft's script:
    Download the "Windows Update Reset" script from Microsoft Support. The official one is safe.

Prevention: Don't Let This Happen Again

Three rules:

  1. Never kill Windows Update mid-process. If it's stuck, use the troubleshooter or restart the service cleanly (net stop wuauserv, net start wuauserv).
  2. Stay away from registry cleaners. They delete critical entries like a toddler with a hammer. I've seen them strip out certificate trust data more times than I can count.
  3. Back up your certificate store before making changes. From certlm.msc, right-click Personal, All Tasks, Export — save it as a PFX with a password.

That's it. You should be up and running in under 5 minutes. If you're still stuck after all this, it's probably a deeper system file corruption — run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth from an admin command prompt. But that's rare.

Related Errors in Cybersecurity & Malware
0X80094816 Fixing CERTSRV_E_RENEWAL_BAD_PUBLIC_KEY (0x80094816) 0X00002149 Fix ERROR_DS_HAVE_PRIMARY_MEMBERS (0X00002149) in AD 0x800705b4 or null Fix Windows Defender Real-Time Protection Grayed Out Suspicious IP showing up in logs? Here's what to do

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.