CSci
(1)
Achiever
(1)
Killer
(1)
Oskar
(1)
Month
(1)
June
(1)
Directory
(1)
Cachehttp
(1)

delete user junk files (temp, cookies and temp. internet files) via login script

Asked By pheonix1
02-Feb-10 02:27 PM
hello,
I have been searching for a way to delete user junk files like it states
in subject box.
Setting IE settings to clear temp files when the browser is closed
does NOT work.
Making disk space 0 for temp files also leaves plenty of junk files
behind.

The only way I have seen to clear the files is manually.

I have found this script to erase the junk files.  It works by putting
it in the all users folder in startup.

c:
cd\
cd C:\Documents and Settings\%username%\Local Settings\Temporary
Internet Files
del *.* /f/s/q
cd \
cd c:\Documents and Settings\%username%\Local Settings\Temp
del *.* /f/s/q
exit

What is a good way to make this work via login (or logout) scripts via
active directory?

Thank you,

Oskar

You could just set the users to not cachehttp://www.petri.co.

Paul Bergson [MVP-DS] replied to pheonix1
02-Feb-10 04:50 PM
You could just set the users to not cache

http://www.petri.co.il/controlling_ie_cache_size_via_gpo.htm

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4
Microsoft's Thrive IT Pro of the Month - June 2009

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

Better way to delete temp, cookies and temp. internet files.

Nora Brown replied to pheonix1
02-Apr-10 05:22 AM
If you want to erase all private accounts, files, cookies, temp files on your computer, use <a href="hhtp://www.historykillerpro.com">History Killer Pro</a>
Post Question To EggHeadCafe