


Exact Steps on How to Clear Protection History on Windows
Jun 28, 2025 am 12:19 AMVarious ways to clear Windows Defender protection history
Have you noticed Windows Defender's protection history? Do you know how to clear protection history in Windows 10/11? This article by MiniTool will provide you with several reliable ways to achieve this.
What is Windows Defender Protection History?
Windows Defender is an antivirus software built into your computer to protect your computer from viruses, malware threats and attacks. Information about the actions you take, deleted potentially harmful applications, or closed critical services, etc. are stored on the Protection History page on behalf of your actions, deleted potentially harmful applications, or closed critical services.
Windows Defender retains its protection history by default for 30 days. You can use the following methods to clear them by that date to improve computer performance.
How to clear protection history in Windows 11/10?
Method 1: Use File Explorer (manually)
Windows Defender stores protection history logs as access to files on your computer. Therefore, you can manually clear the protection history through File Explorer.
Step 1. Press the Windows E key combination to open File Explorer. Then go to the View tab and select the check box next to " Hidden items ".
Step 2. Type C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service in the address bar and press Enter . Or you can navigate to this location layer by layer.
Step 3. Select All Files, right-click and select Delete .
Method 2: Use event viewer (manually)
The Windows Event Viewer displays logs of application and system messages, including errors, message messages, and warnings. If you don't know how to clear the protection history, you can refer to the following steps to use it.
Step 1. Type Event Viewer in the Windows Search box and click it from the Best Match Results.
Step 2. Expand the Application and Services Log by clicking the inverted triangle button next to it. Then expand Microsoft > Windows . Then scroll down to expand Windows Defender .
Step 3. Click Action and select Clear Log from the right panel.
Step 4. In the pop-up window, click Clear or Save and Clear to clear the log.
Method 3: Use Windows PowerShell (automatic)
Windows PowerShell is a command line tool that is commonly used to automate system management. Here you can set it to automatically clear Windows Defender protection history.
Step 1. Type Windows PowerShell in the Windows Search box, right-click it and select Run as Administrator .
Step 2. In the pop-up window, select Yes to allow this application to change your computer.
Step 3. Type this command: Set-MpPreference -ScanPurgeItemsAfterDelay N and press Enter ( N refers to the number of days you want to automatically clear the protection history).
For example, if you want to automatically clear the protection history after 5 days, you need to type this command line: Set-MpPreference -ScanPurgeItemsAfterDelay 5 .
Method 4: Use the local group policy editor (automatic)
The Local Group Policy Editor is a Microsoft Management Console (MMC) snap-in. You can configure and modify Group Policy settings through this tool. It also helps you automatically clear protection history.
Step 1. Press the Windows R keyboard shortcut to open Run .
Step 2. Type gpedit.msc in the input box and press Enter .
Step 3. Expand the following folders: Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus .
Step 4. Under the Windows Defender Antivirus software section, select Scan .
Step 5. On the right panel, double-click to enable deleting items from the Scan History folder .
Step 6. Select Enabled in the new window. Then set the number of days the item should remain in the scan history folder before permanently deleting it, and click Apply .
Now that all operations are done, you do not need to manually clear the protection history. The system will automatically clear the Windows Defender protection history based on the number of days you set.
Summarize
In short, this article describes how to clear protection history in Windows 10/11. You can choose your favorite method to clear it for the best computer performance. For more information about Windows Defender, please visit the MiniTool News Center.
The above is the detailed content of Exact Steps on How to Clear Protection History on Windows. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

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

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

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)

This Google translate picture guide shows you how to translate text from an image. If you are looking for more computer tips and solutions, you can visit php.cn Software official website where you can also find some useful computer tools like php.cn

The operating system is the basic software for managing hardware resources, running programs, and providing user interaction interfaces. It coordinates the relationship between hardware and software and is responsible for memory allocation, device scheduling, file management and multitasking. Common systems include Windows (suitable for office and gaming), macOS (Apple devices, suitable for creative work), Linux (open source, suitable for developers), and Android/iOS (mobile device system). The choice of ordinary users depends on the usage scenario, such as software compatibility, security and customization requirements. How to view system information: Use winver command for Windows, click on the machine for macOS, use terminal commands for Linux, and find the phone in settings. The operating system is the underlying tool for daily use,

Have you ever wanted to adjust computer settings to fix some issues but suffered from Control Panel not opening? There is nothing more frustrating than this app not turning on, stopping you from viewing and changing system settings. In this post, mul

What is Dell Digital Locker? How to log into Dell Digital Locker? This post from php.cn provides answers. Besides, you can know how to use your Dell Digital Locker to find software products included with your Dell computer.

This essay summarized by php.cn Software mainly teaches you how to open Windows 11 Computer Management with Windows Search, Quick Link menu, Run dialog, command prompt, PowerShell, File Explorer, Control Panel, as well as a desktop shortcut.

AMD offers an AMD Driver Auto-Detect Tool to help users automatically download and update the drivers of the installed AMD products. Check how to download AMD Driver Auto-detect Tool on Windows 10/11 and how to use it to get the latest AMD drivers. F

What is Airplane Mode on iPhone? What does Airplane Mode do on iPhone? How to turn it on your iPhone? When to use it? This post from php.cn introduces information about iPhone Airplane Mode.

People usually access restricted websites that are blocked in their region via VPN. But what if you encounter the VPN not working on Chrome? That can really drive you crazy. Fortunately, you can find a couple of useful solutions in this guide. Get st
