Article ID: 2498855 - View products that this article applies to.
NoticeImportant This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756When you run a Microsoft Office 2007 or Microsoft Office 2003 application on a Remote Desktop Session Host (RD Session Host) server that is running Windows Server 2008 R2, the application may close unexpectedly. For example, the application may close unexpectedly when you try to send a Word document to Outlook.
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
When you run a Microsoft Office 2007 or Microsoft Office 2003 application on a Remote Desktop Session Host (RD Session Host) server that is running Windows Server 2008 R2, the application may close unexpectedly. For example, the application may close unexpectedly when you try to send a Word document to Outlook.
This issue occurs because of the Tsappcmd.dll component. This component makes changes to the Import Address Table (IAT) for applications that are not Terminal Server aware in order to prevent viruses or malware from maliciously hooking the application. Because of this, the application may experience temporary memory corruption because of the order in which the modules are loaded. Office 2007 and Office 2003 do not contain the TSAWARE header flag. This flag notifies the server that the application is Terminal Server aware.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.To work around this issue, use one of the following methods.
Method 1Disable DEP for the application in question. To do this, follow these steps:
Method 2Disable IAT. To do this, follow these steps:
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2279689For more information about multithreaded Terminal Server applications crashing in Widows Server 2008 R2, visit the following website:
(http://support.microsoft.com/kb/2279689/ )Access Violation of BEX or APPCRASH occurs on Windows Server 2008 R2 with Terminal Service
For more information about the /TSAWARE (Create Terminal Server Aware Application) option, visit the following Microsoft Developer Network (MSDN) website:
Article ID: 2498855 - Last Review: February 8, 2011 - Revision: 2.0
Contact us for more help
Connect with Answer Desk for expert help.