Retired Microsoft Blog disclaimer

This directory is a mirror of retired "Decrypt My World" MSDN blog and is provided as is. All posting authorship and copyrights belong to respective authors.
Original URL: https://blogs.msdn.microsoft.com/alejacma/2010/12/23/an-aborted-process-that-reads-from-a-smartcard-causes-a-2nd-reader-process-to-hang/
Post name: An aborted process that reads from a smartcard causes a 2nd reader process to hang
Original author: Alejandro Campos Magencio
Posting date: 2010-12-23T02:33:51+00:00


Hi all,

I'm currently working on the following issue on Windows Vista SP2 and Windows 7 RTM which doesn't happen on Windows XP SP3: if a process that reads from a smart card is aborted unexpectedly after a call toSCardBeginTransaction without callingSCardEndTransaction, other instances of the same application or any other application using the same card will hang when trying to connect to the card withSCardConnect.

After you repro the issue, you can restart the Smart Card service or just remove and re-insert the card in the reader to be able to use it again. Now, that workaround won't work in all scenarios, so we have just released a fix for the issue on Vista and Server 2008.

The fix for Windows 7 and Server 2008 R2 is on its way, but it won't be released before Service Pack 1 is publicly released next year (sorry, don't know the exact date).

I hope this helps.

Regards,

Alex (Alejandro Campos Magencio)


Share this article:

Comments:

Comments are closed.