none
delete cookies using gpo

    Question

  • Dear All,

    I am looking solutions for below mentioned activities, I have search for self-help articles to resolve these issue but no success..
    Please help me to find out the solutions.

    1). All W2K3 servers should accept connections only from RDP client version6 not from RDP client v5.2

    2). Proxy PAC file - creating, testing and deploying through GPO
    Create proxy.pac file for two proxy servers - if one fails should switch to another proxy server, else go direct to internet if not on LAN.

    3). Deleting Temporary Internet files & cookies of all workstation through GPO

    4). Create Hardware Profiles - LAN Docked - USB Disable, Modem Disable
          LAN Undocked - USB enable, Modem Enable
          And how to push this policy through GPO

    Thanks & Regards,
    Zakir
    Email: syed_zakir@hotmail.com
                 syzakir@gmail.com

    Monday, August 10, 2009 7:32 AM

Answers


  • Use the below script and try doing it scheduling task so that all the cookies. history, form data, stored password.etc.

    @ECHO OFF
    ECHO Deleting current user's Temporary Files, Cookies, History, Form Data and Stored Passwords
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
    ECHO Done!
    PAUSE
    CLS
    • Marked as answer by David Shen Friday, August 14, 2009 10:43 AM
    Thursday, August 13, 2009 4:04 AM

All replies


  • Use the below script and try doing it scheduling task so that all the cookies. history, form data, stored password.etc.

    @ECHO OFF
    ECHO Deleting current user's Temporary Files, Cookies, History, Form Data and Stored Passwords
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
    ECHO Done!
    PAUSE
    CLS
    • Marked as answer by David Shen Friday, August 14, 2009 10:43 AM
    Thursday, August 13, 2009 4:04 AM
  • Another option.

    Create .bat file with Dharshan S commands.

    You can incorporate this into a logoff script, and assign it to users by using Group Policy.

    User Configuration>Windows Settings>Scripts (Logon/Logoff) > Logoff (better)

    When user log off, al files are deleted.
    Tuesday, December 29, 2009 4:39 PM