How to change temp folder location in Windows 7

If you want to free up disk space in Windows 7, you might want to know how to change the temp folder in Windows 7 to move the temp folder to another partition.

Windows 7 Temp Folder

In order to change the temp folder, you should know how to change environment variables in Windows 7, because the path to the Windows temp folder is one of the system environment variables that you can change!

Read our guide: How to change environment variables in Windows 7

1. Step Open up the environment variables (as described in the guide above)
2. Step At the top it will say something similar to User variables for [username], below find the variables TEMP and TMP. Both variables need to be defined. This is important you need to change BOTH of them or it might not work.

3. Step Select TEMP and click on Edit. Change the relative path %USERPROFILE%\AppData\Local\Temp to something else, e.g. C:\Temp\

Change temp folder 7

4. Step Reboot and your temp folder will change. You can use this method to move the temp folder to another partition and possibly free up some required disk space.

5 of 5 0 (100%) 1 vote
- Cheers!

Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates:

Contact The Author:

Get Free Help

Connect With Our Site:



Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link ( and save money at the same time:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *