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 the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SUMMARYA Windows 2000-based computer running Terminal Services creates, by default, a temporary folder under the %TEMP% folder for each client session. The name of this temporary folder is based on the hexadecimal representation of the session ID. Also, the creation of this temporary folder can be controlled by using either of the following methods:
MORE INFORMATIONWARNING: 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. Method 1Use the Flattemp.exe tool to enable or disable flat temporary folders, or to query configuration settings. The syntax for the Flattemp.exe tool is:flattemp /enable - Enable flat temporary folders. flattemp /disable - Disable flat temporary folders. flattemp /query - Query current setting. NOTE: The default setting is disable. For example, an administrator may disable per session temporary folders by typing flattemp /disable at a command prompt and then pressing ENTER. This results in all clients sharing the same %TEMP% folder. Method 2Use the Terminal Services configuration tool:
Temporary folder settings are located in the following registry key: HKEY_LOCAL_MACHINE\CurrentControlSet\Control\Terminal ServerTerminal Services configuration tool settings are: Value: PerSessionTempDir Type: REG_DWORD Data value: 0x1 (enabled, the default setting) Flattemp.exe tool configuration settings are: Value: FlatTempDir Type: REG_SZ Data value: 1 (enabled, the default setting) NOTE: This registry value only exists if flat temporary folders are enabled. If it is disabled, the FlatTempDir value is not present. Additional query words:
Keywords : kbenv kbnetwork kbtool |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |