Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to change appdata/temp folder from C drive to D drive


20 Feb 2011   #1

Windows 7 Ultimate x64
 
 
How to change appdata/temp folder from C drive to D drive

This is basically to reduce writing to the C drive. Say I want to install a 4gb game, the installer may unpack data/cab files to the C drive, then delete it after the installation is complete.

This means I have just basically written 4gb of data onto my SSD. I DO NOT want that to happen. I cringe everytime I see data written on to my beautiful SSD drive.

What can I do to change appdata/temp folder to the d drive so that the default behaviour of such installation will be to unpack/extract needed info to the D drive instead of into folders on my C drive which is SSD?

Thank you.

My System SpecsSystem Spec
.

20 Feb 2011   #2

Windows 7 Ultimate SP1 (64-bit)
 
 

Hello there.

Go to computer, properties, advanced system settings. and follow the attachments.

I believe that you can only change the TEMP/TMP folders. not the AppData one

But, let me ask, if the files are deleted automatically after installation, what's the big hussle? i mean, the space once occupied by the files is now available


Attached Thumbnails
How to change appdata/temp folder from C drive to D drive-0235.png  
My System SpecsSystem Spec
20 Feb 2011   #3

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Punkster View Post
Hello there.

Go to computer, properties, advanced system settings. and follow the attachments.

I believe that you can only change the TEMP/TMP folders. not the AppData one

But, let me ask, if the files are deleted automatically after installation, what's the big hussle? i mean, the space once occupied by the files is now available
Is it not the "system variables" too? in the box below where it says TEMP/TMP

Because the box you highlighted me is for "User variables"

Because a SSD has a limited write/erase cycle before it becomes read-only and the more write/erase cycles there are, the worse it's performance. Writing to the SSD is like making it smoke.
My System SpecsSystem Spec
.


20 Feb 2011   #4

Windows 7 Ultimate SP1 (64-bit)
 
 

Yep, you can edit actually the System Variables, TEMP is on the bottom of the list IIRC
My System SpecsSystem Spec
20 Feb 2011   #5

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Punkster View Post
Yep, you can edit actually the System Variables, TEMP is on the bottom of the list IIRC
So I need to edit both the User variables AND the sytem variables? Currently, they are not showing the same location.

Default user variable is set to %USERPROFILE%\AppData\Local\Temp
System variables is set to C:\Windows\TEMP

So then do I need to creat 2 different temp folders on my D drive? One to set the user variable to and one to set the System variable to? ie D:\Appdata\Local\Temp and D:\Windows\TEMP?
My System SpecsSystem Spec
20 Feb 2011   #6

Windows 7 Ultimate SP1 (64-bit)
 
 

Actually you could set them both to be "D:\TEMP" and that's it. you have ALL your temporary files in 1 folder, and that will be actually easier.
My System SpecsSystem Spec
20 Feb 2011   #7

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Punkster View Post
Actually you could set them both to be "D:\TEMP" and that's it. you have ALL your temporary files in 1 folder, and that will be actually easier.
Gracias (you're obviously from Spain)

Will try now and reboot.
My System SpecsSystem Spec
20 Feb 2011   #8

Windows 7 Ultimate SP1 (64-bit)
 
 

De nada! (nop hehe.. Valencia, Venezuela)

Reboot and report back after that
My System SpecsSystem Spec
20 Feb 2011   #9

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Punkster View Post
De nada! (nop hehe.. Valencia, Venezuela)

Reboot and report back after that
Seem to be working, I am installing game now and I can see data being written to D drive while unpacking. Just saved about 4gbs or writes on my SSD! It'll live healthier for longer now.

My System SpecsSystem Spec
20 Feb 2011   #10

Windows 7 Ultimate SP1 (64-bit)
 
 

Yay awesome, this thread can be marked as solved now

Enjoy you SSD
My System SpecsSystem Spec
Reply

 How to change appdata/temp folder from C drive to D drive




Thread Tools



Similar help and support threads for2: How to change appdata/temp folder from C drive to D drive
Thread Forum
Can't change name of user folder in c:drive that was once locked. General Discussion
DISM Folder being created in AppData\Local\Temp by Disk Cleanup Performance & Maintenance
relocating appdata folder onto its own SSD drive Customization
Can I move TEMP/TMP to nested folder on re-directed drive? Customization
SSD drive/HDD Temp folder advice Performance & Maintenance
? moving Temp. Files Folder to different logical drive Performance & Maintenance
How do I change Media Centers save program folder/drive Media Center

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 07:26 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33