• 欢迎访问情深深几许的博客网站,这里有免费网络资源信息,WordPress教程,Python、MySQL教程
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏本网站吧

How to Clear Protection History in Windows 10/11

技术日志 luckzk 1年前 (2023-03-05) 278次浏览 0个评论

Have you ever noticed the Windows Defender protection history? Do you have any idea how to clear protection history in Windows 10/11? This post from MiniTool provides you with several reliable ways to achieve this goal.

What Is Windows Defender Protection History

Windows Defender is antivirus software built into your PC that protects your computer from viruses, malware threats, and attacks. Information such as actions taken by Microsoft Defender Antivirus on your behalf, potentially unwanted applications that have been removed, or critical services that have been shut down are stored on the Protection History page.

Windows Defender keeps its protection history for 30 days by default. You can clear them before this date to improve computer performance by using the following ways.

How to Clear Protection History in Windows 11/10

Way 1. Using File Explorer (Manually)

Windows Defender stores protection history logs as accessing files on your computer. So, you can manually clear protection history through File Explorer.

Step 1. Press Windows + E key combinations to open File Explorer.

Step 2. Type C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service in the address bar and press Enter.

Step 3. Select all files and right-click to choose Delete.

How to Clear Protection History in Windows 10/11

Way 2. Using Event Viewer (Manually)

Windows Event Viewer displays a log of application and system messages, including errors, information messages, and warnings. If you do not know how to clear protection history, you can use it by referring to the following steps.

Step 1. Type Event Viewer in the Windows search box and click it from the best match result.

Step 2. Expand Applications and Services Logs by clicking the inverted triangle button next to it. Then expand Microsoft > Windows. And then scroll down to expand Windows Defender.

Step 3. Click on Operational and choose Clear log from the right panel.

How to Clear Protection History in Windows 10/11

Step 4. In the pop-up window, click Clear or Save and Clear to clear the log.

How to Clear Protection History in Windows 10/11
7 Ways to Open Event Viewer Windows 10 | How to Use Event Viewer

This tutorial offers 7 ways to open Event Viewer Windows 10, and introduces how to use Event Viewer on Windows 10.

READ MORE

Way 3. Using Windows PowerShell (Automatically)

Windows PowerShell is a command-line tool that is commonly used to automate system administration. Here you can set it to automatically clear Windows Defender protection history.

Step 1. Type Windows PowerShell in the Windows search box and right-click it to select Run as administrator.

Step 2. In the pop-up window, select Yes to allow this app to change your computer.

Step 3. Type this command: Set-MpPreference -ScanPurgeItemsAfterDelay N and press Enter (N refers to the days after which you want the protection history to be automatically cleared).

For example, if you want the protection history to be automatically cleared after 5 days, you need to type this command line: Set-MpPreference -ScanPurgeItemsAfterDelay 5.

How to Clear Protection History in Windows 10/11
How to Clear Protection History in Windows 10/11
Ways to Open Windows Programs and Features

You can open Windows Programs and Features tool to uninstall or change a program. Here are some useful ways to open this setting.

READ MORE

Way 4. Using Local Group Policy Editor (Automatically)

Local Group Policy Editor is a Microsoft Management Console (MMC) snap-in. You can configure and modify group policy settings through this tool. Also, it can help you clear protection history automatically.

Step 1. Press Windows + R keyboard shortcuts to open Run.

Step 2. Type gpedit.msc in the input box and press Enter.

How to Clear Protection History in Windows 10/11

Step 3. Expand the following folders one by one: Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus.

Step 4. Under the Windows Defender Antivirus section, select Scan.

Step 5. On the right panel, double-click Turn on removal of items from scan history folder.

How to Clear Protection History in Windows 10/11

Step 6. Select Enabled in the new window. Then set up the number of days that items should remain in the scan history folder before being permanently deleted, and click Apply.

How to Clear Protection History in Windows 10/11

Now, all operations have been done, and you won’t need to clear protection history manually. The system will automatically clear Windows Defender protection history according to the number of days you set.


情深几许 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:How to Clear Protection History in Windows 10/11
喜欢 (0)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址