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.
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.
Disable DEP for the application in question. To do this, follow these steps:
- In Control Panel, click System, and then click Advanced system settings. The System Properties dialog appears.
- In the Performance section, click Settings. The Performance Options dialog opens.
- On the Data Execution Prevention tab, select Turn on DEP for all programs and services except those I select, and then click Add.
- Select the executable file of the problematic application.
- Click Apply, and then restart the system.
Disable IAT. To do this, follow these steps:
- Start Registry Editor. To do this, click Start, click Run, type regedit, and then click OK.
- Locate and then right-click the following registry subkey:
- Click New, and then click DWORD (32bit) Value.
- Type IAT to name the new DWORD value, and then press Enter.
- Right-click IAT, click Modify, and then type 1 in the Value data box.
- Restart the system.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
Access Violation of BEX or APPCRASH occurs on Windows Server 2008 R2 with Terminal Service
For more information about multithreaded Terminal Server applications crashing in Widows Server 2008 R2, visit the following website:
For more information about the /TSAWARE (Create Terminal Server Aware Application) option, visit the following Microsoft Developer Network (MSDN) website: