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

Discussion in 'Active Directory' started by Nora Brown, Apr 2, 2010.

  1. Nora Brown

    Nora Brown Guest

    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:

    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

    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/tutorial...dfe-9f7a28f4d58e/filebased-cache-for-web.aspx
     
    Nora Brown, Apr 2, 2010
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.