Windows Server - 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
CSci
(1)
Achiever
(1)
Killer
(1)
Oskar
(1)
Month
(1)
June
(1)
Directory
(1)
Cachehttp
(1)
Paul Bergson [MVP-DS] replied to pheonix1
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.
Nora Brown replied to pheonix1
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>
in a 2003 Active directory environment? Thanks, Sam Windows Server Active Directory Discussions DSClient (1) CSci (1) Achiever (1) Chicago (1) Windows (1) Hanisco (1) Ramsey (1) Ryan (1) Yes, however You may support.microsoft.com / kb / 288358 - - Paul Bergson MVP - Directory Services MCT, MCSE, MCSA, Security+, BS CSci 2003, 2000 (Early Achiever), NT http: / / www.pbbergs.com Please no e-mails, any questions should be posted in
one active directory in an enterprise. Thanks Windows 2000 Active Directory Discussions Active Directory (1) CSci (1) Achiever (1) Forests (1) Times (1) MCSE (1) RSS (1) The easiest explanation is simplicity. One possible, depends on the needs. - - Paul Bergson MVP - Directory Services MCT, MCSE, MCSA, Security+, BS CSci 2003, 2000 (Early Achiever), NT http: / / www.pbbergs.com Please no e-mails, any questions should be posted in
create in Server 2003 Active Directory? Thanks. Windows Server Active Directory Discussions Active Directory (1) CSci (1) Achiever (1) Windows (1) Gunna (1) Hithe (1) Kerb (1) Windowsserver (1) There shouldn't be the tens of millions. - - Paul Bergson MVP - Directory Services MCTS, MCT, MCSE, MCSA, Security+, BS CSci 2008, 2003, 2000 (Early Achiever), NT4 http: / / www.pbbergs.com Please no e-mails, any questions should be posted in This sounds rather extreme. - - Paul Bergson MVP - Directory Services MCTS, MCT, MCSE, MCSA, Security+, BS CSci 2008, 2003, 2000 (Early Achiever), NT4 http: / / www.pbbergs.com Please no e-mails, any questions should be posted in
in an Active Directory Domain? Windows Server Active Directory Discussions Active Directory (1) WadeBart (1) CSci (1) Achiever (1) Smallbusiness (1) Prodtech (1) MCSE (1) Hello WadeBart, Domain, yes. Domain controller, no. Best smallbusiness / prodtech / windowsserver2003 / build_ent_root_ca.mspx - - Paul Bergson MVP - Directory Services MCT, MCSE, MCSA, Security+, BS CSci 2003, 2000 (Early Achiever), NT http: / / www.pbbergs.com Please no e-mails, any questions should be posted in