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

Symptoms

Consider the following scenario:

  • You have a smart card that is installed on a computer that is running Windows Vista, Windows Server 2008, Windows 7 or Windows Server 2008 R2.
  • You run a program that requires you to use the smart card.
  • The program crashes.
  • You run another program that requires you to use the smart card.

In this scenario, all programs that try to use the smart card do not successfully connect to the smart card. When this situation occurs, the process that connects to the smart card hangs.

Cause

This problem occurs when a program has exclusive access to a smart card by calling the SCardBeginTransaction function. When a program that has called the SCardBeginTransaction function is stopped or exits without calling the SCardEndTransaction function, the smart card service may enter a state in which any other programs that try to obtain exclusive access to the smart card hang.

Workaround

To work around this problem, remove and then re-insert the smart card. Or, restart the Smart Card service.

To restart the Smart Card service, follow these steps:

  1. Click Start, type services.msc in the search box, and then press Enter.
  2. Right-click the Smart Card service, and then click Stop.
  3. Right-click the Smart Card service, and then click Start.

      

Resolution

Hotfix information

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 Web site:

http:⁠//support.microsoft.com/contactus/?ws=support 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 one of the following operating systems:

  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 Service Pack 2 (SP2)
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 Service Pack 1 (SP1)

For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:

935791 How to obtain the latest Windows Vista service pack

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

968849 How to obtain the latest service pack for Windows Server 2008

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) 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 Vista and Windows Server 2008 file information notes

Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" 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 SR_Level Service branch
    6.0.600
    2.
    22xxx
    Windows Vista and Windows Server 2008 SP2 LDR
  • 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 Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. 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 Server 2008 and of Windows Vista

File name File version File size Date Time Platform
Certprop.dll 6.0.6002.22524 40,448 12-Nov-2010 19:02 x86
Scarddlg.dll 6.0.6002.22524 66,560 12-Nov-2010 19:04 x86
Scardsvr.dll 6.0.6002.22524 96,256 12-Nov-2010 19:04 x86

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

File name File version File size Date Time Platform
Certprop.dll 6.0.6002.22524 49,664 12-Nov-2010 19:43 x64
Scarddlg.dll 6.0.6002.22524 82,944 12-Nov-2010 19:45 x64
Scardsvr.dll 6.0.6002.22524 148,992 12-Nov-2010 19:45 x64
Scarddlg.dll 6.0.6002.22524 66,560 12-Nov-2010 19:04 x86
Scardsvr.dll 6.0.6002.22524 96,256 12-Nov-2010 19:04 x86

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

File name File version File size Date Time Platform
Certprop.dll 6.0.6002.22524 120,832 12-Nov-2010 18:41 IA-64
Scarddlg.dll 6.0.6002.22524 152,576 12-Nov-2010 18:44 IA-64
Scardsvr.dll 6.0.6002.22524 290,816 12-Nov-2010 18:44 IA-64
Scarddlg.dll 6.0.6002.22524 66,560 12-Nov-2010 19:04 x86
Scardsvr.dll 6.0.6002.22524 96,256 12-Nov-2010 19:04 x86

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, milestone (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
    0.20xxx
    Windows 7 and Windows Server 2008 R2 RTM LDR
    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, extremely important 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 Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. 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
Scardsvr.dll 6.1.7600.20861 133,632 18-Dec-2010 05:30 x86
Scfilter.sys 6.1.7600.20861 26,624 18-Dec-2010 03:40 x86
Certprop.dll 6.1.7601.17514 67,584 20-Nov-2010 12:18 x86
Scardsvr.dll 6.1.7601.21624 133,632 18-Dec-2010 07:57 x86
Scfilter.sys 6.1.7601.21624 26,624 18-Dec-2010 06:11 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
Scardsvr.dll 6.1.7600.20861 192,000 18-Dec-2010 06:09 x64
Scfilter.sys 6.1.7600.20861 29,696 18-Dec-2010 04:01 x64
Certprop.dll 6.1.7601.17514 80,384 20-Nov-2010 13:25 x64
Scardsvr.dll 6.1.7601.21624 192,000 18-Dec-2010 08:51 x64
Scfilter.sys 6.1.7601.21624 29,696 18-Dec-2010 06:41 x64
Scarddlg.dll 6.1.7600.20861 66,048 18-Dec-2010 05:30 x86
Scarddlg.dll 6.1.7601.21624 66,048 18-Dec-2010 07:57 x86

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

File name File version File size Date Time Platform
Scardsvr.dll 6.1.7600.20861 389,120 18-Dec-2010 05:19 IA-64
Scfilter.sys 6.1.7600.20861 68,608 18-Dec-2010 03:30 IA-64
Certprop.dll 6.1.7601.17514 188,416 20-Nov-2010 10:24 IA-64
Scardsvr.dll 6.1.7601.21624 389,120 18-Dec-2010 09:35 IA-64
Scfilter.sys 6.1.7601.21624 68,608 18-Dec-2010 07:20 IA-64
Scarddlg.dll 6.1.7600.20861 66,048 18-Dec-2010 05:30 x86
Scarddlg.dll 6.1.7601.21624 66,048 18-Dec-2010 07:57 x86

Status

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 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 Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008

File name Update.mum
File version Not Applicable
File size 3,078
Date (UTC) 15-Nov-2010
Time (UTC) 08:37
Platform Not Applicable
File name X86_2d313b4bfb9392f0c1b8ba98cda707a8_31bf3856ad364e35_6.0.6002.22524_none_5d451e6cecb4349b.manifest
File version Not Applicable
File size 706
Date (UTC) 15-Nov-2010
Time (UTC) 08:37
Platform Not Applicable
File name X86_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.0.6002.22524_none_1a5bbcf18043669f.manifest
File version Not Applicable
File size 56,257
Date (UTC) 12-Nov-2010
Time (UTC) 19:26
Platform Not Applicable

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

File name Amd64_e9abdf4769af987771db0b02aa688f6a_31bf3856ad364e35_6.0.6002.22524_none_cbd36be803719e30.manifest
File version Not Applicable
File size 1,062
Date (UTC) 15-Nov-2010
Time (UTC) 08:37
Platform Not Applicable
File name Amd64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.0.6002.22524_none_767a587538a0d7d5.manifest
File version Not Applicable
File size 56,293
Date (UTC) 12-Nov-2010
Time (UTC) 20:05
Platform Not Applicable
File name Update.mum
File version Not Applicable
File size 3,102
Date (UTC) 15-Nov-2010
Time (UTC) 08:37
Platform Not Applicable
File name Wow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.0.6002.22524_none_80cf02c76d0199d0.manifest
File version Not Applicable
File size 49,950
Date (UTC) 12-Nov-2010
Time (UTC) 19:11
Platform Not Applicable

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

File name Ia64_f90b3d0f817cc96f58e82feb2e7d5d91_31bf3856ad364e35_6.0.6002.22524_none_141cbed2caada431.manifest
File version Not Applicable
File size 1,060
Date (UTC) 15-Nov-2010
Time (UTC) 08:37
Platform Not Applicable
File name Ia64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.0.6002.22524_none_1a5d60e780416f9b.manifest
File version Not Applicable
File size 56,275
Date (UTC) 12-Nov-2010
Time (UTC) 18:57
Platform Not Applicable
File name Update.mum
File version Not Applicable
File size 2,255
Date (UTC) 15-Nov-2010
Time (UTC) 08:37
Platform Not Applicable
File name Wow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.0.6002.22524_none_80cf02c76d0199d0.manifest
File version Not Applicable
File size 49,950
Date (UTC) 12-Nov-2010
Time (UTC) 19:11
Platform Not Applicable

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 Update.mum
File version Not Applicable
File size 2,342
Date (UTC) 20-Dec-2010
Time (UTC) 21:53
Platform Not Applicable
File name X86_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7600.20861_none_186ed8dae45774fb.manifest
File version Not Applicable
File size 33,919
Date (UTC) 20-Dec-2010
Time (UTC) 21:55
Platform Not Applicable
File name X86_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21624_none_1a83766ee15abd28.manifest
File version Not Applicable
File size 33,919
Date (UTC) 20-Dec-2010
Time (UTC) 21:55
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-smartcardsubsystem_31bf3856ad364e35_6.1.7600.20861_none_748d745e9cb4e631.manifest
File version Not Applicable
File size 33,925
Date (UTC) 20-Dec-2010
Time (UTC) 22:00
Platform Not Applicable
File name Amd64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21624_none_76a211f299b82e5e.manifest
File version Not Applicable
File size 33,925
Date (UTC) 20-Dec-2010
Time (UTC) 22:00
Platform Not Applicable
File name Update.mum
File version Not Applicable
File size 2,780
Date (UTC) 20-Dec-2010
Time (UTC) 21:53
Platform Not Applicable
File name Wow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7600.20861_none_7ee21eb0d115a82c.manifest
File version Not Applicable
File size 23,881
Date (UTC) 18-Dec-2010
Time (UTC) 05:50
Platform Not Applicable
File name Wow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21624_none_80f6bc44ce18f059.manifest
File version Not Applicable
File size 23,881
Date (UTC) 18-Dec-2010
Time (UTC) 08:24
Platform Not Applicable

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

File name Ia64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7600.20861_none_18707cd0e4557df7.manifest
File version Not Applicable
File size 33,922
Date (UTC) 20-Dec-2010
Time (UTC) 21:53
Platform Not Applicable
File name Ia64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21624_none_1a851a64e158c624.manifest
File version Not Applicable
File size 33,922
Date (UTC) 20-Dec-2010
Time (UTC) 21:53
Platform Not Applicable
File name Update.mum
File version Not Applicable
File size 2,168
Date (UTC) 20-Dec-2010
Time (UTC) 21:53
Platform Not Applicable
File name Wow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7600.20861_none_7ee21eb0d115a82c.manifest
File version Not Applicable
File size 23,881
Date (UTC) 18-Dec-2010
Time (UTC) 05:50
Platform Not Applicable
File name Wow64_microsoft-windows-smartcardsubsystem_31bf3856ad364e35_6.1.7601.21624_none_80f6bc44ce18f059.manifest
File version Not Applicable
File size 23,881
Date (UTC) 18-Dec-2010
Time (UTC) 08:24
Platform Not Applicable