Citrix ICA clients are not disconnected from a Windows Server 2008 terminal server as expected when the grace period has expired and a terminal license server is not configured

Applies to: Windows Server 2008 StandardWindows Server 2008 EnterpriseWindows Server 2008 Datacenter


When users connect to a Windows Server 2008-based terminal server by using Citrix clients, users receive the following error message:
Closing the Citrix ICA client window will disconnect you from the Citrix XenApp server. Are you sure you want to close and disconnect?"

This problem occurs if the following conditions are true:
  • The terminal server has Citrix XenApp 5.0 installed.
  • The grace period for this terminal server has expired.
  • A terminal license server is not configured for this terminal server.
If the users click OK, their connections are not disconnected. Users can still connect to the Windows Server 2008 terminal servers by using Citrix clients. However, you expect that connections are disconnected after you click OK.

Note This problem does not occur with RDP clients.


This problem occurs because a licensing error in Windows 2008 Terminal Services is exposed when you use Citrix XenApp 5.0.


To fix this problem, install hotfix 958612 on Windows Server 2008 terminal servers.

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: 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.

Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the “Hotfix Request” page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.


To apply this hotfix on Windows Server 2008-based computer, you must have the Terminal Services role enabled.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix replaces hotfix 955015.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
955015 Stop error message on a Windows Server 2008-based computer when the NFS feature is enabled: "Stop: 0x00000019"

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Server 2008 file information notes
The .manifest files and the .mum files that are installed in each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. These files and their associated .cat (security catalog) files are critical to maintaining the state of the updated component. The .cat files are signed with a Microsoft digital signature. The attributes of these security files are not listed.

For all supported x86-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
For all supported x64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
After you install this hotfix or Windows Server 2008 Service Pack 2, which includes this change, you may receive the following disconnection error after you click OK:
The remote session was disconnected because there are no Terminal Server License Servers available to provide a license. Please contact the server administrator.
Note This error is expected. This error occurs by design when licensing is not configured correctly.


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

More Information

Additional file information for Windows Server 2008

Additional files for all supported x86-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Package_for_kb958612_client_1~31bf3856ad364e35~x86~~ Applicable1,36714-Oct-200815:30Not Applicable
Package_for_kb958612_client~31bf3856ad364e35~x86~~ Applicable1,43014-Oct-200815:30Not Applicable
Package_for_kb958612_sc_0~31bf3856ad364e35~x86~~ Applicable1,42114-Oct-200815:30Not Applicable
Package_for_kb958612_sc~31bf3856ad364e35~x86~~ Applicable1,42314-Oct-200815:30Not Applicable
Package_for_kb958612_server_0~31bf3856ad364e35~x86~~ Applicable1,91314-Oct-200815:30Not Applicable
Package_for_kb958612_server~31bf3856ad364e35~x86~~ Applicable1,43114-Oct-200815:30Not Applicable
X86_microsoft-windows-t..appserver-licensing_31bf3856ad364e35_6.0.6001.22286_none_a6ef3c8154b67d03.manifestNot Applicable13,07814-Oct-200804:13Not Applicable
X86_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.0.6001.22286_none_8ed862d56d9d2be5.manifestNot Applicable40,10114-Oct-200804:15Not Applicable
Additional files for all supported x64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Amd64_microsoft-windows-t..appserver-licensing_31bf3856ad364e35_6.0.6001.22286_none_030dd8050d13ee39.manifestNot Applicable13,11414-Oct-200804:28Not Applicable
Amd64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.0.6001.22286_none_eaf6fe5925fa9d1b.manifestNot Applicable40,15714-Oct-200804:30Not Applicable
Package_for_kb958612_client_1~31bf3856ad364e35~amd64~~ Applicable1,37514-Oct-200815:30Not Applicable
Package_for_kb958612_client~31bf3856ad364e35~amd64~~ Applicable1,43814-Oct-200815:30Not Applicable
Package_for_kb958612_sc_0~31bf3856ad364e35~amd64~~ Applicable1,42914-Oct-200815:30Not Applicable
Package_for_kb958612_sc~31bf3856ad364e35~amd64~~ Applicable1,43114-Oct-200815:30Not Applicable
Package_for_kb958612_server_0~31bf3856ad364e35~amd64~~ Applicable1,92514-Oct-200815:30Not Applicable
Package_for_kb958612_server~31bf3856ad364e35~amd64~~ Applicable1,43914-Oct-200815:30Not Applicable
Wow64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.0.6001.22286_none_f54ba8ab5a5b5f16.manifestNot Applicable18,99114-Oct-200804:07Not Applicable
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.