Windows Safety is A free virus and threat protection tool from Microsoft. Information technology is available on all Windows 11/10 computers. The features that Windows Security offers include virus in addition to threat protection, business organization human relationship protection, Firewall together with earnings protection, etc. All the actions taken past Windows Security to protect your devices remain available on the Protection history page for H5N1 definite fourth dimension. Afterwards this fourth dimension, Windows automatically clears the protection history. If yous wish Windows Safety to retain the protection history for H5N1 long time, y’all tin modify the default fourth dimension settings. In this article, nosotros will run across how to modify the time to clear Windows Safety Protection History.
What is the Protection History inwards Windows Safety?
Windows Defender is an antivirus developed by Microsoft. From time to fourth dimension, information technology runs safety checks on your organization. You lot tin mail away besides scan your organisation manually by using Windows Defender. The threats establish yesteryear Windows Defender together with the actions taken by IT to resolve the threats are saved on the Protection History page of Windows Safety.
Modify Time to Clear Windows Security Protection History
The default time to clear Windows Safety Protection History is Fifteen days. This agency that the protection history of Windows Safety volition go cleared automatically afterward Fifteen days. Yous tin flame visit this default time on your calculator by running Influenza A virus subtype H5N1 control in an elevated Windows PowerShell.
Start through the next instructions to sentiment the time to clear Windows Safety Protection History.
- Click on Windows Search.
- Type PowerShell.
- Right-click on Windows PowerShell too choose Run every mo Administrator.
- Click Yeah in the UAC prompt.
- When the PowerShell (Admin) appears on your cover, re-create the ascendance written below, paste IT into the PowerShell, as well as striking Come inward.
Get-MpPreference | Select-Object -Property ScanPurgeItemsAfterDelay
You volition meet the fourth dimension to clear Windows Security Protection History later the ScanPurgeItemsAfterDelay inward the number. Practise banking corporation electric charge that, there should be no space after the ascendence, otherwise, yous will run H5N1 blank effect (meet the inward H5N1 higher scope screenshot).
Unopen Windows PowerShell (Admin) together with launch IT again as an administrator. Re-create the next dominance together with paste IT into the Windows PowerShell (Admin). Afterwards that, hitting Come in.
Set-MpPreference -ScanPurgeItemsAfterDelay days
Inwards the above dominance, supplant days amongst the publish of days later which you lot wishing Windows to clear the protection history of Windows Safety automatically. For instance, if yous desire to clear the protection history of Windows Safety automatically later Lx days, type Sixty in identify of days inward the higher up ascendency. Inward this example, the command volition be:
Set-MpPreference -ScanPurgeItemsAfterDelay Sixty
If you wishing Windows to not clear the protection history automatically, type 0 in put of days inwards the to Flu A virus subtype H5N1 higher put ascendance. Hence, in this illustration, the command volition be:
Set-MpPreference -ScanPurgeItemsAfterDelay 0
That’s IT. You lot cause successfully changed the time to clear the protection history of Windows Security. Yous tin banking enterprise stand for this by executing the ascendence used to opinion the fourth dimension to clear protection history. ANE changed the fourth dimension to clear the protection history of Windows Safety on my calculator to 120 days. You tin persuasion this inwards the higher upwards screenshot.
Read: How to Enable or Disable Substance Isolation too Retentiveness Integrity inwards Windows.
How do I delete my Protected History inwards Windows?
Y’all give the axe delete the Protection History of Windows Security manually. Windows saves the protection history inwards the History folder locally on your C campaign. Y’all tin sack stance IT by navigating to the next path:
C:ProgramDataMicrosoftWindows DefenderScansHistory
Here, you lot ship away manually clear the protection history of Windows Safety. Alternatively, yous tin give the axe besides execute A dominance inward Windows PowerShell for the same.
Hope this helps.