Latest News “Stay informed with breaking news, world news, US news, politics, business, technology, and more at latest news.

Category: Microsoft Defender

Auto Added by WPeMatico

  • How to Clear Windows Defender Protection History on Windows 11

    No clue about the Protection History of Windows Defender or Security? Why is it showing you the detection? The Protection History page on the Windows Security app is there for a reason, and whether you should clear it or not, let’s check it out.

    What is Windows Defender Protection History?

    Windows Defender or Windows Security Protection History is a page that shows all past detections.

    Since the tool runs in the background, and constantly blocks threats from entering your system. It doesn’t notify you of every threat it has blocked, but you can see them from the Protection History page.

    On the Protection History screen, you will see all detections, such as Viruses, Malware, Potentially Unwanted Apps, etc. It also shows you the actions it took to eliminate the threats.

    How Long Does Windows Defender Store the Protection History?

    The Windows Defender or Security app stores the history of its detection for about 30 days. This means that if you don’t clear the Protection History within 30 days, it will be cleared automatically.

    If you are running out of storage space on your PC or you want the Defender app to run more smoothly, you can consider manually clearing the detection history.

    Important Things to Do Before Cleaning the Protection History

    Before you follow the steps to clear your Windows Defender Protection history, it’s important to scan your PC for viruses and malware with a reliable antimalware scanner.

    This is to assure that your PC is safe and security threats won’t enter if something goes wrong while making changes to Windows Security.

    You can use any reliable malware scanner, such as Malwarebytes or AVG Antivirus. You can check our list of best antivirus tools to pick the best security software for your computer.

    1. Clear Windows Security Protection History Manually

    You can clear the Protection history directly from your local drive. Here’s what you need to do.

    1. Open the File Explorer of your computer (Windows + E). When the File Explorer opens, open the Windows installation drive, usually C: drive for most users.

    2. Click on the View option at the top.

    3. On the menu that appears, select Show > Hidden Items.

    select the Hidden items option

     

    4. Now navigate to this path:

    C:ProgramDataMicrosoftWindows DefenderScansHistory

    open File Explorer

    5. Double click on the Service in the History folder.

    Service

    6. In the Service folder, right-click on the History and select Delete.

    How to Clear Windows Defender Protection History on Windows 11

    Important: If you are unable to delete that specific folder or file, boot your PC into safe mode and repeat the same steps. Booting the PC into safe mode works most of the time.

    2. Clear Windows Security Protection History via Event Viewer

    You can also use Event Viewer on Windows 11 to clear the Windows Security Protection History. To do so, follow these steps.

    1. Click the Windows 11 search and type in Event Viewer. Next, open the Event Viewer app from the list of options.

    Event Viewer

    2. On the Event Viewer, select the Event Viewer (Local) and then expand the Applications and Services Logs.

    Applications and Services Logs

    3. Select the Microsoft folder.

    Microsoft

    4. On the right side, double click on Windows.

    5. On Windows, scroll down and double-click on Windows Defender.

    Windows Defender

    6. Double-click on the Operational on Windows Defender.

    Operational

    7. On the right pane, click on the Clear log button as shown below.

    Clear log

    8. You will see a confirmation prompt. Click on the Save and Clear button to clear the log.

    Save and Clear

    3. Clear Windows Defender Protection History via Local Group Policy

    The Local Group Policy editor can clear the Windows Security Protection History. Here’s what you need to do.

    1. Click on the Windows 11 search and type in Local Group Policy. Next, open the Local Group Policy Editor from the list.

    Local Group Policy Editor

    2. In the Local Group Policy Editor, navigate to the following path:

    Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan.

    navigate to the following path

    3. On the right side, find and double-click the Turn on removing items from scan history.

    Turn on removal of items from scan history

    4. On the Window that appears, select Enabled and enter the time frame. Don’t set the number of days to zero, as zero means forever. You must enter the days you want Windows security to clear the protection history. Once done, click on the OK button.

    select 'Enabled' and enter the time frame

    4. Clear Microsoft Defender Protection History via PowerShell

    If you’re comfortable handling the PowerShell utility, you can use it as well to clear the Protection history.

    1. Click on the Windows 11 search and type PowerShell. Next, right-click on PowerShell and select Run as administrator.

    How to Clear Windows Defender Protection History on Windows 11

    2. In the PowerShell Window, paste the following command and hit the Enter button.

    Set-MpPreference -ScanPurgeItemsAfterDelay 5

    paste the following command

    Important: The 5 at the end of the command represents the days after Windows security will clear the Protection History log. You can change the number as you wish.

    Windows Security Protection History Empty

    If the Protection History of Windows Security app already shows a blank screen, it’s a sign of a few problems.

    Many users have also reported that clicking on Protection History crashes their PC. If you’re experiencing the same or similar problem, you need to try the troubleshooting methods shared in this guide – Windows Security Protection History Empty/Missing? 8 Ways to fix it

    How to Fix Sleep Mode Not Working on Windows 11

    These are some of the best ways to clear the Microsoft Defender or Windows Security Protection History log on Windows 11. If you need more help removing the Defender Protection history log, let us know in the comments below.

    The post How to Clear Windows Defender Protection History on Windows 11 appeared first on TechViral.