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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete users temp internet files automatically??

Status
Not open for further replies.

derson

MIS
Oct 2, 2002
73
GB
does anyone a the best way (util?) to delete users temp internet files as i'm sure you know they get pretty huge quickly and cause slow logons
any help much apprec

"Computer games don't affect kids; I mean, if Pac-Man affected us as
kids, we'd all be running around in darkened rooms, munching magic pills
and listening to repetitive electronic music."

 
This should happen automatically if you have your internet settings in IE on the hosting box are set to clear them out or keep them to a minimum. It should work the same way as it would on your PC..

Internet properties, temp internet files, settings..
 
dave the problem is each user would need to change these settings induvidually i was wondering whether i coild do it globally to affect each users settings??
thanks for ghetting back
derson

"Computer games don't affect kids; I mean, if Pac-Man affected us as
kids, we'd all be running around in darkened rooms, munching magic pills
and listening to repetitive electronic music."

 
I don't see where this setting is in Group policy, but in the old Poledit (Policy Editor) there is one. It is:
Temporary Internet Files (User)>Set amount of disk space to use (User). I think it is part of the inetcorp.adm

Jon

There is much pleasure to be gained from useless knowledge. (Bertrand Russell)
 
thanks jon unfortunately the only setting i can find is to disable changing the temp internet files but i can t see the actula size setting??
thanks derson

"Computer games don't affect kids; I mean, if Pac-Man affected us as
kids, we'd all be running around in darkened rooms, munching magic pills
and listening to repetitive electronic music."

 
Hi,

Try setting your Temporary IE Cache Size to 1Mb, Delete them on the browser closing.

If you use Roaming profiles, this is easier, run gpedit.msc
Choose the following:-
+User Configuration
+Administrative Templates
+System
Logon/Logoff
Exclude directories in roaming profile

Enable this and Temp Internet Files will be excluded!

Makes life really easy!

Cheers,
Carl.
 

I may have missunderstood, Let me see if I have this str8..

Do you have IE published in Citrix, or are you talking about removing their temp intern. files on their workstations?

If you are publishing IE to the users, then you would only have to configure IE on each of the metaframe servers, not on their workstations.

Let me know.. I might be barking up the wrong tree here..

 
This is my ClearIE.bat

@echo off
n:
cddir N:\WTSRV\Profiles\*.* /b /s | find "\Temporary Internet Files\" > iedump.txt
dir O:\USERS\*.* /b /s | find "\Temporary Internet Files\" >> iedump.txt
for /f "tokens=1*" %%i in (iedump.txt) do del /q "%%i %%j"
del n:\iedump.txt

This checks two locations where profiles can be kept, and deletes all Temporary Internet Files.

I have this batch file scheduled to run once a week.
 
Just to clarify - coz I forgot this forum would wrap things about, there are are 7 lines in the batch file,
@echo off
n:
cddir.....
dir.....
for.....
del n:\iedump.txt
 
thnaks for the batch will try tonight-daveR i am publishing ie5.5 through citrix so yes femp files are on the server but each user has their own ie5.5 settings so each of these would have to be changed-right?

"Computer games don't affect kids; I mean, if Pac-Man affected us as
kids, we'd all be running around in darkened rooms, munching magic pills
and listening to repetitive electronic music."

 
When you log in, create in the Application Compatibility Scripts\Logon area, create an iecache.reg files
========
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Content]
"CacheLimit"=dword:00000400

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content]
"CachePrefix"=""
"CacheLimit"=dword:00000400
========

Cut and paste inside the "=" lines!

Add to usrlogon.cmd a
=====
RegEdit /S iecache.reg
=====

This will set the Cache size to 1Mb per user, so will decrease the size of the files!

Then using gpedit.msc select the following:-

User configuration
System
Logon/Logoff
Tick Exclude directories in roaming profile

Tick this with the default settings and Temp IE files won't be written to the users profile!

Does this help?

Cheers,
Carl.

 
sure does thanks very much for all your help

"Computer games don't affect kids; I mean, if Pac-Man affected us as
kids, we'd all be running around in darkened rooms, munching magic pills
and listening to repetitive electronic music."

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top