


Windows Defender history crash; detection cannot be removed. log
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.
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.
Let’s understand these methods in detail.
Cannot remove detection in Windows Defender. Log
1]Use Event Viewer
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
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
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Yes, MySQL can be installed on Windows 7, and although Microsoft has stopped supporting Windows 7, MySQL is still compatible with it. However, the following points should be noted during the installation process: Download the MySQL installer for Windows. Select the appropriate version of MySQL (community or enterprise). Select the appropriate installation directory and character set during the installation process. Set the root user password and keep it properly. Connect to the database for testing. Note the compatibility and security issues on Windows 7, and it is recommended to upgrade to a supported operating system.

The MySQL connection may be due to the following reasons: MySQL service is not started, the firewall intercepts the connection, the port number is incorrect, the user name or password is incorrect, the listening address in my.cnf is improperly configured, etc. The troubleshooting steps include: 1. Check whether the MySQL service is running; 2. Adjust the firewall settings to allow MySQL to listen to port 3306; 3. Confirm that the port number is consistent with the actual port number; 4. Check whether the user name and password are correct; 5. Make sure the bind-address settings in my.cnf are correct.

The main reasons for MySQL installation failure are: 1. Permission issues, you need to run as an administrator or use the sudo command; 2. Dependencies are missing, and you need to install relevant development packages; 3. Port conflicts, you need to close the program that occupies port 3306 or modify the configuration file; 4. The installation package is corrupt, you need to download and verify the integrity; 5. The environment variable is incorrectly configured, and the environment variables must be correctly configured according to the operating system. Solve these problems and carefully check each step to successfully install MySQL.

The solution to MySQL installation error is: 1. Carefully check the system environment to ensure that the MySQL dependency library requirements are met. Different operating systems and version requirements are different; 2. Carefully read the error message and take corresponding measures according to prompts (such as missing library files or insufficient permissions), such as installing dependencies or using sudo commands; 3. If necessary, try to install the source code and carefully check the compilation log, but this requires a certain amount of Linux knowledge and experience. The key to ultimately solving the problem is to carefully check the system environment and error information, and refer to the official documents.

Unable to access MySQL from the terminal may be due to: MySQL service not running; connection command error; insufficient permissions; firewall blocks connection; MySQL configuration file error.

Copy and paste in MySQL includes the following steps: select the data, copy with Ctrl C (Windows) or Cmd C (Mac); right-click at the target location, select Paste or use Ctrl V (Windows) or Cmd V (Mac); the copied data is inserted into the target location, or replace existing data (depending on whether the data already exists at the target location).

Pull vertical guides in Photoshop: Enable ruler view (View > ruler). Hover the mouse over the vertical edge of the ruler, and then the cursor becomes a vertical line with double arrows and hold and drag the mouse to pull out the reference line. Click Delete by dragging the guide, or hovering it into a cross.

VS Code can run on Windows 8, but the experience may not be great. First make sure the system has been updated to the latest patch, then download the VS Code installation package that matches the system architecture and install it as prompted. After installation, be aware that some extensions may be incompatible with Windows 8 and need to look for alternative extensions or use newer Windows systems in a virtual machine. Install the necessary extensions to check whether they work properly. Although VS Code is feasible on Windows 8, it is recommended to upgrade to a newer Windows system for a better development experience and security.
