I've got these currently implemented, which change the temp and tmp directories to C:\Temp\ ; Changes TMP/TEMP dirs to %SystemDrive%\Temp [HKEY_CURRENT_USER\Environment] "TEMP"="c:\\Temp" "TMP"="c:\\Temp" [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment] "TEMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,\ 00,65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00 "TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,\ 65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00