0XC0000389

STATUS_SMARTCARD_CERT_REVOKED (0XC0000389): Smart Card Cert Fix

Your smart card cert got revoked, so Windows blocks login with 0XC0000389. It's usually a damaged card, a revoked cert, or a missing CA. Here's how to fix it fast.

Quick answer: If you're an admin and just need the fix, grab a known-good smart card, clear the cached logon data with certutil -scinfo, check the CA's CRL, and re-enroll the cert. That clears 0XC0000389 in most cases.

Why You're Seeing STATUS_SMARTCARD_CERT_REVOKED

This error means Windows talked to the smart card, pulled the certificate, checked the Certificate Revocation List (CRL), and found that your cert is on it. The card is valid hardware — the certificate on it isn't. Windows will not let you log on with a revoked cert, period. That's by design.

I had a client last month whose entire finance team got locked out on a Monday morning. Turns out their internal CA had reissued certs over the weekend, and the old ones were revoked but still on the cards. Everybody saw 0XC0000389 at the lock screen. Panic. The fix was re-enrolling the cards — but only after confirming the CRL was actually reachable.

Common triggers:

  • The certificate expired and the CA auto-revoked it.
  • Someone reported the card lost or stolen, then found it. The cert is still revoked.
  • An admin revoked a batch of certs during a security incident and forgot to reissue.
  • The card was cloned or tampered with, and the CA flagged it.
  • Your machine can't reach the CRL distribution point, so it treats the cert as revoked (or fails closed).

Fix 1: Confirm the Cert Is Actually Revoked

Don't guess. Pull the cert off the card and check it.

  1. Plug in the smart card reader and insert the card. Wait for the driver to load.
  2. Open an elevated Command Prompt.
  3. Run:
    certutil -scinfo
  4. Look at the certificate details. Note the serial number and the CRL Distribution Point URL.
  5. Open that URL in a browser or run:
    certutil -URL <CRL_URL>
  6. Search the CRL for your cert's serial number. If it's listed, the cert is revoked. You need a new one.

If certutil -scinfo fails to read the card, jump to Fix 4.

Fix 2: Re-Enroll the Certificate on the Card

This is the real fix. You can't un-revoke a cert. You need a fresh one written to the card.

  1. On a machine with the certificate enrollment agent installed, insert the card.
  2. Open certlm.msc (Local Computer certificates) or certmgr.msc for user certs.
  3. Right-click Personal > All Tasks > Request New Certificate.
  4. Pick the smart card enrollment template your org uses (usually "Smartcard User" or "Smartcard Logon").
  5. When prompted, select the smart card and enter the PIN.
  6. Finish the wizard. You'll get a new cert with a new serial number.

Test login immediately. If it still fails, force a fresh CRL pull:

certutil -URLCache CRL
certutil -pulse

Fix 3: Check the CRL Is Reachable

Half the 0XC0000389 cases I see are actually network or proxy issues. The machine can't reach the CRL URL, so it can't verify the cert status, and Windows treats that as revoked during logon.

  1. From the affected machine, ping the CRL host. If DNS fails, that's your problem.
  2. Check for a proxy that's blocking the CRL download. Corporate proxies love to break this.
  3. If you're on a VPN that only comes up after login, this is a chicken-and-egg problem. Check your VPN client's pre-logon connectivity setting.
  4. Flush the CRL cache:
    certutil -URLcache * delete
    certutil -pulse
Pro tip: if your CA's CRL is published to an internal HTTP server that requires a logged-in user to reach, move it to a server that allows anonymous access. This trips up more orgs than you'd think.

Fix 4: Card Reader or Driver Issues

If -scinfo can't even read the cert, the reader is the problem, not the cert.

  1. Open Device Manager. Look under Smart card readers.
  2. If the device has a yellow bang, grab the vendor driver. Generic Microsoft drivers work for basic readers but flake out on some models — Gemalto, Yubikey, and Identiv all have specific drivers worth installing.
  3. Restart the Smart Card service:
    net stop SCardSvr
    net start SCardSvr
  4. Try a different reader or a different USB port. USB hubs cause intermittent card reads that show up as random cert errors.

Alternative Fixes

  • Use a backup authentication method. If you're locked out and can't re-enroll on the spot, log in with domain credentials and re-enroll from inside Windows. Your domain admin can also reset your smart card requirement temporarily.
  • Check the revocation reason. In certlm.msc, find the cert, go to the Revocation tab if available, or pull the CRL details. "CertificateHold" can sometimes be undone (un-revoked) by the CA admin. "KeyCompromise" or "Superseded" can't.
  • Reimage the card. Some cards allow a full reset via the vendor's middleware (SafeNet, OpenSC, or the PIV utility). This wipes old certs and lets you start fresh.
  • Check group policy. If you're in an enterprise, a GPO might be enforcing strict revocation checking. Computer Configuration > Windows Settings > Security Settings > Public Key Policies. Admins can loosen this inside the network, but think hard before you do.

Prevention

Set calendar reminders before cert expiry. If you're an admin, don't revoke certs unless you have to — and when you do, have re-enrollment ready to go the same day. The worst lockouts I've dealt with were caused by someone revoking a whole batch "just to be safe" on a Friday.

Also test CRL reachability from machines that only have network access after logon. If your CRL lives behind a login, you've built a trap that fires the moment a cert expires.

Related Errors in Cybersecurity & Malware
Firewall Geo-IP Block Blocks Legit Traffic: Fix It 0x80070005 Fix the 0x80070005 Access Denied Error in Windows Defender 0X00000517 Fix ERROR_LOCAL_USER_SESSION_KEY (0X00000517) on Windows 10/11 0X000035EA Fix ERROR_IPSEC_IKE_ATTRIB_FAIL (0X000035EA) in Windows

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.