Clear protection history in Windows defender security center- Windows 10

Discussion in 'Windows 10' started by coleoptere2007, Sep 7, 2019.

  1. coleoptere2007

    coleoptere2007 MDL Guru

    Joined:
    Apr 8, 2008
    Messages:
    3,182
    Likes Received:
    1,796
    Trophy Points:
    120
    #1 coleoptere2007, Sep 7, 2019
    Last edited: Sep 7, 2019
    With version 1903 it is not possible to clear the log of protection history collected when false positive or real malwares are detected by this toy.
    One possibility is to use Powershell and see which items are listed and could be modified.
    To do this type Get-MpPreference..
    In order to modity the delay of clearing potection history, the item related is ScanPurgeItemsAfterDelay and is set to 15 (meaning 15 days).

    To modify it at your choice then type in Powershell
    Set-MpPreference -ScanPurgeItemsAfterDelay N , set N as you want, mine is set to 1 day.

    Have a nice day. Coleo. :)
     
  2. stoppen

    stoppen MDL Junior Member

    Joined:
    Jun 10, 2012
    Messages:
    80
    Likes Received:
    18
    Trophy Points:
    0
    Nice find. I was wondering how I could clear that history.
     
  3. Polo6RGTI

    Polo6RGTI MDL Junior Member

    Joined:
    Jun 5, 2015
    Messages:
    66
    Likes Received:
    81
    Trophy Points:
    0
  4. stoppen

    stoppen MDL Junior Member

    Joined:
    Jun 10, 2012
    Messages:
    80
    Likes Received:
    18
    Trophy Points:
    0
    Thank you for that link. I will be spending a lot of time here playing with stuff.
     
  5. coleoptere2007

    coleoptere2007 MDL Guru

    Joined:
    Apr 8, 2008
    Messages:
    3,182
    Likes Received:
    1,796
    Trophy Points:
    120
  6. BAU

    BAU MDL Addicted

    Joined:
    Feb 10, 2009
    Messages:
    943
    Likes Received:
    2,042
    Trophy Points:
    30