How to change user TEMP and TMP environment variables

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
 
W

Will Denny

Hi Michael

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

Kelly

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
 
M

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.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top