0X8010000B

Smart card sharing violation 0x8010000B — fix in 5 minutes

Your smart card reader's already in use by another process — usually a background service or a second app. Here's how to find and kill the culprit.

What's actually happening here is a reader lock

Error 0x8010000B (SCARD_E_SHARING_VIOLATION) means the smart card reader is already claimed by another process. The Windows smart card resource manager enforces exclusive access per session — you can't have two apps talking to the same card at the same time. This isn't a hardware failure, it's a software contention issue.

I've seen this most often after a VPN client (like Cisco AnyConnect or Palo Alto GlobalProtect) tries to authenticate using the smart card, while Windows Hello or a PKI app (like ActivClient) already has the card pinned. The fix is finding the holder and releasing it.

First cause: leftover smart card service process

The most common trigger: a previous smart card operation crashed or was closed improperly, leaving the SCardSvr service holding the card. The resource manager doesn't auto-release until the service restarts.

Fix — restart the smart card service

  1. Open an admin Command Prompt (Win+X -> Terminal Admin).
  2. Run:
    net stop scardsvr && net start scardsvr
  3. Retry your smart card app.

The reason step 2 works: stopping the service kills all active handles to readers. Starting it fresh resets the context. If you see "The service is starting or stopping," wait 5 seconds and try again — it's transient.

If this fixes it, you're done. But if the error returns immediately after the next app launch, read on — that means a specific app is re-claiming it every time.

Second cause: a specific app holds the reader persistently

Some applications — I'm looking at you, Enterprise PKI middleware like ActivClient 8.x or Gemalto IDGo — don't release the reader handle after they authenticate. They keep it open for the entire user session. Meanwhile, your browser or VPN client can't touch it.

Fix — identify the holding process

  1. Open PowerShell as admin.
  2. Run:
    Get-WmiObject -Class Win32_PnPEntity | Where-Object {$_.Name -like "*smart card*"} | ForEach-Object {$_.DeviceID}
    This gives you the device instance path.
  3. Then find what's holding it:
    handle.exe -a -p ".*smart.*"
    You need Sysinternals handle.exe for this. It lists open handles to the reader.
  4. Look for the process name (e.g., activclient.exe, pivApp.exe, svchost.exe).
  5. Kill it via Task Manager or taskkill /f /im processname.exe.

Important: If it's svchost.exe, that's the SCardSvr itself — restart the service as above. Killing svchost haphazardly can blue-screen you.

Once the holder process is dead, your app should connect immediately. If you need that app (like a PKI agent) to keep running, you'll need to reconfigure it to release the reader after use — check its settings for "exclusive access" or "session sharing."

Third cause: Windows Hello for Business locking the reader

Windows 10 22H2 and Windows 11 23H2 have a known behavior: when Windows Hello tries to authenticate using a smart card (for PIN or fingerprint fallback), it grabs the reader and doesn't let go until the user signs out. This happens silently — you won't see a Hello UI, but the card's held.

Fix — disable Hello's smart card fallback

  1. Open Group Policy Editor (gpedit.msc) or search for "Edit group policy".
  2. Navigate to: Computer Configuration -> Administrative Templates -> Windows Components -> Windows Hello for Business.
  3. Set "Use a hardware security device" to Disabled.
  4. Alternatively, if you're not on Pro/Enterprise:
    reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI /v UseSmartCard /t REG_DWORD /d 0 /f
  5. Reboot.

The reason this works: the registry key tells the logon UI to skip smart card enumeration. Without that trigger, Hello never claims the reader. Your apps get clean access.

Caveat: This disables smart card logon via Windows Hello. If you need that, you're stuck with the previous fix (restarting SCardSvr before each app use).

Quick-reference summary

CauseSymptomFix
SCardSvr holds stale handleError right after another app used the cardnet stop scardsvr && net start scardsvr
Specific app (PKI middleware, VPN)Error only with that app runningKill the process; reconfigure to release reader
Windows Hello fallbackError at login or after idle timeoutDisable Hello's smart card use via GPO or registry

If none of these work, you've got a minidriver conflict. Uninstall all smart card reader drivers from Device Manager, reboot, and let Windows reinstall them fresh. That clears any corrupted driver context that could simulate a sharing violation.

Related Errors in Network & Connectivity
0X0000171A Fix ERROR_CLUSTER_PARTIAL_SEND (0x0000171A) in Failover Clusters SD-WAN Edge Device Shows Offline After Power Outage Router Keeps Rebooting? Fix the Overheating and PSU First 0X000020F1 ERROR_DS_REFUSING_FSMO_ROLES (0X000020F1) Fix

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.