What does HRESULT 0x8010006B (SCARD_W_WRONG_CHV) mean?

 
Previous Next
SCARD_W_SECURITY_VIOLATION SCARD_W_CHV_BLOCKED

SCARD_W_WRONG_CHV

A failed cardholder-verification attempt

SCARD_W_WRONG_CHV means that the smart card rejected the submitted cardholder-verification value (CHV), commonly called a PIN. It is not a Windows account-password error. The result comes from the card security domain or its middleware, and the card may maintain a retry counter independently of the operating system.

GlobalPlatform defines cardholder-verification state and retry counters as security data. A failed verification can advance the counter; a successful verification can reset it; reaching the retry limit can place the credential into a blocked state. That is why an automatic retry loop is dangerous even if the application believes it is correcting an input problem.

How to handle it

  • Stop automatic retries after one failure and ask for a new user entry through the approved UI.
  • Where the card profile supports it, obtain remaining-attempt information through the provider rather than guessing.
  • Keep card PIN troubleshooting separate from Windows sign-in, certificate-chain, and reader-driver failures.

References


Looking for a different code? Search another status or error code.