Star Shadow Posted July 20, 2009 Share Posted July 20, 2009 (edited) Hi,I want to change the path of all TEMP directories: the main system one (C:\Windows\Temp) to D:\Temp and the ones in %USERPROFILE%\AppData\Local\Temp to D:\Temp\{username}\So, if I make new accounts those paths will be used. Can someone provide step by step instructions on doing this? I want to get it right the first time. I know Win 7 is still available as RC, but it should be the same command for the final when that is released ... well I hope, but we'll burn that bridge later. Now is the time to practice on RC images. Thanks. Edited July 20, 2009 by Star Shadow Link to comment Share on other sites More sharing options...
ajua Posted July 22, 2009 Share Posted July 22, 2009 You should use system variables for doing that:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]"TEMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\ 00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00"TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\ 25,00,5c,00,54,00,45,00,4d,00,50,00,00,00[HKEY_USERS\.DEFAULT\Environment]"TEMP"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\ 00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,00,\ 6f,00,63,00,61,00,6c,00,5c,00,54,00,65,00,6d,00,70,00,00,00"TMP"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,00,\ 45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,00,6f,\ 00,63,00,61,00,6c,00,5c,00,54,00,65,00,6d,00,70,00,00,00Change them manually on your computer to capture the new values and apply them using a REG file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now