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

Applies To
Windows 7 Enterprise Windows 7 Home Basic Windows 7 Home Premium Windows 7 Professional Windows 7 Starter Windows 7 Ultimate

Symptoms

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:

Note

To use this program or computer, first log on to the following Web site: <URL link>

Cause

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.

Resolution

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:

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, 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 name File version File size Date Time Platform
Mstsc.exe 6.1.7600.20605 1,034,240 29-Dec-2009 07:09 x86
Mstsc.mof Not Applicable 1,199 10-Jun-2009 21:19 Not Applicable
Aaclient.dll 6.1.7600.20605 131,584 29-Dec-2009 07:10 x86
Aaclient.mof Not Applicable 1,261 10-Jun-2009 21:14 Not Applicable
Mstscax.dll 6.1.7600.20605 2,702,848 29-Dec-2009 07:11 x86
Mstscax.mof Not Applicable 2,054 10-Jun-2009 21:17 Not Applicable
Tsgqec.dll 6.1.7600.16385 36,864 14-Jul-2009 01:16 x86

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

File name File version File size Date Time Platform Service branch
Mstsc.exe 6.1.7600.20605 1,098,240 29-Dec-2009 07:51 x64 Not Applicable
Mstsc.mof Not Applicable 1,199 10-Jun-2009 20:36 Not Applicable Not Applicable
Aaclient.dll 6.1.7600.20605 158,720 29-Dec-2009 07:52 x64 Not Applicable
Aaclient.mof Not Applicable 1,261 10-Jun-2009 20:31 Not Applicable Not Applicable
Mstscax.dll 6.1.7600.20605 3,151,872 29-Dec-2009 07:55 x64 Not Applicable
Mstscax.mof Not Applicable 2,054 10-Jun-2009 20:34 Not Applicable Not Applicable
Tsgqec.dll 6.1.7600.16385 44,032 14-Jul-2009 01:41 x64 Not Applicable
Aaedge.dll 6.1.7600.20605 304,128 29-Dec-2009 07:52 x64 AMD64_MICROSOFT-WINDOWS-TSP
Aaedge.mof Not Applicable 1,268 10-Jun-2009 20:31 Not Applicable AMD64_MICROSOFT-WINDOWS-TSP
Aatspp.dll 6.1.7600.16385 65,024 14-Jul-2009 01:39 x64 AMD64_MICROSOFT-WINDOWS-TSP
Aatspp.mof Not Applicable 1,271 10-Jun-2009 20:31 Not Applicable AMD64_MICROSOFT-WINDOWS-TSP
Rap.xml Not Applicable 895 10-Jun-2009 20:31 Not Applicable AMD64_MICROSOFT-WINDOWS-TSP
Tsgateway.xml Not Applicable 429 10-Jun-2009 20:31 Not Applicable AMD64_MICROSOFT-WINDOWS-TSP
Tsgclean.exe 6.1.7600.16385 428,032 14-Jul-2009 01:39 x64 AMD64_MICROSOFT-WINDOWS-TSP
Tsproxy-edgeadapter-ppdlic.xrm-ms Not Applicable 3,018 29-Dec-2009 08:06 Not Applicable AMD64_MICROSOFT-WINDOWS-TSP
Mstsc.exe 6.1.7600.20605 1,034,240 29-Dec-2009 07:09 x86 WOW
Mstsc.mof Not Applicable 1,199 10-Jun-2009 21:19 Not Applicable WOW

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

File name File version File size Date Time Platform Service branch
Mstsc.exe 6.1.7600.20605 1,660,416 29-Dec-2009 06:23 IA-64 Not Applicable
Mstsc.mof Not Applicable 1,199 10-Jun-2009 20:39 Not Applicable Not Applicable
Aaclient.dll 6.1.7600.20605 339,968 29-Dec-2009 06:24 IA-64 Not Applicable
Aaclient.mof Not Applicable 1,261 10-Jun-2009 20:36 Not Applicable Not Applicable
Mstscax.dll 6.1.7600.20605 6,084,096 29-Dec-2009 06:28 IA-64 Not Applicable
Mstscax.mof Not Applicable 2,054 10-Jun-2009 20:38 Not Applicable Not Applicable
Tsgqec.dll 6.1.7600.16385 97,792 14-Jul-2009 01:49 IA-64 Not Applicable
Mstsc.exe 6.1.7600.20605 1,034,240 29-Dec-2009 07:09 x86 WOW
Mstsc.mof Not Applicable 1,199 10-Jun-2009 21:19 Not Applicable WOW

Status

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 name File version File size Date Time Platform
Update.mum Not Applicable 1,459 30-Dec-2009 23:29 Not Applicable
X86_508fb659307f23a4efcf5790503ceeb0_31bf3856ad364e35_6.1.7600.20605_none_f5de60e4e7acbbbb.manifest Not Applicable 727 30-Dec-2009 23:29 Not Applicable
X86_d053a9497ff141939eeea361ed7a9741_31bf3856ad364e35_6.1.7600.20605_none_cd0748b72cb37adf.manifest Not Applicable 722 30-Dec-2009 23:29 Not Applicable
X86_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_4e92c3af9b47dfff.manifest Not Applicable 20,880 29-Dec-2009 09:32 Not Applicable
X86_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.20605_none_30a47dd73fd8867e.manifest Not Applicable 140,563 30-Dec-2009 23:32 Not Applicable

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

File name File version File size Date Time Platform
Amd64_0f52f5f39769c989c0082bbb8a783814_31bf3856ad364e35_6.1.7600.20605_none_8ce125eb6735aa62.manifest Not Applicable 1,104 30-Dec-2009 23:29 Not Applicable
Amd64_3fa6d34ccad798c818a82530884acc9c_31bf3856ad364e35_6.1.7600.20605_none_b688719b1bb34ffa.manifest Not Applicable 1,092 30-Dec-2009 23:29 Not Applicable
Amd64_63158c93dce61e0783a1e79cc47e25f9_31bf3856ad364e35_6.1.7600.20605_none_a9c23c3c9cee7cc1.manifest Not Applicable 711 30-Dec-2009 23:29 Not Applicable
Amd64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_aab15f3353a55135.manifest Not Applicable 20,886 29-Dec-2009 19:06 Not Applicable
Amd64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.20605_none_8cc3195af835f7b4.manifest Not Applicable 140,569 30-Dec-2009 23:36 Not Applicable
Amd64_microsoft-windows-tsproxy-edgeadapter_31bf3856ad364e35_6.1.7600.20605_none_9adf8507ff4310c9.manifest Not Applicable 99,560 30-Dec-2009 23:36 Not Applicable
Update.mum Not Applicable 1,681 30-Dec-2009 23:29 Not Applicable
Wow64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_b506098588061330.manifest Not Applicable 13,023 29-Dec-2009 09:24 Not Applicable

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

File name File version File size Date Time Platform
Ia64_0fe3bdb51200590751dd052c49da8c59_31bf3856ad364e35_6.1.7600.20605_none_18222f9873836452.manifest Not Applicable 1,102 30-Dec-2009 23:29 Not Applicable
Ia64_e6efa7fc58301b695aad8c7b67e6b6c0_31bf3856ad364e35_6.1.7600.20605_none_018a3761305c421b.manifest Not Applicable 1,090 30-Dec-2009 23:29 Not Applicable
Ia64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_4e9467a59b45e8fb.manifest Not Applicable 20,883 29-Dec-2009 18:55 Not Applicable
Ia64_microsoft-windows-t..s-clientactivexcore_31bf3856ad364e35_6.1.7600.20605_none_30a621cd3fd68f7a.manifest Not Applicable 140,566 30-Dec-2009 23:30 Not Applicable
Update.mum Not Applicable 1,463 30-Dec-2009 23:29 Not Applicable
Wow64_microsoft-windows-t..minalservicesclient_31bf3856ad364e35_6.1.7600.20605_none_b506098588061330.manifest Not Applicable 13,023 29-Dec-2009 09:24 Not Applicable