Creating a Scheduled Task to Clear ALL Browser Data on Startup

Discussion in 'Windows 10' started by HORIZONTAL THINKER, Oct 19, 2017.

  1. HORIZONTAL THINKER

    HORIZONTAL THINKER MDL Member

    Jun 13, 2012
    155
    29
    10
    Hi guys,

    I'm looking to create a Scheduled Task that will delete all Browsing Data (Chrome) on startup.
    I could use an extension like Click & Clean but am trying to move away from clogging things up with browser extensions.

    FYI: Windows 10 Pro x64 v.10.0.15063

    Any help/guidance would be much appreciated.

    Kind Regards
     
  2. nanosani

    nanosani MDL Novice

    Apr 9, 2010
    15
    3
    0
    For cache and cookies, you could schedule a task like this:

    del /S %userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache\*
    del /S %userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cookies\*
    del /S %userprofile%\AppData\Local\Google\Chrome\User Data\Default\History
     
  3. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,209
    984
    90
    If u have 1 giga of ram to spare use ramdisk place the temp files there
     
  4. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,055
    60
    Why not to use CCleaner? You can use this to create a task at startup.
    Code:
    "C:\Program Files\CCleaner\CCleaner64.exe" /AUTO
    Or even better, turn off computer with it, that prevents some malware from running after startup.
    Code:
    "C:\Program Files\CCleaner\CCleaner64.exe" /AUTO /SHUTDOWN