Home  >  Article  >  Computer Tutorials  >  Windows Defender history crash; detection cannot be removed. log

Windows Defender history crash; detection cannot be removed. log

PHPz
PHPzforward
2024-02-23 09:37:41494browse

Windows Defender is the default antivirus software in Windows PC, protecting the PC from various threats such as malware, viruses, and others. While Windows Defender keeps track of all its actions to protect your PC from these threats, many users complain about not being able to access Windows Defender protection history. In this article, we will tell you how to fix Windows Defender history crash and what to do if you cannot delete Detections.log.

Windows Defender历史记录崩溃;无法删除检测。日志

What is Windows Defender protection history?

Windows Defender’s History feature allows you to view a record of all threat detections and the actions the system has taken to protect your PC. This helps you understand threats to your system and countermeasures, and improves your awareness of system security.

You can view details such as the name, severity, category, status, and date of the threat. You can also view Windows Defender actions such as quarantine, remove, or allow the threat. If you think it's a false positive, you can resume Windows Defender protection operations.

Fix Windows Defender history crash

If you notice that Windows Defender's protection history is crashing or freezing, you may want to consider deleting the Detections.log file to resolve the issue. Here's what can help you solve this problem.

  • Using Event Viewer
  • Using PowerShell
  • Using Group Policy Editor
  • Let’s understand these methods in detail.

    Cannot remove detection in Windows Defender. Log

    1]Use Event Viewer

    Windows Defender历史记录崩溃;无法删除检测。日志

    Windows Event Viewer can track important logs to help analyze your computer's performance, security, and maintenance. You can utilize Windows Event Viewer to clear Windows Defender history.

    • In Windows Search, search for Event Viewer and open it.
    • Now, in Event Viewer, find the following path: Event Viewer Local Applications and Services Log; Microsoft; Windows; Windows>Windows Defender.
    • After entering the Windows Defender directory, open the operation folder.
    • In the right pane, click the Clear Log. button, and then in the prompt that appears, click Save and Clear or Clear to clear Windows Defender protection history.

    2]Use PowerShell

    Windows Defender历史记录崩溃;无法删除检测。日志

    Using PowerShell, you can set Windows Defender protection history to automatically clear after a set number of days.

    • Right-click on the Windows Start icon and open Terminal (Admin).
    • In Windows Terminal, paste the following command and press Enter.
    设置-MpPreference-ScanPurgeItemsAfterDelay 7

    The number '7' after ScanPurgeitemSafterDelay specifies the number of days you want Windows Defender history to be automatically purged. You can change it to your liking.

    3]Use Group Policy Editor

    Windows Defender历史记录崩溃;无法删除检测。日志

    You can also use Windows Group Policy Editor to automatically clear Defender protection history.

    • Press the Windows R key combination to open the Run dialog box, type gpedit.msc in the field, and then press the Enter key.
    • Now, in the Group Policy Editor, follow the path: Computer Configuration Administrative Templates Windows Components Microsoft Defender Antivirus Scan.
    • In the Scan folder, find the entry titled Open Remove items from Scan History folder and double-click it.
    • Change the entry's status from "Not Configured" to "Enabled". You can also specify the number of days after Windows Defender history is automatically cleared.

    I hope this article was easy to read and that you were able to solve this problem.

    Where is the Windows Defender scan history?

    You can access Windows Defender scan history by opening the Windows Security app and clicking the Virus & Threat Protection option. After that, select Threat History. You will see a list of threats that Microsoft Defender AntiVirus found, blocked, or quarantined.

    Windows Defender警告是真的还是假的?

    The Windows Defender warning on your web browser window is a scam that pretends to be from Microsoft or Apple and asks you to call a certain scammer number to fix the issue. The prompt can also ask you to click a link and install specific software that can steal all your data and allow hackers to gain control of your system.

    The above is the detailed content of Windows Defender history crash; detection cannot be removed. log. For more information, please follow other related articles on the PHP Chinese website!

    Statement:
    This article is reproduced at:mryunwei.com. If there is any infringement, please contact admin@php.cn delete