Only way to delete Temp Internet Files is with custom ADM??

Discussion in 'Internet Explorer' started by Rich, May 18, 2009.

  1. Rich

    Rich Guest

    So far it seems like the only way i can get Windows XP with IE7 computers to
    clear their temporary internet files is by using a GPO with a custom ADM file
    with the below settings in it. I tried changing the other standard group
    policy settings for IE, but it says they only apply to IE6 on Server 2003,
    and i believe it since it didnt seem to work. anyone else have this problem?

    POLICY "Delete Temporary Internet Files when browser is closed"
    KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache"
    VALUENAME "Persistent"
    VALUEON NUMERIC 0 VALUEOFF NUMERIC 1
    END POLICY
     
    Rich, May 18, 2009
    #1
    1. Advertisements


  2. Some occasionally complain about that feature not working.
    E.g. as requested using the option
    Empty Temporary Internet Files folder when browser is closed
    (in Options, Advanced tab, Security section)

    When I suggest they try some diagnosis, e.g. to see if other active
    tasks may be interfering, the thread usually dies.

    So, what are your symptoms? <eg>


    HTH

    Robert Aldwinckle
    ---
     
    Robert Aldwinckle, May 19, 2009
    #2
    1. Advertisements

  3. Howdie!
    Mark Heitbrink has an ADM template on his GP site
    www.gruppenrichtlinien.de, see (you almost had it correct!):

    --snip--
    CLASS USER

    CATEGORY "Custom IE settings"

    POLICY "Delete temporary internet files when IE is closed?"
    KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache"
    VALUENAME "Persistent"
    VALUEON NUMERIC 0 VALUEOFF NUMERIC 1
    END POLICY
    END CATEGORY

    --snap--

    Cheers,
    Florian
     
    Florian Frommherz [MVP], May 19, 2009
    #3
  4. Rich

    Rich Guest

    Thanks. so i was on the right path though, as this being the only way to
    successfully do it for XP SP3 with IE7?

     
    Rich, May 19, 2009
    #4
  5. Nah. I have a computer shutdown script assigned via GPO. Works great. Cheap
    & cheerful solution.

    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\"


     
    Lanwench [MVP - Exchange], May 20, 2009
    #5
  6. Rich

    Rich Guest

    Very cool. Thanks! Always nice to have options :)

     
    Rich, May 21, 2009
    #6
  7. Indeed. I can't remember who I stole, I mean borrowed, that little batch
    file from but I've always meant to thank him (or her, I suppose).

     
    Lanwench [MVP - Exchange], May 24, 2009
    #7
    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.