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

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.

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.

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:

http://support.microsoft.com/contactus/?ws=supportNote 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:

976932Information 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:

    Version

    Product

    Milestone

    Service branch

    6.1.760
    1.17xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    GDR

    6.1.760
    1.21xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    LDR

  • 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 name

File version

File size

Date

Time

Platform

Certprop.dll

6.1.7601.17514

67,584

20-Nov-2010

12:18

x86

Scarddlg.dll

6.1.7600.16385

66,048

14-Jul-2009

01:16

x86

Scardsvr.dll

6.1.7601.21992

135,680

11-May-2012

04:30

x86

Sccls.dll

6.1.7600.16385

63,488

14-Jul-2009

01:16

x86

Scfilter.sys

6.1.7601.21992

26,624

11-May-2012

02:40

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Certprop.dll

6.1.7601.17514

80,384

20-Nov-2010

13:25

x64

Scarddlg.dll

6.1.7600.16385

82,432

14-Jul-2009

01:41

x64

Scardsvr.dll

6.1.7601.21992

195,584

11-May-2012

06:33

x64

Sccls.dll

6.1.7600.16385

65,536

14-Jul-2009

01:41

x64

Scfilter.sys

6.1.7601.21992

29,696

11-May-2012

04:18

x64

Scarddlg.dll

6.1.7601.21992

66,048

11-May-2012

04:30

x86

For all supported IA-64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Certprop.dll

6.1.7601.17514

188,416

20-Nov-2010

10:24

IA-64

Scarddlg.dll

6.1.7600.16385

155,648

14-Jul-2009

01:48

IA-64

Scardsvr.dll

6.1.7601.21992

396,288

11-May-2012

04:31

IA-64

Sccls.dll

6.1.7600.16385

73,216

14-Jul-2009

01:48

IA-64

Scfilter.sys

6.1.7601.21992

68,608

11-May-2012

02:45

IA-64

Scarddlg.dll

6.1.7601.21992

66,048

11-May-2012

04:30

x86


Status

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

More Information

For more information about smart cards and remote desktop services, go to the following Microsoft website:

General information about smart cards and remote desktop servicesFor more information about the SCardBeginTransaction function and the SCardEndTransaction function, go to the following Microsoft website:

General information about smart card functionsFor 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 R2For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684Description 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 name

X86_microsoft-windows-s..sactiontimeoutdelay_31bf3856ad364e35_6.1.7601.21992_none_7a625770494b1101.manifest

File version

Not applicable

File size

1,358

Date (UTC)

11-May-2012

Time (UTC)

05:00

Platform

Not applicable

File name

X86_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_f5fe5eaf960deaa3.manifest

File version

Not applicable

File size

5,484

Date (UTC)

11-May-2012

Time (UTC)

04:52

Platform

Not applicable

File name

X86_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_1a35cc18e1954586.manifest

File version

Not applicable

File size

35,048

Date (UTC)

11-May-2012

Time (UTC)

15:26

Platform

Not applicable

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_microsoft-windows-s..sactiontimeoutdelay_31bf3856ad364e35_6.1.7601.21992_none_d680f2f401a88237.manifest

File version

Not applicable

File size

1,360

Date (UTC)

11-May-2012

Time (UTC)

07:07

Platform

Not applicable

File name

Amd64_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_521cfa334e6b5bd9.manifest

File version

Not applicable

File size

5,486

Date (UTC)

11-May-2012

Time (UTC)

06:59

Platform

Not applicable

File name

Amd64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_7654679c99f2b6bc.manifest

File version

Not applicable

File size

35,054

Date (UTC)

11-May-2012

Time (UTC)

15:46

Platform

Not applicable

File name

Wow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_80a911eece5378b7.manifest

File version

Not applicable

File size

24,977

Date (UTC)

11-May-2012

Time (UTC)

04:50

Platform

Not applicable

File name

X86_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_f5fe5eaf960deaa3.manifest

File version

Not applicable

File size

5,484

Date (UTC)

11-May-2012

Time (UTC)

04:52

Platform

Not applicable

Additional files for all supported IA-64-based versions of Windows Server 2008 R2

File name

Ia64_microsoft-windows-s..sactiontimeoutdelay_31bf3856ad364e35_6.1.7601.21992_none_7a63fb66494919fd.manifest

File version

Not applicable

File size

1,359

Date (UTC)

11-May-2012

Time (UTC)

05:44

Platform

Not applicable

File name

Ia64_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_f60002a5960bf39f.manifest

File version

Not applicable

File size

5,485

Date (UTC)

11-May-2012

Time (UTC)

04:49

Platform

Not applicable

File name

Ia64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_1a37700ee1934e82.manifest

File version

Not applicable

File size

35,051

Date (UTC)

11-May-2012

Time (UTC)

15:15

Platform

Not applicable

File name

Wow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21992_none_80a911eece5378b7.manifest

File version

Not applicable

File size

24,977

Date (UTC)

11-May-2012

Time (UTC)

04:50

Platform

Not applicable

File name

X86_microsoft-windows-s..subsystem.resources_31bf3856ad364e35_6.1.7601.21992_en-us_f5fe5eaf960deaa3.manifest

File version

Not applicable

File size

5,484

Date (UTC)

11-May-2012

Time (UTC)

04:52

Platform

Not applicable

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×