Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Applications that use smart card authentication stop responding on a computer that is running Windows 7 SP1 or Windows Server 2008 R2 SP1


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a computer that is running Windows 7 Service Pack 1 (SP1) or Windows Server 2008 R2 SP1.
  • From the computer, you log on to a server by using a remote desktop connection that uses smart card authentication.
  • You run an application that processes a transaction through the smart card. Then, the application closes without stopping the transaction.
  • You run the application again, or you run another application that uses smart card authentication. 
In this scenario, the application stops responding.

↑ Back to the top


Cause

This issue occurs because the application calls the SCardBeginTransaction function. However, the SCardEndTransaction function was not called when the application closed without stopping the transaction. Therefore, the smart card service stops responding, and later calls to the smart card are blocked.

↑ Back to the top


Resolution

Hotfix information

When you install this hotfix, the TransactionTimeoutDelay registry entry is added. If you install a later version of the Scardsvr fix, the registry entry is not added. For example, the registry entry is not added when you install the hotfix that is described in the following Microsoft Knowledge Base (KB) article:
2799035 Certificate Propagation service crashes when you disconnect an RDS client from a Windows 7 or Windows Server 2008 R2-based RDS server
 
Note For more information about the TransactionTimeoutDelayregistry entry, see the following table:

Registry Path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Calais
Data Type REG_DWORD
Range 5 - 60 ; The Default value is 5 seconds
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 7 Service Pack 1 (SP1) or Windows Server 2008 R2 SP1.

For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
    VersionProductMilestoneService branch
    6.1.760
    1.17xxx
    Windows 7 and Windows Server 2008 R2SP1GDR
    6.1.760
    1.21xxx
    Windows 7 and Windows Server 2008 R2SP1LDR
  • GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 7 and for Windows Server 2008 R2" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
File nameFile versionFile sizeDateTimePlatform
Certprop.dll6.1.7601.1751467,58420-Nov-201012:18x86
Scarddlg.dll6.1.7600.1638566,04814-Jul-200901:16x86
Scardsvr.dll6.1.7601.21992135,68011-May-201204:30x86
Sccls.dll6.1.7600.1638563,48814-Jul-200901:16x86
Scfilter.sys6.1.7601.2199226,62411-May-201202:40x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Certprop.dll6.1.7601.1751480,38420-Nov-201013:25x64
Scarddlg.dll6.1.7600.1638582,43214-Jul-200901:41x64
Scardsvr.dll6.1.7601.21992195,58411-May-201206:33x64
Sccls.dll6.1.7600.1638565,53614-Jul-200901:41x64
Scfilter.sys6.1.7601.2199229,69611-May-201204:18x64
Scarddlg.dll6.1.7601.2199266,04811-May-201204:30x86
For all supported IA-64-based versions of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Certprop.dll6.1.7601.17514188,41620-Nov-201010:24IA-64
Scarddlg.dll6.1.7600.16385155,64814-Jul-200901:48IA-64
Scardsvr.dll6.1.7601.21992396,28811-May-201204:31IA-64
Sccls.dll6.1.7600.1638573,21614-Jul-200901:48IA-64
Scfilter.sys6.1.7601.2199268,60811-May-201202:45IA-64
Scarddlg.dll6.1.7601.2199266,04811-May-201204:30x86

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about smart cards and remote desktop services, go to the following Microsoft website: For more information about the SCardBeginTransaction function and the SCardEndTransaction function, go to the following Microsoft website:For more information about smart card issues, click the following article numbers to view the articles in the Microsoft Knowledge Base:
2427997 A process that connects to a smart card hangs when a program that requires you to use the smart card crashes in Windows Vista, in Windows Server 2008, in Windows 7 or in Windows Server 2008 R2
2521923 A program that requires you to use a smart card stops responding in a remote desktop connection in Windows Server 2008, in Windows Vista, in Windows 7 or in Windows Server 2008 R2
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
File nameX86_microsoft-windows-s..sactiontimeoutdelay_31bf3856ad364e35_6.1.7601.21992_none_7a625770494b1101.manifest
File versionNot applicable
File size1,358
Date (UTC)11-May-2012
Time (UTC)05:00
PlatformNot applicable
File nameX86_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_f5fe5eaf960deaa3.manifest
File versionNot applicable
File size5,484
Date (UTC)11-May-2012
Time (UTC)04:52
PlatformNot applicable
File nameX86_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_1a35cc18e1954586.manifest
File versionNot applicable
File size35,048
Date (UTC)11-May-2012
Time (UTC)15:26
PlatformNot applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameAmd64_microsoft-windows-s..sactiontimeoutdelay_31bf3856ad364e35_6.1.7601.21992_none_d680f2f401a88237.manifest
File versionNot applicable
File size1,360
Date (UTC)11-May-2012
Time (UTC)07:07
PlatformNot applicable
File nameAmd64_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_521cfa334e6b5bd9.manifest
File versionNot applicable
File size5,486
Date (UTC)11-May-2012
Time (UTC)06:59
PlatformNot applicable
File nameAmd64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_7654679c99f2b6bc.manifest
File versionNot applicable
File size35,054
Date (UTC)11-May-2012
Time (UTC)15:46
PlatformNot applicable
File nameWow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_80a911eece5378b7.manifest
File versionNot applicable
File size24,977
Date (UTC)11-May-2012
Time (UTC)04:50
PlatformNot applicable
File nameX86_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_f5fe5eaf960deaa3.manifest
File versionNot applicable
File size5,484
Date (UTC)11-May-2012
Time (UTC)04:52
PlatformNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
File nameIa64_microsoft-windows-s..sactiontimeoutdelay_31bf3856ad364e35_6.1.7601.21992_none_7a63fb66494919fd.manifest
File versionNot applicable
File size1,359
Date (UTC)11-May-2012
Time (UTC)05:44
PlatformNot applicable
File nameIa64_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_f60002a5960bf39f.manifest
File versionNot applicable
File size5,485
Date (UTC)11-May-2012
Time (UTC)04:49
PlatformNot applicable
File nameIa64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_1a37700ee1934e82.manifest
File versionNot applicable
File size35,051
Date (UTC)11-May-2012
Time (UTC)15:15
PlatformNot applicable
File nameWow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_80a911eece5378b7.manifest
File versionNot applicable
File size24,977
Date (UTC)11-May-2012
Time (UTC)04:50
PlatformNot applicable
File nameX86_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_f5fe5eaf960deaa3.manifest
File versionNot applicable
File size5,484
Date (UTC)11-May-2012
Time (UTC)04:52
PlatformNot applicable

↑ Back to the top


Keywords: kb, kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbsurveynew, kbexpertiseadvanced

↑ Back to the top

Article Info
Article ID : 2706168
Revision : 1
Created on : 1/7/2017
Published on : 5/27/2013
Exists online : False
Views : 262