Перейти до основного
Підтримка
Вхід
Вхід за допомогою облікового запису Microsoft
Увійдіть або створіть обліковий запис.
Вітаємо,
Виберіть інший обліковий запис.
У вас є кілька облікових записів
Виберіть обліковий запис, за допомогою якого потрібно ввійти.
англійська
На жаль, ця стаття недоступна вашою мовою.

Symptoms

Consider the following scenario:

  • You install the Remote Desktop Services role on a computer that is running Windows Server 2008 R2 or you install the Terminal Service role on a computer that is running Windows Server 2008.

  • You use Performance Monitor to collect the following performance counters:

    • Terminal Services\Active Sessions

    • Terminal Services\Inactive Sessions

    • Terminal Services\Total Sessions

  • Remote Desktop Services is under a heavy load.

In this scenario, the number that the performance counters return is sometimes incorrect. For example, the Active Sessions counter returns an invalid number of sessions. You expect the counter to return 0.

Note When the actual number of active sessions is 0, the Active Sessions counter returns 4294967295. This value represents a value of -1.

Cause

The issue occurs because of a race condition in the Local Session Manager (Lsm.exe) process. When the race condition occurs, the performance counters are not updated when a Remote Desktop Services session is disconnected. This behavior causes that the number of active sessions to be one less than the actual value.

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=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 one of the following operating systems:

  • Windows Server 2008

  • Windowe Server 2008 Service Pack 2 (SP2)

  • Windows Server 2008 R2

For more information, 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

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 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 0 . 20xxx

    Windows Vista

    RTM

    LDR

    6.0.600 1 . 22xxx

    Windows Vista and Windows Server 2008

    SP1

    LDR

    6.0.600 2 . 22xxx

    Windows Vista and Windows Server 2008

    SP2

    LDR

  • Service Pack 1 is integrated into the release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxx version number.

  • 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" 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 x64-based versions of Windows Server 2008

File name

File version

File size

Date

Time

Platform

Lsm.exe

6.0.6001.22689

265,216

11-May-2010

15:03

x64

Lsm.exe

6.0.6002.22402

265,216

11-May-2010

15:27

x64

Lsm.exe

6.0.6001.22689

230,400

11-May-2010

14:38

x86

Lsm.exe

6.0.6002.22402

230,400

11-May-2010

15:09

x86



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

File name

File version

File size

Date

Time

Platform

Lsm.exe

6.0.6001.22689

534,016

11-May-2010

14:50

IA-64

Lsm.exe

6.0.6002.22402

534,016

11-May-2010

15:24

IA-64

Lsm.exe

6.0.6001.22689

230,400

11-May-2010

14:38

x86

Lsm.exe

6.0.6002.22402

230,400

11-May-2010

15:09

x86


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 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" 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 x64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Lsm.exe

6.1.7600.20708

334,848

06-May-2010

11:43

x64

Workaround

To work around this issue, use the WTSEnumerateSessions function to retrieve the number of sessions.

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

For more information about terminal server performance monitor, click the following article number to view the article in the Microsoft Knowledge Base:

186536 Description of terminal server performance monitor objects and counters


For more information about the WTSEnumerateSessions function, visit the following Microsoft Developer Network (MSDN) Web site:

Description of the WTSEnumerateSessions function

Additional file information

Additional file information for Windows Server 2008

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

File name

Amd64_48289569954b898c4e0cdd98616b21e7_31bf3856ad364e35_6.0.6001.22689_none_0d4fb84a978b5991.manifest

File version

Not applicable

File size

728

Date (UTC)

12-May-2010

Time (UTC)

03:00

Platform

Not applicable

File name

Amd64_9198b0166558c823b6702a4e76b2da9e_31bf3856ad364e35_6.0.6002.22402_none_55810e93a5ae70a4.manifest

File version

Not applicable

File size

1,096

Date (UTC)

12-May-2010

Time (UTC)

03:00

Platform

Not applicable

File name

Amd64_b10ef9cc257a559bff725e74c6ed5d71_31bf3856ad364e35_6.0.6001.22689_none_262b01f8d9687b01.manifest

File version

Not applicable

File size

1,096

Date (UTC)

12-May-2010

Time (UTC)

03:00

Platform

Not applicable

File name

Amd64_microsoft-windows-t..localsessionmanager_31bf3856ad364e35_6.0.6001.22689_none_019f91c7dc3e75e7.manifest

File version

Not applicable

File size

24,308

Date (UTC)

11-May-2010

Time (UTC)

18:02

Platform

Not applicable

File name

Amd64_microsoft-windows-t..localsessionmanager_31bf3856ad364e35_6.0.6002.22402_none_03d582efd92a3749.manifest

File version

Not applicable

File size

24,308

Date (UTC)

11-May-2010

Time (UTC)

18:52

Platform

Not applicable

File name

X86_microsoft-windows-t..localsessionmanager_31bf3856ad364e35_6.0.6001.22689_none_a580f64423e104b1.manifest

File version

Not applicable

File size

24,286

Date (UTC)

11-May-2010

Time (UTC)

17:32

Platform

Not applicable

File name

X86_microsoft-windows-t..localsessionmanager_31bf3856ad364e35_6.0.6002.22402_none_a7b6e76c20ccc613.manifest

File version

Not applicable

File size

24,286

Date (UTC)

11-May-2010

Time (UTC)

18:44

Platform

Not applicable

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

File name

Ia64_33ecff86518a7cd9efcb876fd9aae7fc_31bf3856ad364e35_6.0.6002.22402_none_8567d36614580652.manifest

File version

Not applicable

File size

1,094

Date (UTC)

12-May-2010

Time (UTC)

03:00

Platform

Not applicable

File name

Ia64_a90fe4130899028f1a3e5409e1af69e9_31bf3856ad364e35_6.0.6001.22689_none_ad34b40bae0d5bf2.manifest

File version

Not applicable

File size

1,094

Date (UTC)

12-May-2010

Time (UTC)

03:00

Platform

Not applicable

File name

Ia64_b7c7ca8e6140f18803a74265c815cc86_31bf3856ad364e35_6.0.6001.22689_none_d17eb523143fc4ba.manifest

File version

Not applicable

File size

726

Date (UTC)

12-May-2010

Time (UTC)

03:00

Platform

Not applicable

File name

Ia64_microsoft-windows-t..localsessionmanager_31bf3856ad364e35_6.0.6001.22689_none_a5829a3a23df0dad.manifest

File version

Not applicable

File size

24,297

Date (UTC)

11-May-2010

Time (UTC)

17:17

Platform

Not applicable

File name

Ia64_microsoft-windows-t..localsessionmanager_31bf3856ad364e35_6.0.6002.22402_none_a7b88b6220cacf0f.manifest

File version

Not applicable

File size

24,297

Date (UTC)

11-May-2010

Time (UTC)

18:19

Platform

Not applicable

File name

X86_microsoft-windows-t..localsessionmanager_31bf3856ad364e35_6.0.6001.22689_none_a580f64423e104b1.manifest

File version

Not applicable

File size

24,286

Date (UTC)

11-May-2010

Time (UTC)

17:32

Platform

Not applicable

File name

X86_microsoft-windows-t..localsessionmanager_31bf3856ad364e35_6.0.6002.22402_none_a7b6e76c20ccc613.manifest

File version

Not applicable

File size

24,286

Date (UTC)

11-May-2010

Time (UTC)

18:44

Platform

Not applicable

Additional file information for Windows Server 2008 R2

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

File name

Amd64_95f806bf794c895a7f6e2f8d6203ba8a_31bf3856ad364e35_6.1.7600.20708_none_1c167d5c4c296281.manifest

File version

Not applicable

File size

728

Date (UTC)

07-May-2010

Time (UTC)

20:04

Platform

Not applicable

File name

Amd64_microsoft-windows-t..localsessionmanager_31bf3856ad364e35_6.1.7600.20708_none_021ce1233d15b9f0.manifest

File version

Not applicable

File size

27,057

Date (UTC)

06-May-2010

Time (UTC)

15:18

Platform

Not applicable

Потрібна додаткова довідка?

Потрібні додаткові параметри?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Чи ця інформація була корисною?

Що вплинуло на ваші враження?
Натиснувши кнопку "Надіслати", ви надасте свій відгук для покращення продуктів і служб Microsoft. Ваш ІТ-адміністратор зможе збирати ці дані. Декларація про конфіденційність.

Дякуємо за відгук!

×