Re: what's a good way to get rid of user temporary internet files automatically for all users?

Tech-Archive recommends: Fix windows errors by optimizing your registry



news wrote:
Lanwench [MVP - Exchange] wrote:
In news:uj3RXNrXHHA.1296@xxxxxxxxxxxxxxxxxxxx,
news <user@xxxxxxxxxxx> typed:
hello,
I've noticed on the network (win2k and winXP) the user's
workstations always get full of junk files from internet explorer.

I tried clicking on empty files when browser is closed on the
advanced tab in properties but it still leaves a ton of junk files.

I'd love a script that runs whenever a user logs in but scripting on
windows is not my strong point. Perhaps a GPO - but I've never seen
one that can do this.

On Mozilla Firefox, you can set it to clear out all junk files when
a user closes the browser and on Firefox this works great! No junk
files! How can I do this on IE for all user workstations?


Thanks,

Oskar

I use a computer shutdown script assigned via GPO to clean out
*everything* - the GUI method leaves a lot of crap in there.

-----
FOR /F %%A IN ('DIR/B "C:\Documents and Settings"') DO DEL/S/F/Q
"C:\Documents and Settings\%%A\Local Settings\Temporary Internet
Files\*.*" FOR /F %%A IN ('DIR/B "C:\Documents and Settings"') DO
RD/S/Q "C:\Documents and Settings\%%A\Local Settings\Temporary
Internet Files\"
WOW!
that's awesome! I'll try this on a test machine first, if this works
good I'll assign it via GPO.

Thank you so much, this is a very useful script!

For the rest of you, the GUI method does in fact leave a lot of junk
behind. Try looking at the browser temp folders some time and see for
yourselves.

Thank you,

Oskar

You're most welcome. I got the batch file commands from someone in a
scripting newsgroup a million years ago, and I've put it on all my clients'
networks ever since. I just tell them to reboot their workstations at least
once a week and it helps keep everything clean.


.



Relevant Pages