search
HomeComputer TutorialsComputer KnowledgeWindows Defender history crash; detection cannot be removed. log

Windows Defender history crash; detection cannot be removed. log

Feb 23, 2024 am 09:37 AM
windowsdefenderhistory record

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:每日运维. If there is any infringement, please contact admin@php.cn delete
    How to Fix Attachment Not Showing in Outlook 365?How to Fix Attachment Not Showing in Outlook 365?Apr 19, 2025 am 12:50 AM

    Do you have trouble downloading or sending attachments in Outlook 365? Sometimes, Outlook doesn’t show them for some unknown reason, so you are unable to see them. In this post on php.cn Website, we collect some use tips for attachments not showing.

    How to Fix V Rising Connection Timed out? Here Are 5 Solutions! - MiniToolHow to Fix V Rising Connection Timed out? Here Are 5 Solutions! - MiniToolApr 19, 2025 am 12:49 AM

    When V Rising players try to join a server that is close to or already full, they may encounter the “V Rising connection timed out” issue. If you are one of them, you can refer to this post from php.cn to get solutions. Now, keep on your reading.

    How to Turn on/off Real-Time Protection in Windows Security? - MiniToolHow to Turn on/off Real-Time Protection in Windows Security? - MiniToolApr 19, 2025 am 12:48 AM

    Windows supplies real-time protection via Windows Security. But this feature may prevent you from doing something it thinks are dangerous. In this situation, you may want to temporarily turn on real-time protection. This php.cn post will show you how

    Windows 11 24H2 or Windows 12? Does This Matter?Windows 11 24H2 or Windows 12? Does This Matter?Apr 19, 2025 am 12:47 AM

    Microsoft has started working on next year’s Windows updates very early. Recent rumors state that the next update in 2024 might be Windows 11 24H2 rather than Windows 12. Everything is uncertain now. php.cn will now take you to see some related infor

    Fix: Unable to Perform Requested Operation – Error 0x80030001 - MiniToolFix: Unable to Perform Requested Operation – Error 0x80030001 - MiniToolApr 19, 2025 am 12:46 AM

    The error 0x80030001 often happens when you are attempting to copy files. The error code will be accompanied by a message that tells “unable to perform requested operation”. If you are struggling with this error, you can read this article on php.cn W

    How to Download and Install Windows 11 KB5034765How to Download and Install Windows 11 KB5034765Apr 19, 2025 am 12:45 AM

    On February 13, 2024, Microsoft released KB5034765 (OS builds 22621.3155 and 22631.3155) for Windows 11 22H2 and Windows 11 23H2. This security update brings you many new improvements and bug fixes. You can learn how to download and install Windows 1

    Power Management Tab Missing from Device Manager - Top GuidePower Management Tab Missing from Device Manager - Top GuideApr 19, 2025 am 12:44 AM

    Device Manager is widely used when you need to fix some computer issues. You can check the problematic devices and decide to uninstall or update device drivers. Besides, you can also set Power Management settings in Device Manager. However, you may f

    2 Ways to Reset Windows Backup to Default in Windows 11/102 Ways to Reset Windows Backup to Default in Windows 11/10Apr 19, 2025 am 12:43 AM

    When Backup and Restore (Windows Backup) fails to work, you can choose to reset it to default. How to restore Windows Backup to default in Windows 11/10? php.cn will guide you to easily do this thing in 2 ways and let’s go to see them.

    See all articles

    Hot AI Tools

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Clothoff.io

    Clothoff.io

    AI clothes remover

    Video Face Swap

    Video Face Swap

    Swap faces in any video effortlessly with our completely free AI face swap tool!

    Hot Tools

    MinGW - Minimalist GNU for Windows

    MinGW - Minimalist GNU for Windows

    This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

    Dreamweaver Mac version

    Dreamweaver Mac version

    Visual web development tools

    Safe Exam Browser

    Safe Exam Browser

    Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

    SublimeText3 Mac version

    SublimeText3 Mac version

    God-level code editing software (SublimeText3)

    ZendStudio 13.5.1 Mac

    ZendStudio 13.5.1 Mac

    Powerful PHP integrated development environment