HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

Data type Range Default value
REG_EXPAND_SZ Path %SystemRoot%\Temp


Stores the path to the TEMP temporary directory for the system.

Change method

To change the value of this entry, use System in Control Panel. Click the Advanced tab and then click Environment Variables. This entry appears in the System variables section.

Caution Image Caution

The data type of this entry must be REG_EXPAND_SZ. If a user or application changes the data type, the system will not replace the variable with its intended value.