I'm trying to use a smart card on my computer and I can't get it to read on one of my computers even though using the exact same reader works on the other. Both are running Windows 10 21H1. Plugging in the card reader into the non-working computer does install a device in Device Manager so the computer can detect the reader.
One thing I noticed that's different is that the working computer has a Smart Card service but the non-working does not have this service. My guess is I need that service to get it to recognize. But this is where I'm lost. So far, I've tried running the following:
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannowIt did fix some things, but the Smart Card service still isn't showing up after a reboot.
Any pointers are much appreciated, thanks.
32 Answers
It would help to know the model of your card-reader. You could look for a driver on the website of its manufacturer.
Use the regsvr32 command to re-register the following dll files
(whichever ones exist on your computer).
For example: regsvr32 scarddlg.dll.
scarddlg.dll SCardDlg - Smart Card Common Dialog
scardssp.dll Smart Card Base Service Providers
sccbase.dll Infineon SICRYPT Base Smart Card CSP
sccsccp.dll Infineon SICRYPT Smart Card Crypto Provider COM Objects
scredir.dll Smart Card Redirection for TS
slbcsp.dll Schlumberger Smart Card CryptoAPI Library
slbiop.dll Schlumberger Smart Card Interoperability Library v2
slbrccsp.dll Schlumberger Smart Card CryptoAPI Resource FileIf the above steps do not help with the issue, try aRepair Install of Windows 10 with an In-place Upgrade. This is the same as doing a major upgrade of Windows, so take the appropriate backups.
1On both systems, in search box on task bar, type "services" and start it. Look for: "Smart Card" "Manages access to smart cards read by this ..."
If no smart card reader is attached its "Status" should be blank and "Startup Type" should be "Automatic(Trigger Start)" Close services and inset a reader. Bring up Services again: with reader inserted, the "Status" should be "Running".
You can also use Task Manager to see the Services with Name of "SCardSrv", PID, Description "Smart Card" and Status of "Running"
You did not say what reader you are using or if other readers have been used on the failing machine. When a new driver is installed, it should have turned on Automatic(Trigger Startup).
Right click on entry and then Properties and you can set "Automatic".
2