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
iamtheone

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
Punkster

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
-0235.png  
My System SpecsSystem Spec
20 Feb 2011   #3
iamtheone

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
Punkster

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
iamtheone

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
Punkster

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
iamtheone

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
Punkster

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
iamtheone

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
Punkster

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
Thread Forum
The Temp folder is on a drive that is full or is inaccessible -
Hello, I'm having problems every time I try to install some programs like Skype or a Visual Studio update. and I just figured out that I also have it when I try to uninstall ANY program. There's a Visual Studio update that also adds this to its installation log file:
Performance & Maintenance
Can't change name of user folder in c:drive that was once locked.
Hey, I'm new here and "some" of what's been said covered part of my problem, but...anyway, I figured out how to remove the lock from a user profile folder that was put in my computer under another name then mine before I got this comp. It had the lock on it at the time but I removed it today. I...
General Discussion
DISM Folder being created in AppData\Local\Temp by Disk Cleanup
I've seen this problem reported elsewhere, but I haven't found a solution. I'm reinstalling Windows 7 Professional SP1 from scratch on a Dell Precision M4600 laptop. Yesterday, I went through the entire process of installing the OS, the drivers and running system update. After that was completed, I...
Performance & Maintenance
relocating appdata folder onto its own SSD drive
Hello, I am a first time poster here, and have been looking around here yet cant seem to find the exact answer I am looking for. Sorry If I have missed something and this has been answered already.... Doing a fresh install on everything... I currently have a 128gb Runcore Pro-V ssd, a...
Customization
SSD drive/HDD Temp folder advice
Hi Everyone, My system consists of 17-970, 12GB 1600 RAM, 120 GB Vertex-2 SSD for my OS, 1 TB WD Black Caviar HDD for data. I'm trying to avoid writes as is typical of a SSD setup. I plan on having my page file @ 2000MB static on my SDD, My firefox cache on a 4GB Ramdisk. I'm wondering...
Performance & Maintenance
? moving Temp. Files Folder to different logical drive
I am loading NWN2 onto my HDD. Evidently, NWN2 "makes use of My Documents and Windows Temp File Directories to store saved games, hak files, exported character files, and temp files needed during game play, updates and more," according to the moderator of NWN2's technical self-help forum. My...
Performance & Maintenance

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 02:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App