Unable to clear protection history manually in windows defender security center in Windows 10 version 1903

Please any body help me with a proper solution.

* Moved from Win 10/Security


Question Info

Last updated August 20, 2019 Views 6,036 Applies to:

Specifies the number of days for which items are stored in the scan log folder. After this time, Windows Defender deletes the items. If you specify a null value, Windows Defender will not remove items. If you do not specify a value, Windows Defender will remove items from the default scan log folder, that is, 30 days.

You can specify a different delay period (in days) by running this command on the PowerShell administrator command line:

Set-MpPreference -ScanPurgeItemsAfterDelay 3

* 3 is the number of days after which the protection log and items in the log folder will be cleared.

16 people were helped by this reply


Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.