Table of Contents
What is historical preservation?
How to clear protection history in Windows 11?
1. Use File Explorer
2. Via Event Viewer
2. Use the local Group Policy Editor (Gpedit)
Is it safe to clear protection history in Windows 11?
Home Common Problem How to clear protection history in Windows 11: 2 methods

How to clear protection history in Windows 11: 2 methods

Apr 23, 2023 am 08:04 AM
windows 11 history record Clear Protect

When your PC is running out of storage space, you can instantly view many folders to free up space. One of them that consumes a big part is Windows Defender protection history, but can you clear it in Windows 11?

Although not entirely necessary, deleting protection history can actually help clear some storage space on your system. For some users, these files take up 20-25 GB of space, which can be daunting if your computer is low on storage space.

So, let’s find out what protection history is, all the ways to clear it in Windows 11, and how to configure it to clear automatically after a set time.

What is historical preservation?

Microsoft provides built-in antivirus software Windows Defender to keep your system safe and protected from any threats and viruses.

To achieve this, Windows Defender will run periodic scans in the background, if it is enabled, and log the issues it identifies and the actions it takes. It will list potentially unwanted apps that have been blocked or removed, or if any critical services have been turned off.

These logs or information are called Windows Defender protection history or simply protection history. It classifies problems based on their severity. Keep in mind that you need administrator privileges to view the details of these operations.

Now that you have a decent understanding of the process, let us walk you through how to clear protection history in Windows 11.

How to clear protection history in Windows 11?

1. Use File Explorer

  1. Press Windows E to start File Explorer and change the following Paste the path into the address bar at the top and hit Enter. Alternatively, you can navigate this path, just make sure to make the hidden files visible: <strong>C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service</strong>在 Windows 11 中清除保护历史记录的 2 种方法
  2. Once there, press Ctrl A to select all the files, then hit Delete to clear them. 在 Windows 11 中清除保护历史记录的 2 种方法
  3. If a confirmation prompt pops up, please choose the appropriate response.
  4. Now, go this route<strong>:C:\ProgramData\Microsoft\Windows Defender\Scans </strong>
  5. Findmpenginedb.db file, right-click on it and select the Delete icon from the context menu. 在 Windows 11 中清除保护历史记录的 2 种方法
  6. Likewise, if a confirmation prompt appears, choose the appropriate response.
  7. When finished, press Windows S to launch the search menu, enter Windows Security in the text field, and click on the relevant search result. 在 Windows 11 中清除保护历史记录的 2 种方法
  8. Click Virus & Threat Protection from the options here. 在 Windows 11 中清除保护历史记录的 2 种方法
  9. Next, click Manage Settings under Virus & Threat Protection Settings. 在 Windows 11 中清除保护历史记录的 2 种方法
  10. Click the toggle button for Real-time Protection to disable it. 在 Windows 11 中清除保护历史记录的 2 种方法
  11. Click Yes on the pop-up UAC (User Account Control) prompt. 在 Windows 11 中清除保护历史记录的 2 种方法
  12. Likewise, disable Cloud-provided protection under it. 在 Windows 11 中清除保护历史记录的 2 种方法
  13. Wait a moment and then re-enable both features. 在 Windows 11 中清除保护历史记录的 2 种方法

Protection history in Windows 11 has been cleared successfully. Additionally, you now know where Windows Defender history is on your PC and can easily delete it next time.

2. Via Event Viewer

  1. Press Windows S to launch the search menu and enter Event Viewer## in the text field # and click the relevant search results. 在 Windows 11 中清除保护历史记录的 2 种方法
  2. Double-click
  3. Applications and Services Logs in the left navigation pane. <strong></strong>在 Windows 11 中清除保护历史记录的 2 种方法
  4. Now, expand
  5. Microsoft to see the options below it. 在 Windows 11 中清除保护历史记录的 2 种方法
  6. Next, double-click
  7. Windows. 在 Windows 11 中清除保护历史记录的 2 种方法
  8. Expand
  9. Windows Defender and click the Operational entry below it. 在 Windows 11 中清除保护历史记录的 2 种方法
  10. Click
  11. on the right to clear the log. <strong></strong>在 Windows 11 中清除保护历史记录的 2 种方法
  12. Now, choose the appropriate response from the confirmation prompt depending on whether you want to save its contents or delete it completely. We recommend the latter.
  13. 在 Windows 11 中清除保护历史记录的 2 种方法
Here's how you clear protection history using Event Viewer in Windows 11. This method is relatively simple and more efficient for those who regularly check the error logs in Windows 11.

Both methods help to clear protection history manually, but what if you want to clear it automatically? There are several ways to do this. Read the next section to find out.

How to set protection history to clear automatically?

1. Use Windows PowerShell

    Press
  1. Windows R to start the run command and enter wt## in the text field #, hold down the Ctrl Shift key, and click OK or hit Enter to launch an elevated Windows Terminal. <strong></strong>在 Windows 11 中清除保护历史记录的 2 种方法Click
  2. Yes in the pop-up UAC prompt.
  3. <strong></strong>在 Windows 11 中清除保护历史记录的 2 种方法Now, paste the following command into the
  4. PowerShell
  5. tab and hit Enter to execute it. Just make sure to replace the N here with the number of days you want your protection history to be automatically cleared. Set-MpPreference -ScanPurgeItemsAfterDelay N<strong></strong>For example, if you want the protection history to be automatically purged after 7 days, the command is as follows:
  6. Set- MpPreference -ScanPurgeItemsAfterDelay 7<strong></strong>在 Windows 11 中清除保护历史记录的 2 种方法
Expert Tip:

Some PC problems are difficult to solve, especially if the repository is corrupted or Windows files are missing . If you are having trouble fixing errors, your system may be partially corrupted. We recommend installing Restoro, a tool that can scan your machine and determine where the fault lies. Click here to download and start repairing.
This is probably the easiest way to automatically clear protection history in Windows 11 using PowerShell. But if you're not a big fan of the command line, try the next method.

2. Use the local Group Policy Editor (Gpedit)

  1. Press Windows R to start the run command and enter gpedit . msc in the text field and click OK or click Enter to launch the Local Group Policy Editor. 在 Windows 11 中清除保护历史记录的 2 种方法
  2. Expand Administrative Templates and double-click Windows Components. 在 Windows 11 中清除保护历史记录的 2 种方法
  3. Next, double-click Microsoft Defender Antivirus and then Scan under it. 在 Windows 11 中清除保护历史记录的 2 种方法
  4. Double-click the "Remove items from scan history folder" policy here . 在 Windows 11 中清除保护历史记录的 2 种方法
  5. Select Enable from the top, enter the number of days before history will be deleted, and click OK at the bottom to save changes. 在 Windows 11 中清除保护历史记录的 2 种方法

That's it! Protection history will now be cleared automatically after a set number of days. If you want to keep the protection history permanently, enter 0 as the number of days in the field.

If you're running the Home edition of the operating system, learn how to install Local Group Policy Editor in Windows 11.

Is it safe to clear protection history in Windows 11?

There is no harm in clearing protection history in Windows 11, and it certainly won’t affect the functioning of your PC in any way. What's more, these files will show up in Disk Cleanup if you run a scan.

And regardless of whether Windows Defender is now disabled and you are using third-party antivirus software, you can still clear old log files.

Additionally, if files have accumulated over time and their size has increased significantly, it may cause a crash each time you open Windows Defender Protection History. More reasons to clear your protected history

That’s what this concept is all about. Furthermore, the methods listed here also help to clear Windows Defender protection history in Windows 10 manually.

If virus and threat protection isn't working, learn how to fix it because the problem is common and without it, you won't be able to access protection history through Windows Defender.

Also, if your PC is low on resources, you may consider disabling the Antimalware Service Executable (Windows Defender process) as it is known to consume system resources.

The above is the detailed content of How to clear protection history in Windows 11: 2 methods. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Windows Security history is missing or not showing up in Windows 11 Windows Security history is missing or not showing up in Windows 11 Feb 28, 2024 pm 03:58 PM

Are you worried that your lost Windows Defender history hides infections? Windows Security's protection history tracks defenders' behavior to help you easily identify and remove threats. But what if your Windows security history is empty, missing, or not showing up? In this article, we'll look at the possible causes and the steps you can take to correct the problem. Why is Windows protection history missing? If you haven't cleared your Windows Defender protection history recently but it still appears blank, the reasons may be: History settings not enabled: If you disable history settings, Microsoft Defender is not configured correctly

How to view viewing history on Kuaishou? Where is the viewing history on Kuaishou? How to view viewing history on Kuaishou? Where is the viewing history on Kuaishou? Mar 20, 2024 pm 06:50 PM

Kuaishou is a short video viewing platform used by many users. It is a good choice for passing time. It can relieve worries and boredom. Everyone can watch some short videos every day. Of course, sometimes everyone , I accidentally swiped my hand too fast and accidentally swiped over the video I liked. As a result, no one has collected these good-looking videos, so everyone still wants to watch these videos again, so you can use Use the viewing history on the software to see all the videos you have watched before, so that you can better find videos. You can view them in a few simple steps. Come and try it out. How to view Kuaishou's browsing history: 1. First enter Kuaishou, and then click on the three horizontal lines in the upper left corner. 2. Then click

How to completely remove viruses from mobile phones Recommended methods to deal with viruses in mobile phones How to completely remove viruses from mobile phones Recommended methods to deal with viruses in mobile phones Feb 29, 2024 am 10:52 AM

After a mobile phone is infected with a certain Trojan virus, it cannot be detected and killed by anti-virus software. This principle is just like a computer infected with a stubborn virus. The virus can only be completely removed by formatting the C drive and reinstalling the system. , then I will explain how to completely clean the virus after the mobile phone is infected with a stubborn virus. Method 1: Open the phone and click "Settings" - "Other Settings" - "Restore Phone" to restore the phone to factory settings. Note: Before restoring factory settings, you must back up important data in the phone. The factory settings are equivalent to those of the computer. "It's the same as formatting and reinstalling the system". After the recovery, the data in the phone will be cleared. Method 2 (1) First turn off the phone, then press and hold the "power button" + "volume + button or volume - button" on the phone at the same time.

Windows Defender history crash; detection cannot be removed. log Windows Defender history crash; detection cannot be removed. log Feb 23, 2024 am 09:37 AM

WindowsDefender is the default antivirus software in Windows PC that protects the PC from various threats like 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

How to retrieve the history of station b How to retrieve the history of station b Nov 08, 2023 pm 01:32 PM

How to retrieve the history record of Station B: 1. Open the APP of Station B and enter the "My" option; 2. Click on History above the My Options page; 3. After jumping to the history page, select the history you want to view Just record it.

Application practice of Python in software source code protection Application practice of Python in software source code protection Jun 29, 2023 am 11:20 AM

As a high-level programming language, Python language is easy to learn, easy to read and write, and has been widely used in the field of software development. However, due to the open source nature of Python, the source code is easily accessible to others, which brings some challenges to software source code protection. Therefore, in practical applications, we often need to take some methods to protect Python source code and ensure its security. In software source code protection, there are a variety of application practices for Python to choose from. Below are some common

How to free up WPS cloud document space How to free up WPS cloud document space Feb 24, 2024 pm 06:12 PM

How to clear WPS cloud document space when it is full. With the rapid development of cloud technology, more and more people are beginning to use cloud storage to store and manage their files. Among them, WPS Cloud Document, as an intelligent office software, is very popular among users. However, as the usage time increases and files accumulate, the storage space of WPS cloud documents may be filled up. So, when the WPS cloud document space is full, how should we clear it? Next, we will introduce some common cleaning methods to you. The first method is to completely delete unwanted files. W

How to delete protection history in Win11 system How to delete protection history in Win11 system Feb 19, 2024 pm 03:10 PM

In the Win11 system, our activity records may leak privacy, and some users want to delete these records to protect privacy. To delete protection history, you can follow these steps: First open Settings, then select Privacy & Security options, then tap Activity History, and finally tap Clear History to delete. This can effectively clear the protection history in the Win11 system and protect personal privacy information. Deletion method: 1. Click "Start" in the taskbar in the lower left corner and select "Settings" in the menu list. 2. After entering the new interface, click "Privacy and Security" in the left column, and then click "Activity" in the right column.