Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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:\ ....

TMP = C:\DOCUME~1\ADMINI~1.DES\LOCALS~1\Temp 

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
add comment

2 Answers

up vote 1 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
add comment
  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
add comment

Your Answer

 
discard

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.