How to change user TEMP and TMP environment variables

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

This should be easy, but I couldn't find the way how to do it.

I would like to change default users TEMP and TMP environment
variables from
"%USERPROFILE%\Local Settings\Temp" to something like "c:\TEMP" for
all users.

When I create new user in SAM this settings should be automaticaly
applied. I tried to change registry value:
HKEY_USERS\.Default\Environment
but variables stay the same - default even for new created users. Is
there some other registry key.

Thanks for help, Michael
 
Hi Michael

Right click My Computer, select Properties and then the Advanced tab - 'Environment Variables'.
 
Hi Michael,

The changes can be made here per user: HKEY_CURRENT_USER\Environment

The difference between HKEY_USERS\.DEFAULT\Environment is that there, the
type is REG_EXPAND_SZ as compared to a string value (REG_SZ) under HKCU.

/top10faqs.htm
 
The changes can be made here per user: HKEY_CURRENT_USER\Environment
The difference between HKEY_USERS\.DEFAULT\Environment is that there, the
type is REG_EXPAND_SZ as compared to a string value (REG_SZ) under HKCU.

HKEY_CURRENT_USER exist when new user is created. I would like to
change default TEMP folder mapping for all new created users on XP
workstation (users all created by zenworks automaticaly). Manualy
modifying this environment variables is not an options.

Michael
 
Back
Top