Can I move my TEMP and TMP data to a RAMDisk?

Hi,

I have a RamDisk setup on my computer and want to know if I will run in to any problems if I move my windows TEMP directory to it?
Answer
Answer

There are two TEMP directories. One is C:\Windows\Temp and another is C:\Users\username\AppData\Local\Temp

You can move both of them without any problem but you need to set the correct environment variable.

Step 1 - Move the TEMP folder to your RAMDisk.

Step 2 - Click Start menu, right-click My Computer, and select Properties. Select Advanced System Settings. You might need to confirm a UAC prompt. Then click the Environment Variables button.

Step 3.A - If moving the C:\Windows\Temp folder, look under System variables and find TEMP and TMP variables. Change both their values to the path of the Temp folder on your RAMDisk.

Step 3.B - If moving C:\Users\username\AppData\Local\Temp folder look under User variables and find TEMP and TMP variables.  Change both their values to the path of the Temp folder on your RAMDisk.

Step 4 - Confirm the change by clicking OK.

27 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated May 4, 2024 Views 50,694 Applies to: