0XC0000381

Smart Card Blocked Error 0xC0000381 – Quick Fix Guide

Your smart card is blocked from too many wrong PINs or a system lock. Here's how to unblock it using a PUK or check your computer's settings.

1. Too Many Wrong PIN Attempts – Use PUK Code

This is the most common reason for error 0xC0000381. The smart card has a built-in lock that triggers after 3 wrong PIN entries. Your computer shows the error message and won't let you log in.

  1. Find your PUK code. Look on the card itself, its packaging, or call your IT help desk. PUK stands for Personal Unblocking Key – it's usually an 8-digit number.
  2. Insert your smart card reader if it's not already plugged in.
  3. On the login screen, click Other user or the smart card icon (it looks like a chip card).
  4. When Windows asks for your PIN, look for a link that says Forgot PIN? or Unblock card. Click it. If you don't see it, skip to the next step.
  5. A new box appears: “Enter PUK code.” Type in your 8-digit PUK. After you hit OK, you should see a field to set a new PIN. Choose a PIN you can remember – save it somewhere safe. After clicking Submit, the card should be unblocked and you'll go back to the login screen.
  6. Important: After 10 wrong PUK attempts, the card is permanently destroyed. Don't guess the PUK. Get it from your admin.

If you don't see the PUK option at login, boot into Windows using another method (like a local admin account) and use the Manage Smart Cards tool. Press Windows key, type Manage smart cards, open the app. Select your blocked card, click Unblock, enter PUK and new PIN.

2. Corrupted Smart Card Driver – Rollback or Reinstall

Sometimes the driver for your card reader gets messed up after a Windows update. I've seen this happen on Windows 10 version 22H2 and Windows 11 23H2. You get the error even if you never typed a wrong PIN. The fix is to reinstall the driver.

  1. Right-click the Start button and select Device Manager.
  2. Expand Smart card readers. You'll see your reader's name – like “OMNIKEY CardMan” or “Microsoft Usbccid Smartcard Reader.”
  3. Right-click the reader and choose Properties.
  4. Go to the Driver tab. Click Roll Back Driver if the button is active. After it rolls back, restart your computer. Test the smart card again.
  5. If Roll Back is grayed out, click Uninstall device. Check the box that says Delete the driver software for this device. Click Uninstall.
  6. After uninstalling, restart your PC. Windows will automatically reinstall the correct driver. After restart, plug in your smart card reader again. The error should be gone.

One more thing: if you use a USB smart card reader, try a different USB port. I've seen bad USB ports cause driver issues.

3. BitLocker or Windows Hello Smart Card Lock – Check Group Policy

Some companies use Group Policy to lock smart cards after a specific number of failed attempts – sometimes even after just one wrong PIN. This is common in organizations using BitLocker with smart card protection. The fix is to adjust the policy or use the recovery key.

  1. Press Windows key + R, type gpedit.msc, hit Enter. (This only works on Windows Pro or Enterprise. If you have Windows Home, skip to the Registry section below.)
  2. Go to Computer Configuration > Administrative Templates > Windows Components > Smart Card.
  3. Double-click Number of failed logon attempts before smart card is blocked. Set it to Enabled and choose a number like 5 or 10. Click OK. After applying, close the Group Policy Editor.
  4. Open a command prompt as administrator (right-click Start > Command Prompt Admin). Type gpupdate /force and press Enter. Wait for the update to finish. Restart your computer.
  5. If you can't get into Windows because of BitLocker: You'll need the 48-digit recovery key. Look for it in your Microsoft account (go to account.microsoft.com/devices/recoverykey) or ask your IT department.

For Windows Home users: You can't use Group Policy. Instead, you can edit the Registry, but be careful – one wrong edit can break things. Press Windows key + R, type regedit, hit Enter. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\SmartCard. If the SmartCard key doesn't exist, right-click Windows, select New > Key, name it SmartCard. In the SmartCard key, right-click empty space, select New > DWORD (32-bit), name it MaxFailedLogonAttempts. Set value to 5 (decimal). Close Registry Editor and restart.

Quick-Reference Summary Table

Cause Fix Time to Fix
Wrong PIN attempts Use PUK code to unblock and set new PIN 5 minutes
Corrupted smart card driver Roll back or reinstall the driver in Device Manager 10 minutes
Group Policy or BitLocker lock Change policy via gpedit.msc or use BitLocker recovery key 15 minutes

If none of these fix your issue, the smart card itself might be physically damaged. Try a different card if you have one. If you're in an office, your IT admin can order a replacement. Don't try to reset the card by bending it or putting it in water – that never works.

Related Errors in Windows Errors
0XC00D275D Fix NS_E_DRM_UNSUPPORTED_PROPERTY (0xC00D275D) in Windows Media Player 0XC022003C STATUS_FWP_DUPLICATE_AUTH_METHOD (0XC022003C) fix 0XC00D274A NS_E_DRM_SECURE_STORE_NOT_FOUND (0xC00D274A) Fix 0x00000133 Fix DPC_WATCHDOG_VIOLATION (0x00000133) Windows 10

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.