Environment

HKCU\

Description

The Environment key stores the values of environment variables that can be set by users. Each entry in this key associates an environment variable with the path that is substituted for the variable. The default values for these entries are defined in the user's profile.

Change method

To change the values of entries in this key, use System in Control Panel. Click the Advanced tab, and then click Environment Variables. These entries appear in the User variables for user-name section.

Activation method

To make changes to the entries in this key effective, you must log off and then log on again. Changes to these variables take effect when a non-Windows-based application is run or when the command prompt is used.

Tip Image Tip

To change the values of entries in this key, use System in Control Panel. Click the Advanced tab, and then click Environment Variables. These entries appear in the User variables for user-name section.

Caution Image Caution

The data type of entries in this key 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.