You cannot open a remote application or a remote desktop by using Forefront UAG

Applies to: Windows 7 EnterpriseWindows 7 Home BasicWindows 7 Home Premium


Microsoft Forefront Unified Access Gateway (UAG) allows a client endpoint to access the RemoteApp applications and remote desktops that are published by using a Forefront UAG Web portal.

Consider the following scenario:
  • You have a computer that is running Windows 7 that includes the Remote Desktop Connection (RDC) 7.0 client.
  • You try to open a remote application or a remote desktop by using Forefront UAG.
In this scenario, you receive the following error message:
To use this program or computer, first log on to the following Web site: <URL link>


This issue occurs because the computer that is running the Remote Desktop Connection (RDC) client issues a session cookie that exceeds 840 Unicode characters.

The Remote Desktop Connection (RDC) 7.0 client supports authentication against a Forefront UAG server that uses cookies. In the authentication process, the cookies are stored in the HTTP header. However, the size of the HTTP header exceeds its maximum size limit of 4,096 bytes when the session cookie is larger than 840 Unicode characters. This behavior causes authentication to fail.


To resolve this issue, Forefront UAG administrators should install this hotfix on the following computers:
  • All Forefront UAG servers that publish Remote Desktop Services (RDS)
  • All managed client computers that are running Windows 7, that have the RDC 7.0 client installed, and that require access to published RDS resources

    Note Users who want to access RDS resources and who have a computer that meets these requirements should install this hotfix.

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.


To apply this hotfix, your computer must have the Remote Desktop Connection (RDC) 7.0 client installed.

Restart requirement

You do not 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.
Remote Desktop Connection (RDC) 7.0 file information notes

For the RDC 7.0 client on all supported x86-based versions of a Windows operating system
File nameFile versionFile sizeDateTimePlatform
Mstsc.mofNot Applicable1,19910-Jun-200921:19Not Applicable
Aaclient.mofNot Applicable1,26110-Jun-200921:14Not Applicable
Mstscax.mofNot Applicable2,05410-Jun-200921:17Not Applicable

For the RDC 7.0 client on all supported x64-based versions of a Windows operating system
File nameFile versionFile sizeDateTimePlatformService branch
Mstsc.exe6.1.7600.206051,098,24029-Dec-200907:51x64Not Applicable
Mstsc.mofNot Applicable1,19910-Jun-200920:36Not ApplicableNot Applicable
Aaclient.dll6.1.7600.20605158,72029-Dec-200907:52x64Not Applicable
Aaclient.mofNot Applicable1,26110-Jun-200920:31Not ApplicableNot Applicable
Mstscax.dll6.1.7600.206053,151,87229-Dec-200907:55x64Not Applicable
Mstscax.mofNot Applicable2,05410-Jun-200920:34Not ApplicableNot Applicable
Tsgqec.dll6.1.7600.1638544,03214-Jul-200901:41x64Not Applicable
Aaedge.mofNot Applicable1,26810-Jun-200920:31Not ApplicableAMD64_MICROSOFT-WINDOWS-TSP
Aatspp.mofNot Applicable1,27110-Jun-200920:31Not ApplicableAMD64_MICROSOFT-WINDOWS-TSP
Rap.xmlNot Applicable89510-Jun-200920:31Not ApplicableAMD64_MICROSOFT-WINDOWS-TSP
Tsgateway.xmlNot Applicable42910-Jun-200920:31Not ApplicableAMD64_MICROSOFT-WINDOWS-TSP
Tsproxy-edgeadapter-ppdlic.xrm-msNot Applicable3,01829-Dec-200908:06Not ApplicableAMD64_MICROSOFT-WINDOWS-TSP
Mstsc.mofNot Applicable1,19910-Jun-200921:19Not ApplicableWOW

For the RDC 7.0 client on all supported IA-64-based versions of a Windows operating system
File nameFile versionFile sizeDateTimePlatformService branch
Mstsc.exe6.1.7600.206051,660,41629-Dec-200906:23IA-64Not Applicable
Mstsc.mofNot Applicable1,19910-Jun-200920:39Not ApplicableNot Applicable
Aaclient.dll6.1.7600.20605339,96829-Dec-200906:24IA-64Not Applicable
Aaclient.mofNot Applicable1,26110-Jun-200920:36Not ApplicableNot Applicable
Mstscax.dll6.1.7600.206056,084,09629-Dec-200906:28IA-64Not Applicable
Mstscax.mofNot Applicable2,05410-Jun-200920:38Not ApplicableNot Applicable
Tsgqec.dll6.1.7600.1638597,79214-Jul-200901:49IA-64Not Applicable
Mstsc.mofNot Applicable1,19910-Jun-200921:19Not ApplicableWOW


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

More Information

General information about Microsoft Forefront Unified Access Gateway (UAG)

Overview of Forefront UAG features

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 files for the RDC 7.0 client on all supported x86-based versions of a Windows operating system

File nameFile versionFile sizeDateTimePlatform
Update.mumNot Applicable1,45930-Dec-200923:29Not Applicable
X86_508fb659307f23a4efcf5790503ceeb0_31bf3856ad364e35_6.1.7600.20605_none_f5de60e4e7acbbbb.manifestNot Applicable72730-Dec-200923:29Not Applicable
X86_d053a9497ff141939eeea361ed7a9741_31bf3856ad364e35_6.1.7600.20605_none_cd0748b72cb37adf.manifestNot Applicable72230-Dec-200923:29Not Applicable
X86_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_4e92c3af9b47dfff.manifestNot Applicable20,88029-Dec-200909:32Not Applicable
X86_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.20605_none_30a47dd73fd8867e.manifestNot Applicable140,56330-Dec-200923:32Not Applicable

Additional files for the RDC 7.0 client on all supported x64-based versions of a Windows operating system

File nameFile versionFile sizeDateTimePlatform
Amd64_0f52f5f39769c989c0082bbb8a783814_31bf3856ad364e35_6.1.7600.20605_none_8ce125eb6735aa62.manifestNot Applicable1,10430-Dec-200923:29Not Applicable
Amd64_3fa6d34ccad798c818a82530884acc9c_31bf3856ad364e35_6.1.7600.20605_none_b688719b1bb34ffa.manifestNot Applicable1,09230-Dec-200923:29Not Applicable
Amd64_63158c93dce61e0783a1e79cc47e25f9_31bf3856ad364e35_6.1.7600.20605_none_a9c23c3c9cee7cc1.manifestNot Applicable71130-Dec-200923:29Not Applicable
Amd64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_aab15f3353a55135.manifestNot Applicable20,88629-Dec-200919:06Not Applicable
Amd64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.20605_none_8cc3195af835f7b4.manifestNot Applicable140,56930-Dec-200923:36Not Applicable
Amd64_microsoft-windows-tsproxy-edgeadapter_31bf3856ad364e35_6.1.7600.20605_none_9adf8507ff4310c9.manifestNot Applicable99,56030-Dec-200923:36Not Applicable
Update.mumNot Applicable1,68130-Dec-200923:29Not Applicable
Wow64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_b506098588061330.manifestNot Applicable13,02329-Dec-200909:24Not Applicable

Additional files for the RDC 7.0 client on all supported IA-64-based versions of a Windows operating system

File nameFile versionFile sizeDateTimePlatform
Ia64_0fe3bdb51200590751dd052c49da8c59_31bf3856ad364e35_6.1.7600.20605_none_18222f9873836452.manifestNot Applicable1,10230-Dec-200923:29Not Applicable
Ia64_e6efa7fc58301b695aad8c7b67e6b6c0_31bf3856ad364e35_6.1.7600.20605_none_018a3761305c421b.manifestNot Applicable1,09030-Dec-200923:29Not Applicable
Ia64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_4e9467a59b45e8fb.manifestNot Applicable20,88329-Dec-200918:55Not Applicable
Ia64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.20605_none_30a621cd3fd68f7a.manifestNot Applicable140,56630-Dec-200923:30Not Applicable
Update.mumNot Applicable1,46330-Dec-200923:29Not Applicable
Wow64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_b506098588061330.manifestNot Applicable13,02329-Dec-200909:24Not Applicable