- Flattemp.exe Tool
- Terminal Services Configuration Tool
To modify temporary folder configuration, use either of the following methods:
NOTE: To use per user temporary folders, you need to verify that both tools described in this article are configured to have this setting disabled. If either of these tools is configured to have this setting enabled, per user temporary folders do not work.
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 /enable" (without the quotation marks) 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:
- Start the Terminal Services Configuration MMC snap-in.
- Click the Server Settings folder, and then double-click Use temporary folders per session.
- In the Use temporary folder per session dialog box, click the appropriate configuration option.
Temporary folder settings are located in the following registry key:
Data value: 0x1 (enabled, the default setting)
Flattemp.exe tool configuration settings are:
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.
ID d'article : 243555 - Dernière mise à jour : 1 mars 2007 - Révision : 1