


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)

Hot Topics

In this post, you’ll learn how to translate a web page in Google Chrome on desktop or mobile, how to adjust Google translation settings, how to change Chrome language. For more Chrome tips, computer tips, useful computer tools, you can visit php.cn S

Esentutl.exe is an executable file, playing a significant role in Windows system. Some people find this component lost or not working. Other errors may emerge for it. So, how to fix the esentutl.exe error? This article on php.cn Website will develop

If you can’t see the font or the graphics on your computer screen, you can zoom in on Windows 10 for a better view of the screen. Do you know how to zoom in on PC? It is not difficult. In this post, php.cn Software will show you how to zoom in on you

TheAlienwareAG275UXMdeliversstrongcoloraccuracyandwidegamutcoveragesuitableforbothcreativeworkandgaming.1.Itoffersfactory-calibratedcoloraccuracywithΔEbelow2,oftenreachingΔE

This tutorial teaches you how to delete TikTok account permanently from your device. You can go to your TikTok account settings to easily delete your account. After you delete the account, it will be deactivated for 30 days and be permanently deleted

In your Windows Settings or you main full-screen, you may see the “your version of Windows has reached end of service” message. What does it mean? How to remove this message? This post from php.cn tells the details for you.

What is NTLite used for? How do I debloat an ISO in Windows 11? If you want to debloat Windows 11 before installing it, you can run NTLite to create your own Lite Edition. In this post, php.cn will guide you NTLite Windows 11 download and how to use

Hogwarts Legacy has caught many players’ eyes since its debut. New games will have many issues that need optimization at launch and Hogwarts Legacy is no exception. In this post on php.cn Website, we will show you how to fix Hogwarts Legacy not using
