Unable to clear protection history in Windows Defender

jccruz

Well-known member
Joined
Aug 24, 2021
Posts
99
Location
Portugal
Trying to clear the Windows Defender protection history, with no success:

1) C:\ProgramData\Microsoft\WindowsDefender\Scans\History\Service (deleting this folder "service", then turnning off and on protection in real time & cloud protection.), reboot windows.

2) Clearing the log through "event viewer."

3) Switching to 1 day the rule "Turn on removal of items from scan history folder" in gpedit.msc

4) In a privileged PowerShell running the command "Set-MpPreference -ScanPurgeItemsAfterDelay 1"

Im always getting the log populated as the image attached.

Any ideas?!?

Thanks in advance
 

Attachments

  • Captura de ecrã 2022-05-16 171310.png
    Captura de ecrã 2022-05-16 171310.png
    27 KB · Views: 26
Go to Local Disc "C" File Explorer. Allow Hidden Files & Folders to be viewed. Then in #1, leave out Service from your posted chain. Now just delete the Folders.
 
Thanks Corday, do you mean to leave de "Service" folder and delete the other ones, CacheManager can't be deleted.

Many thanks
 

Attachments

  • Captura de ecrã 2022-05-16 173859.png
    Captura de ecrã 2022-05-16 173859.png
    15.9 KB · Views: 5
Thanks Corday, do you mean to leave de "Service" folder and delete the other ones, CacheManager can't be deleted.

Many thanks
I think you just need to delete the SERVICE folder.

You should see logs inside called for example HISTORY and SCANS.
 
You showed this: 1) C:\ProgramData\Microsoft\WindowsDefender\Scans\History\Service
I meant this: 1) C:\ProgramData\Microsoft\WindowsDefender\Scans\History
Then follow my Post #2.
 
I've just done what's in the forum you mentioned, cleared the log but still gives me the populated page shown in my first post, thanks.Captura de ecrã 2022-05-16 223523.png
 
Have you tried turning OFF Real-Time Protection and Cloud Protection prior to deleting the SERVICE folder?
And turning both back ON after.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top