How can I use poledit to change location of IE temp files?

Gepost

Senior member
Oct 13, 1999
493
0
0
I have an NT4 workstation that employees use to access the Internet and the employees use roaming profiles. I want the temporary Internet files to stay on the computer so they don't take up space on the network. I think I can use policy editor to change the settings on the workstation. If I set up a profile for this workstation, I can go to the System policies and go to Run and add items to the startup of that workstation. I found these changes I can make to the registry to re-direct the location of the temporary Internet files from NTfaq:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path1]
"CachePath"="E:\\TEMP\\Cache1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path2]
"CachePath"="E:\\TEMP\\Cache2"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path3]
"CachePath"="E:\\TEMP\\Cache3"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path4]
"CachePath"="E:\\TEMP\\Cache4"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cache"="E:\\TEMP"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Cache"="E:\\TEMP"

My question is, how do I type these in the run policy when I add an item name and value.

Do I use the brackets?
Do I use the quotations?
Is the name of the item to run the registry key line and the value the Cache=E:\\temp?
Do I need two slashes?

Am I on the right track?

 

jfall

Diamond Member
Oct 31, 2000
5,975
2
0
I'm not sure which version of IE you are running.. but if you have IE 6 then you can do this right from the internet options. Just click Settings > Move Folder. A lot easier then using the registry :)
 

Gepost

Senior member
Oct 13, 1999
493
0
0
I am using IE 5.5. I know about changing the location through Internet Properties. However, I believe that is changed for that user only, and it can be changed by a regular user. I don't want to have to change this for each user, then let them be able to change it back.

I could have it delete the cache files each time the user exits (under Advanced Properties) but I still think this is a user-changeable item. Unless someone knows a registry edit I can do to set the machine to default delete the Internet Cache for each user.
 

NEVERwinter

Senior member
Dec 24, 2001
766
0
71

hmm... I'm not an expert in registry hacks.... but i think the brackets and quatation marks are needed.
I'm not sure about the slashes, but the reg value ( Cache=E:\Temp\ ) is right.

and you need the registry header, it's different for NT and 98
for Win98 it is : REGEDIT4
and for win2K/XP it is : Windows Registry Editor Version 5.00

I donno... but it might help
 

Gepost

Senior member
Oct 13, 1999
493
0
0
If I am using run under policy editor, where would I put the registry header?