Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » delete user junk files (temp, cookies and temp. internet files) via login script
delete user junk files (temp, cookies and temp. internet files) via login script [message #382586] Tue, 02 February 2010 10:06 Go to next message
pheonix1t  is currently offline pheonix1t  United States
Messages: 5
Registered: February 2010
Junior Member
hello,
I've 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've 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
Re: delete user junk files (temp, cookies and temp. internet files) via login script [message #382861 is a reply to message #382586] Tue, 02 February 2010 14:50 Go to previous messageGo to next message
pbbergs  is currently offline pbbergs  United States
Messages: 1024
Registered: July 2009
Senior Member
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.

<pheonix1t@gmail.com> wrote in message
news:73f3819d-cd3e-425e-9f75-4d10a3272441@b10g2000yqa.googlegroups.com...
> hello,
> I've 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've 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
Better way to delete temp, cookies and temp. internet files. [message #424484 is a reply to message #382586] Fri, 02 April 2010 03:22 Go to previous message
Nora Brown  is currently offline Nora Brown  United States
Messages: 1
Registered: April 2010
Junior Member
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>



pheonix1 wrote:

delete user junk files (temp, cookies and temp. internet files) via login script
02-Feb-10

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

Previous Posts In This Thread:

On Tuesday, February 02, 2010 2:27 PM
pheonix1 wrote:

delete user junk files (temp, cookies and temp. internet files) via login script
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

On Tuesday, February 02, 2010 4:50 PM
Paul Bergson [MVP-DS] wrote:

You could just set the users to not cachehttp://www.petri.co.
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.


Submitted via EggHeadCafe - Software Developer Portal of Choice
File-Based Cache for Web and non-Web Apps plus Extend ASP.NET 4.0 OutputCacheProvider
http://www.eggheadcafe.com/tutorials/aspnet/56161e9e-7fa3-48 e8-9dfe-9f7a28f4d58e/filebased-cache-for-web.aspx
Previous Topic:Re: Naming information cannot be located; Server not operational on Win2k3
Next Topic:Frequently Given Answers
Goto Forum:
  


Current Time: Wed Jan 17 05:37:56 MST 2018

Total time taken to generate the page: 0.05249 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software