Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In order to update an application on a Windows 2003 Server box, the application calls for 2.0 GB of free space in the System's Temp directory. The OS is on C:\ , and there is only 1 GB of free space there.... The server has a RAID configuration for its data on the system's E:\ . There is over 100GB of free space on E:\ . When I did a

set tmp 

I found that the system's TEMP directory is not surprisingly located on C:\ ....


I assume it is possible to change the System Temp directory to the be located on E:\ ? How is this done, where's a good place to stick it, and is it safe to do this ?

share|improve this question
up vote 2 down vote accepted

You're looking at your user variables, not the system variables. Go to system properties, advanced tab, environment variables button, and set the TEMP and TMP variables in the system variables section.

share|improve this answer
Thanks, I was just following the instructions verbatim from the crappy documentation... So changing the location of the system temp file from C:\WINDOWS\TEMP to somewhere on E:\ shouldn't be an issue? – CaseyIT Mar 31 '10 at 19:08
Not that I'm aware of. – joeqwerty Mar 31 '10 at 19:16
Yeah, I know that was a pretty vague question ...I'm probably going to have to suck it up and try it at my own peril. – CaseyIT Mar 31 '10 at 20:04
  1. Right click My Compurer, select Properties. Open the Advanced Tab. Click the Environmental Variables button.
  2. If you want the temp location for everyone, not just your account, make sure there is no entry for TMP or TEMP in the top User Variables section. Then change (or add) TMP and TEMP to the bottom System Variables section. Be sure to use the whole path (like you're example.
  3. If you want the temp location for just you're account, set the TEMP and TMP variables in the top User Variables section.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.