Changing Temp folder

G

Guest

I've looked around, and I can't seem to find out how to change it. I'm pretty
sure you can, but I'm not 100% sure on this. The reason is that I've
installed XP many times, on a sperate partition, and each time it gets full,
started with a 3 gig, moved to 5, and now i have it installed on a 7gig
partition with only 500mb free. The page file is on another drive, so if i
could change the windows tempory folder i could get more space, and actually
install large programs and such.All data, and installed programs are on their
own drives, so they're aren't taking up space on the system drive. Any help
would be nice, thanks.
 
G

Guest

Try search at microsoft,type:307889 and:313348 The later has some
good related links for hds at microsoft.
 
G

george

sulk said:
I've looked around, and I can't seem to find out how to change it. I'm
pretty
sure you can, but I'm not 100% sure on this. The reason is that I've
installed XP many times, on a sperate partition, and each time it gets
full,
started with a 3 gig, moved to 5, and now i have it installed on a 7gig
partition with only 500mb free. The page file is on another drive, so if i
could change the windows tempory folder i could get more space, and
actually
install large programs and such.All data, and installed programs are on
their
own drives, so they're aren't taking up space on the system drive. Any
help
would be nice, thanks.

as you probably already know, there are some environment variables that deal
with this.
notably the variables TEMP end TMP and they exist both for SYSTEM and USER.
Now the SYSTEM ones refer to %SystemRoot%\TEMP whereas the USER ones refer
to %USERPROFILE%\Local Settings\Temp.
You could change those references to where ever you want to point them to.
Keep in mind that environment variables are evaluated (attributed) in the
order:
1. system
2. autoexec.bat
3. user
and this is especially significant if the same variable(name) is defined in
more than one place, like for TEMP and TMP.
this will result in the variable effectivly having the value from the 'last'
intance it was attributed, ie. user.

you could (and probably already have done) also search the registry for any
references to TEMP and TMP and change them according to your wishes to also
create the initial, default setting for any new useraccount you create, so
the variables will initially point to your preferred location.

hth

george
 
G

george

oh yeah, inline,


sulk said:
I've looked around, and I can't seem to find out how to change it. I'm
pretty
sure you can, but I'm not 100% sure on this. The reason is that I've
installed XP many times, on a sperate partition, and each time it gets
full,
started with a 3 gig, moved to 5, and now i have it installed on a 7gig
partition with only 500mb free. The page file is on another drive, so if i
could change the windows tempory folder i could get more space, and
actually
install large programs and such.All data, and installed programs are on
their
own drives,


so they're aren't taking up space on the system drive.

this is actually not entirely true because when you install stuff on your
system or otherwise apply fixes and the like there is space taken up on your
C:-drive in the form of a Restore Point and, depending on what you do, such
a restore point can be big too.
apart from that Restore Points are kept over time and there can be many of
them.
even though elder restore points are automatically compressed, they still
take up space on C:, all the more because (AFAIK) the Restore Point folder
(System Volume Information structure) needs to be on the System volume and
cannot be moved somewhere else.
(I might be wrong on this last one, but I'm sure someone will chime in if I
am :)) )

hth

george
 
G

Guest

Changing the variables sounds like it is a great thing to do, and would solve
this problem, but how would I go about doing that? Are there some values in
the registry which have them? That sounds like the best thing to do in this
case., but if I were to do that, that would mean that it would store
everything in %USERPROFILE%, and system on another drive, is there a way to
just move where it keeps the temp folder? Drive mounting sounds as it might
help, but I'm not sure on that. Thanks again
 
M

Mike Hall \(MS-MVP\)

sulk

The simple truth is that you HDD partition just isn't large enough.. yes,
you can do some things to gain a little space, but it will be a temporary
fix each time.. get yourself a larger drive..
 
G

Guest

That's the thing, I have more then enough space on my harddrives, but I just
want to have windows on its own partition, so I've had to change the size of
it along the way as it always gets full. Next time that I have to reformat, I
will make it 10-15gb, as obviously my previous sizes, and the current one is
too small, mainly from windows updates and such.
 
G

george

go to Control Panel, System, Advanced tab, Environment Variables button
You'll see the top half representing TEMP and TMP variables for the
currently logged on user and the bottom half has them defined (somewhere in
the list) for the system.
Select the variable who's assigned value you want to change, click Edit and
type the location you want to use for it.
It doesn not have to be a location in the form %USERPROFILE%\etc..
It can be any valid location you want.
This holds true for both sets.
So for the System ones you could easily give it a value of d:\temp.
This action effectively changes their values in the registry.
You need to restart for the new values to be taken into account.

hth

george
 
N

Nepatsfan

Here are some other things you can look into until you
repartition your HD.

Have you considered relocating your My Documents folder to
another partition or drive? Do this for each user account on your
PC.

How about your email? You can easily change the default storage
location in Outlook and Outlook Express.

How much hard drive space have you allocated to System Restore?
The default is 12% of each monitored drive. Lower it to 6 or 8%
and see how many restore points that leaves you with. Open System
Properties to make changes to System Restore.

Go into Internet Options and reduce the size of your Temporary
Internet file. 40MB is plenty.

Have you enabled Hibernation? Consider turning it off and you'll
recapture free space equal to the memory installed. Look at Power
Options in Control Panel for a Hibernate tab.

Have you searched on this drive for files based upon their size.
Look for files that are at least 5MB and see if you discover some
that just don't look right. Don't delete them unless you're sure
that they're not essential to your machines operation.
 
M

Mike Hall \(MS-MVP\)

sulk

15gb is a good size.. it allows Windows to 'move' around unhindered..

--
Mike Hall
MVP - Windows Shell/user
 

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