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
    24
    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
    13
    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 MDL Expert

    Mar 7, 2014
    1,512
    647
    60
    If u have 1 giga of ram to spare use ramdisk place the temp files there
     
  4. TairikuOkami

    TairikuOkami MDL Addicted

    Mar 15, 2014
    715
    592
    30
    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