Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group policy to delete temp internet files on logoff 2

Status
Not open for further replies.

puppet

IS-IT--Management
Dec 13, 2001
140
Is it possible to delete temporary internet files on logoff with Group Policy?
 
Yes
Users and Computers mmc,GP edit, User Configuration, administrative template, windows components, Internet Explorer, Internet Control Panel, advanced page

........................................
Chernobyl disaster..a must see pictorial
 
I'm not at work at the moment but I only had two options in there and neither seemed to be related to clearing temp internet files...
 
Hi,

There are 13 policy settings on our 2003 server in this area.
Empty temp when all browser windows are closed is one of them.

Regards,

Peter

Remember- It's nice to be important,
but it's important to be nice :)
 
I don't know what I thought I was looking at yesterday - like you said there are 13 settings in there and the one I was looking for - thanks for your help.
 
The only problem with these settings is they only affect 2003 SP1 so unless all your clients are running 2003 server then it's only handy for locking down your servers.
 
So is there no way to achieve this via Group Policy? Will I need to run a script to do this?
 
A script might work if you put this in a reg file and import it at logon.

Regedit /s path to file

Enabled

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache]
"Persistent"=dword:00000000

Dissabled

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache]
"Persistent"=dword:00000001
 
Hi,
Look for MarkDMac login script in this forum. There is a section as below which does excactly that.... plus loads of other good stuff..

' This code will empty the Temp Internet Files on Exit
'=====================================
Dim tempiepath
tempiepath = "HKCU\Software\Microsoft\Windows\"

WSHShell.RegWrite tempiepath & "ShellNoRoam\MUICache\@inetcplc.dll,-4750","Empty Temporary Internet Files folder when browser is closed","REG_SZ"

WSHShell.RegWrite tempiepath & "CurrentVersion\Internet Settings\Cache\Persistent","0","REG_DWORD"
Set tempiepath = nothing

Cheers
G
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top