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 or services that start multiple Remote Desktop Services sessions crash in Windows 7 or in Windows Server 2008 R2


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You run an application or a service on a computer that is running Windows 7 or Windows Server 2008 R2.
  • The application or the service uses the Remote Desktop Connection ActiveX control (Mstscax.dll) to create multiple Remote Desktop Services sessions.
  • The application or the service creates multiple WinSock sessions in different Remote Desktop Services sessions.
In this scenario, the application or the service may crash randomly.

↑ Back to the top


Cause

This issue occurs because of a race condition in Mstscax.dll. The race condition may occur when two threads try to register the same WinSock window class at the same time.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that 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 one of the following operating systems:
  • 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 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 use the hotfix in this package, 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.
  • 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.
    VersionProductSR_LevelService branch
    6.1.760
    0.
    16xxx
    Windows 7 and Windows Server 2008 R2RTMGDR
    6.1.760
    0.
    21xxx
    Windows 7 and Windows Server 2008 R2RTMLDR
    6.1.760
    1.
    17xxx
    Windows 7 and Windows Server 2008 R2SP1GDR
    6.1.760
    1.
    21xxx
    Windows 7 and Windows Server 2008 R2SP1LDR
  • 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 nameFile versionFile sizeDateTimePlatformService branch
Wksprt.exe6.1.7600.21097223,74424-Nov-201105:02x86X86_MICROSOFT-WINDOWS-T..ES-WORKSPACERUNTIME_31BF3856AD364E35_6.1.7600.21097_NONE_26BC3FF357B9E24F
Wksprt.exe6.1.7601.21866223,74424-Nov-201104:55x86X86_MICROSOFT-WINDOWS-T..ES-WORKSPACERUNTIME_31BF3856AD364E35_6.1.7601.21866_NONE_28C2363754C8AAF6
Mstsc.exe6.1.7600.210971,037,82424-Nov-201106:20x86Not applicable
Mstsc.mofNot applicable1,19922-Jul-200923:03Not applicableNot applicable
Mstsc.exe6.1.7601.218661,051,64824-Nov-201106:14x86Not applicable
Mstsc.mofNot applicable1,19912-Nov-201023:41Not applicableNot applicable
Aaclient.dll6.1.7600.21097131,58424-Nov-201106:20x86Not applicable
Aaclient.mofNot applicable1,26122-Jul-200922:58Not applicableNot applicable
Mstscax.dll6.1.7600.210972,706,43224-Nov-201106:23x86Not applicable
Mstscax.mofNot applicable2,05422-Jul-200923:02Not applicableNot applicable
Tsgqec.dll6.1.7600.2109736,86424-Nov-201106:25x86Not applicable
Aaclient.dll6.1.7601.17514131,58420-Nov-201012:18x86Not applicable
Aaclient.mofNot applicable1,26110-Jun-200921:14Not applicableNot applicable
Mstscax.dll6.1.7601.218663,217,92024-Nov-201106:18x86Not applicable
Mstscax.mofNot applicable2,05410-Jun-200921:17Not applicableNot applicable
Tsgqec.dll6.1.7601.1751436,86420-Nov-201012:21x86Not applicable
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatformService branch
Wksprt.exe6.1.7600.21097248,83224-Nov-201105:33x64AMD64_MICROSOFT-WINDOWS-T..ES-WORKSPACERUNTIME_31BF3856AD364E35_6.1.7600.21097_NONE_82DADB7710175385
Wksprt.exe6.1.7601.21866249,34424-Nov-201105:32x64AMD64_MICROSOFT-WINDOWS-T..ES-WORKSPACERUNTIME_31BF3856AD364E35_6.1.7601.21866_NONE_84E0D1BB0D261C2C
Mstsc.exe6.1.7600.210971,101,31224-Nov-201107:10x64Not applicable
Mstsc.mofNot applicable1,19922-Jul-200923:22Not applicableNot applicable
Mstsc.exe6.1.7601.218661,119,74424-Nov-201107:05x64Not applicable
Mstsc.mofNot applicable1,19912-Nov-201023:42Not applicableNot applicable
Aaclient.dll6.1.7600.21097158,72024-Nov-201107:11x64Not applicable
Aaclient.mofNot applicable1,26122-Jul-200923:18Not applicableNot applicable
Mstscax.dll6.1.7600.210973,156,99224-Nov-201107:15x64Not applicable
Mstscax.mofNot applicable2,05422-Jul-200923:20Not applicableNot applicable
Tsgqec.dll6.1.7600.2109744,03224-Nov-201107:19x64Not applicable
Aaclient.dll6.1.7601.17514158,72020-Nov-201013:25x64Not applicable
Aaclient.mofNot applicable1,26110-Jun-200920:31Not applicableNot applicable
Mstscax.dll6.1.7601.218663,719,16824-Nov-201107:09x64Not applicable
Mstscax.mofNot applicable2,05410-Jun-200920:34Not applicableNot applicable
Tsgqec.dll6.1.7601.1751444,03220-Nov-201013:27x64Not applicable
Mstsc.exe6.1.7600.210971,037,82424-Nov-201106:20x86Not applicable
Mstsc.mofNot applicable1,19922-Jul-200923:03Not applicableNot applicable
Mstsc.exe6.1.7601.218661,051,64824-Nov-201106:14x86Not applicable
Mstsc.mofNot applicable1,19912-Nov-201023:41Not applicableNot applicable
Aaclient.dll6.1.7600.21097131,58424-Nov-201106:20x86Not applicable
Aaclient.mofNot applicable1,26122-Jul-200922:58Not applicableNot applicable
Mstscax.dll6.1.7600.210972,706,43224-Nov-201106:23x86Not applicable
Mstscax.mofNot applicable2,05422-Jul-200923:02Not applicableNot applicable
Tsgqec.dll6.1.7600.2109736,86424-Nov-201106:25x86Not applicable
Aaclient.dll6.1.7601.17514131,58420-Nov-201012:18x86Not applicable
Aaclient.mofNot applicable1,26110-Jun-200921:14Not applicableNot applicable
Mstscax.dll6.1.7601.218663,217,92024-Nov-201106:18x86Not applicable
Mstscax.mofNot applicable2,05410-Jun-200921:17Not applicableNot applicable
Tsgqec.dll6.1.7601.1751436,86420-Nov-201012:21x86Not applicable
For all supported IA-64–based versions of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatformService branch
Wksprt.exe6.1.7600.21097457,21624-Nov-201104:37IA-64IA64_MICROSOFT-WINDOWS-T..ES-WORKSPACERUNTIME_31BF3856AD364E35_6.1.7600.21097_NONE_26BDE3E957B7EB4B
Wksprt.exe6.1.7601.21866456,70424-Nov-201104:28IA-64IA64_MICROSOFT-WINDOWS-T..ES-WORKSPACERUNTIME_31BF3856AD364E35_6.1.7601.21866_NONE_28C3DA2D54C6B3F2
Mstsc.exe6.1.7600.210971,668,60824-Nov-201105:42IA-64Not applicable
Mstsc.mofNot applicable1,19922-Jul-200923:47Not applicableNot applicable
Mstsc.exe6.1.7601.218661,703,42424-Nov-201105:34IA-64Not applicable
Mstsc.mofNot applicable1,19912-Nov-201023:42Not applicableNot applicable
Aaclient.dll6.1.7600.21097339,96824-Nov-201105:43IA-64Not applicable
Aaclient.mofNot applicable1,26122-Jul-200923:44Not applicableNot applicable
Mstscax.dll6.1.7600.210976,094,33624-Nov-201105:47IA-64Not applicable
Mstscax.mofNot applicable2,05422-Jul-200923:46Not applicableNot applicable
Tsgqec.dll6.1.7600.2109797,79224-Nov-201105:50IA-64Not applicable
Aaclient.dll6.1.7601.21866339,96824-Nov-201105:34IA-64Not applicable
Aaclient.mofNot applicable1,26110-Jun-200920:36Not applicableNot applicable
Mstscax.dll6.1.7601.218666,309,37624-Nov-201105:38IA-64Not applicable
Mstscax.mofNot applicable2,05410-Jun-200920:38Not applicableNot applicable
Tsgqec.dll6.1.7601.1751497,79220-Nov-201010:28IA-64Not applicable
Mstsc.exe6.1.7600.210971,037,82424-Nov-201106:20x86Not applicable
Mstsc.mofNot applicable1,19922-Jul-200923:03Not applicableNot applicable
Mstsc.exe6.1.7601.218661,051,64824-Nov-201106:14x86Not applicable
Mstsc.mofNot applicable1,19912-Nov-201023:41Not applicableNot applicable
Aaclient.dll6.1.7600.21097131,58424-Nov-201106:20x86Not applicable
Aaclient.mofNot applicable1,26122-Jul-200922:58Not applicableNot applicable
Mstscax.dll6.1.7600.210972,706,43224-Nov-201106:23x86Not applicable
Mstscax.mofNot applicable2,05422-Jul-200923:02Not applicableNot applicable
Tsgqec.dll6.1.7600.2109736,86424-Nov-201106:25x86Not applicable
Aaclient.dll6.1.7601.17514131,58420-Nov-201012:18x86Not applicable
Aaclient.mofNot applicable1,26110-Jun-200921:14Not applicableNot applicable
Mstscax.dll6.1.7601.218663,217,92024-Nov-201106:18x86Not applicable
Mstscax.mofNot applicable2,05410-Jun-200921:17Not applicableNot applicable
Tsgqec.dll6.1.7601.1751436,86420-Nov-201012:21x86Not applicable

↑ 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 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 nameUpdate.mum
File versionNot applicable
File size2,324
Date (UTC)24-Nov-2011
Time (UTC)16:39
PlatformNot applicable
File nameX86_95729a081c4ee4fb685e20eb6e11d6a9_31bf3856ad364e35_6.1.7601.21866_none_77711a200ac1cebe.manifest
File versionNot applicable
File size1,458
Date (UTC)24-Nov-2011
Time (UTC)16:39
PlatformNot applicable
File nameX86_a8d584d4e7a23313684e5e0e8455f260_31bf3856ad364e35_6.1.7600.21097_none_4fb0d622916588d1.manifest
File versionNot applicable
File size1,458
Date (UTC)24-Nov-2011
Time (UTC)16:39
PlatformNot applicable
File nameX86_microsoft-windows-t..es-workspaceruntime_31bf3856ad364e35_6.1.7600.21097_none_26bc3ff357b9e24f.manifest
File versionNot applicable
File size8,960
Date (UTC)24-Nov-2011
Time (UTC)07:16
PlatformNot applicable
File nameX86_microsoft-windows-t..es-workspaceruntime_31bf3856ad364e35_6.1.7601.21866_none_28c2363754c8aaf6.manifest
File versionNot applicable
File size8,960
Date (UTC)24-Nov-2011
Time (UTC)07:14
PlatformNot applicable
File nameX86_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.21097_none_4e3352cb9b8f38dd.manifest
File versionNot applicable
File size21,618
Date (UTC)24-Nov-2011
Time (UTC)07:26
PlatformNot applicable
File nameX86_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7601.21866_none_5039490f989e0184.manifest
File versionNot applicable
File size21,618
Date (UTC)24-Nov-2011
Time (UTC)07:18
PlatformNot applicable
File nameX86_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.21097_none_30450cf3401fdf5c.manifest
File versionNot applicable
File size131,498
Date (UTC)24-Nov-2011
Time (UTC)07:27
PlatformNot applicable
File nameX86_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7601.21866_none_324b03373d2ea803.manifest
File versionNot applicable
File size140,967
Date (UTC)24-Nov-2011
Time (UTC)17:12
PlatformNot applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameAmd64_4bbcb10d4b83f5e4aa88ef1e1875feca_31bf3856ad364e35_6.1.7601.21866_none_0b203665052f7f15.manifest
File versionNot applicable
File size2,205
Date (UTC)24-Nov-2011
Time (UTC)16:39
PlatformNot applicable
File nameAmd64_647ed0db8315f15ac6efeb075ea0a7b9_31bf3856ad364e35_6.1.7600.21097_none_87b2bdb85b8f48ec.manifest
File versionNot applicable
File size2,205
Date (UTC)24-Nov-2011
Time (UTC)16:39
PlatformNot applicable
File nameAmd64_microsoft-windows-t..es-workspaceruntime_31bf3856ad364e35_6.1.7600.21097_none_82dadb7710175385.manifest
File versionNot applicable
File size10,551
Date (UTC)24-Nov-2011
Time (UTC)08:10
PlatformNot applicable
File nameAmd64_microsoft-windows-t..es-workspaceruntime_31bf3856ad364e35_6.1.7601.21866_none_84e0d1bb0d261c2c.manifest
File versionNot applicable
File size10,551
Date (UTC)24-Nov-2011
Time (UTC)08:03
PlatformNot applicable
File nameAmd64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.21097_none_aa51ee4f53ecaa13.manifest
File versionNot applicable
File size21,624
Date (UTC)24-Nov-2011
Time (UTC)08:15
PlatformNot applicable
File nameAmd64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7601.21866_none_ac57e49350fb72ba.manifest
File versionNot applicable
File size21,624
Date (UTC)24-Nov-2011
Time (UTC)08:07
PlatformNot applicable
File nameAmd64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.21097_none_8c63a876f87d5092.manifest
File versionNot applicable
File size131,504
Date (UTC)24-Nov-2011
Time (UTC)08:16
PlatformNot applicable
File nameAmd64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7601.21866_none_8e699ebaf58c1939.manifest
File versionNot applicable
File size140,973
Date (UTC)24-Nov-2011
Time (UTC)17:56
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,340
Date (UTC)24-Nov-2011
Time (UTC)16:39
PlatformNot applicable
File nameWow64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.21097_none_b4a698a1884d6c0e.manifest
File versionNot applicable
File size13,023
Date (UTC)24-Nov-2011
Time (UTC)06:57
PlatformNot applicable
File nameWow64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7601.21866_none_b6ac8ee5855c34b5.manifest
File versionNot applicable
File size13,023
Date (UTC)24-Nov-2011
Time (UTC)06:53
PlatformNot applicable
File nameX86_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.21097_none_30450cf3401fdf5c.manifest
File versionNot applicable
File size131,498
Date (UTC)24-Nov-2011
Time (UTC)07:27
PlatformNot applicable
File nameX86_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7601.21866_none_324b03373d2ea803.manifest
File versionNot applicable
File size140,967
Date (UTC)24-Nov-2011
Time (UTC)17:56
PlatformNot applicable
Additional files for all supported IA-64–based versions of Windows Server 2008 R2
File nameIa64_5bf73fc8995809913658d382497bd8d3_31bf3856ad364e35_6.1.7601.21866_none_3d78d9d3a19d1ae3.manifest
File versionNot applicable
File size2,201
Date (UTC)24-Nov-2011
Time (UTC)16:38
PlatformNot applicable
File nameIa64_60a4ff337236f628810618f0876a3551_31bf3856ad364e35_6.1.7600.21097_none_4319c4833c97475f.manifest
File versionNot applicable
File size2,201
Date (UTC)24-Nov-2011
Time (UTC)16:38
PlatformNot applicable
File nameIa64_microsoft-windows-t..es-workspaceruntime_31bf3856ad364e35_6.1.7600.21097_none_26bde3e957b7eb4b.manifest
File versionNot applicable
File size10,549
Date (UTC)24-Nov-2011
Time (UTC)07:43
PlatformNot applicable
File nameIa64_microsoft-windows-t..es-workspaceruntime_31bf3856ad364e35_6.1.7601.21866_none_28c3da2d54c6b3f2.manifest
File versionNot applicable
File size10,549
Date (UTC)24-Nov-2011
Time (UTC)07:35
PlatformNot applicable
File nameIa64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.21097_none_4e34f6c19b8d41d9.manifest
File versionNot applicable
File size21,621
Date (UTC)24-Nov-2011
Time (UTC)07:44
PlatformNot applicable
File nameIa64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7601.21866_none_503aed05989c0a80.manifest
File versionNot applicable
File size21,621
Date (UTC)24-Nov-2011
Time (UTC)07:37
PlatformNot applicable
File nameIa64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.21097_none_3046b0e9401de858.manifest
File versionNot applicable
File size131,501
Date (UTC)24-Nov-2011
Time (UTC)07:45
PlatformNot applicable
File nameIa64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7601.21866_none_324ca72d3d2cb0ff.manifest
File versionNot applicable
File size140,970
Date (UTC)24-Nov-2011
Time (UTC)16:39
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size1,947
Date (UTC)24-Nov-2011
Time (UTC)16:38
PlatformNot applicable
File nameWow64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.21097_none_b4a698a1884d6c0e.manifest
File versionNot applicable
File size13,023
Date (UTC)24-Nov-2011
Time (UTC)06:57
PlatformNot applicable
File nameWow64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7601.21866_none_b6ac8ee5855c34b5.manifest
File versionNot applicable
File size13,023
Date (UTC)24-Nov-2011
Time (UTC)06:53
PlatformNot applicable
File nameX86_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.21097_none_30450cf3401fdf5c.manifest
File versionNot applicable
File size131,498
Date (UTC)24-Nov-2011
Time (UTC)07:27
PlatformNot applicable
File nameX86_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7601.21866_none_324b03373d2ea803.manifest
File versionNot applicable
File size140,967
Date (UTC)24-Nov-2011
Time (UTC)16:39
PlatformNot applicable

↑ Back to the top


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

↑ Back to the top

Article Info
Article ID : 2617687
Revision : 1
Created on : 1/7/2017
Published on : 12/28/2012
Exists online : False
Views : 185