Link to home
Start Free TrialLog in
Avatar of JustKids
JustKids

asked on

Clearing Temporary Internet Files on browser exit using Group Policy

Hi,

We are wanting to clear the Temporary Internet Files on browser exit, but the option under Computer Configuration/Administrative Tools/Windows Components/Internet Explorer/Advanced Page doesnt seem to work, and upon closer reading reveals that it requires 'at least Internet Explorer 6.0 in Windows 2003 Service Pack 1'. We are a bit confused by this. Currently running Win Xp with IE 6.0, does this policy option only work on machines running Windows Server 2003?

Alternatively, is there a way to run a script to clear the files upon browser exit?
Avatar of valicon
valicon
Flag of United States of America image

I am not in front of a Windows Server right now so I am doing this from memory. I believe the setting is :

Under User Configuration->Windows Settings->Internet Explorer Maintenance (you need to right click, and put in Preference Mode)->Advanced.

http://support.microsoft.com/?kbid=274846

Take a look at the corporate and internet settings.  hth
Avatar of JustKids
JustKids

ASKER

I have had a look at this and there doesnt seem to be an option to clear the files upon browser exit. I can set size limits, but not clear the files.
Under IE Tools / Internet Options / Advanced
Place a check mark on the Security option to
"Empty Temporary Internet Files folder when browser is closed"

As a registry setting:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache
Persistent = 0

See:
http://www.windowsitpro.com/Article/ArticleID/39670/39670.html?Ad=1

To accomplish the same thing with a GPO you will require a custom ADM file according to this link:
http://www.gpanswers.com/faq/?id=18

However, this post seems to indicate you can accomplish the same thing by modifying the relevant GPO at this location:
USER Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Advanced Page
"Empty Temporary Internet Files folder when browser is closed"
At least on a system where Windows Server 2003 w/ SP1 also has IE v.6.0 installed.

Reference:
http://www.mcse.ms/archive54-2005-7-1738081.html
ASKER CERTIFIED SOLUTION
Avatar of valicon
valicon
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Valicon,

I obviously didnt see it first time.
Glad to help :)
wow, awesome thread. Thanks so much!

I was looking to see how to do this, and I would have been looking forever inside Group Policy for this. Never knew that whole "preference mode" and advanced were in there. Very deep GP stuff.

Thanks again!
A possible new way (I have Windows 2008 Active Directory)

Open Group Policy:

User Configuration->Policies->Administrative Templates->Windows Components->Internet Explorer->Internet Control Panel->Advanced->Empty Temporary Internet Files folder when browser is closed

Set this setting to enabled
Thanks brentc3114a

Path to policy setting in Windows 2003 AD is slightly different:

User Configuration->Administrative Templates->Windows Components->Internet Explorer->Internet Control Panel->Advanced Page->Empty Temporary Internet Files folder when browser is closed.