The information in this article applies to:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SUMMARYThis article discusses the registry settings that can be used to modify application behavior on a Terminal Server computer. MORE INFORMATION
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
Controlling Application Execution in Execute ModeSeveral compatibility bits can be set for an application, registry path, or .ini file to change how a Terminal Server computer handles the merging of application initialization data when a session is in execute mode. These compatibility bits are set in the registry under the following subkey:
NOTE: The above registry key is all one path; it has been wrapped for readability.There are three separate keys for applications, .ini files, and registry entries under this registry path. The default settings work for most applications, but can be further tuned using the compatibility bits described below. WARNING: These compatibility bits should only be changed if an application is not working properly. The first set of compatibility bits indicates the version of the application that the settings are for. Not all combinations are useful; for example, an MS-DOS application will never make any registry calls. Because the path to the file is not specified, and multiple applications may use the same file name (for example, Setup.exe and Install.exe are now regularly used for installation programs), specifying the application type will help ensure the compatibility settings do not affect other applications with the same file name. Add together the values of the bits you want to set to determine the String value. For example, to return the user name instead of the computer name for both 16-bit and 32-bit versions of Myapp.exe, create a subkey in the registry by performing the following steps:
ApplicationsThe compatibility bits below affect the application when it is running and are located in the following registry subkey:
NOTE: The above registry key is one path; it has been wrapped for readability.NOTE: Appname is the name of the application's executable file (for example, if the executable file name for an application is Prog1.exe, Appname would be PROG1). Compatibility Bits:
Use the "Disable registry mapping for this application" <bit? Or flag?> to retain only one global copy of the registry variables used by the application. The "Do not substitute user Windows directory" bit, when set, retains the SystemRoot directory for GetWindowsDirectory API calls. The default action if this bit is not set is to replace all paths to the Windows directory with the path to the user's Windows directory. .INI FilesThe compatibility bits below control .ini file propagation and are located in the following registry subkey:
NOTE: The above registry key is one path; it has been wrapped for readability.NOTE: Inifile is the name of the .ini file (for example, if the .ini file name for an application is Prog1.ini, Inifile would be PROG1). Compatibility Bits:
The "Do not substitute user Windows directory" bit, when set, retains the SystemRoot directory for file paths in the .ini file when the system master version of the .ini file is copied to the user's Windows directory. The default action, if this bit is not set, is to replace all paths to the Windows directory with the path to the user's Windows directory. Registry PathsThe compatibility bits below control registry propagation and are located in the following registry subkey:
NOTE: The above registry key is one path; it has been wrapped for readability.NOTE: Pathname is the registry path under the key HKEY_CURRENT_USER\Software (for example, if the registry variable path for an application is HKEY_CURRENT_USER \Software\BrandX\Prog1, Pathname would be Brandx\Prog1). Compatibility Bits:
For more information, please see the following Microsoft Knowledge Base article: Q186514 Terminal Server Does Not Support Sentinel Devices Additional query words:
Keywords : |
Last Reviewed: July 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |