windir

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

Data type Range Default value
REG_EXPAND_SZ Pathname %SystemRoot%

Description

Stores the path to the executable file for Win16 on Win32 (WOW).

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.