This article was previously published under Q290751
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
When you use Microsoft Outlook to view message attachments in Citrix Metaframe as a published program, you may receive the following error message when you open the .htm or .html attachment:
The system cannot find the file specified.
Microsoft Internet Explorer opens to the default home page.
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
By default, both .htm and .html file types are configured with the old Dynamic Data Exchange (DDE) style. This style passes window messages to the Internet Explorer that points to a FILE:// URL, suppresses the startup logo, and forces a new window to be used.
You cannot change the file-type association on a Terminal Server computer that is running in program server mode or in application server mode by using the GUI in Internet Explorer.
You must use Registry Editor (Regedt32.exe) to change the way .htm and .html files are handled. To do this:
Click Start and then click Run.
In the Open box, type regedit, and then click OK.
Navigate to the ddeexec registry subkey under the following registry key:
Click the ddeexec registry subkey and then delete it.
Navigate to the command registry subkey under the following registry key:
Double click the Default value in the right hand pane.
Add a "%1" to the end of the string so that it looks like the following: