Can’t Clear Protection History in Windows 11/10 Defender

Published by Nyau Wai Hoe - Updated on

If you have come across a section in the Windows 11 or Windows 10 Settings called “Protection history“, it is just a record of scanned files and activities done by Microsoft Defender, the built-in Windows’ antivirus solution. When you’re thinking about clearing the protection history, you might run into some issues, like the option being not clickable or that it just doesn’t respond. In this guide, we’ll talk about this problem and how you can fix it in order to successfully clear the protection history.

Also see: How to Clear Timeline Activity History in Windows 10 or 11

Can't Clear Protection History in Windows Defender

Clear Windows Defender protection history using File Explorer

The Windows Defender protection history is normally kept in a specific folder on your PC. To delete it, you need to go to this folder and remove its contents. Follow the steps below to do so.

Step 1: Show hidden files and folders in File Explorer

Some system files, like the Windows Defender protection history files, are hidden to prevent you from accidentally deleting them. But in order to delete them, you need to make them visible first.

  1. Open File Explorer by pressing the Windows key + E or clicking the File Explorer icon on your taskbar.
  2. Click on the “View” tab at the top of the File Explorer window. It’s next to the “File” tab.
  3. In the “Show” area of the ribbon, there’s a checkbox for “Hidden items.” Click this box to show hidden files and folders.Show or hide hidden items Windows 11

Learn more: How to Unhide a File or Folder in Windows 11

Step 2: Delete Protection History files from the “Service” directory

Now that you can see hidden files, you can now delete the files related to the Windows Defender protection history:

  1. Open File Explorer again if it’s not already open.
  2. Go to the directory below either by copying and pasting it into File Explorer’s address bar or by browsing through the folders:
    C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service
  3. In the “Service” folder, you’ll find files related to Windows Defender’s protection history. Select all these files. You can press Ctrl + A to select all quickly.
  4. After selecting, right-click on the files and choose “Delete” from the context menu.Can't Clear Protection History in Windows 11 10
  5. If a confirmation prompt appears, click “Yes” to delete the files.
  6. Close File Explorer after deleting the files.

Related resource: How to Reinstall Windows Defender in Windows 11

Clear Windows Defender protection history using Event Viewer

If you find it tough to clear the Windows Defender protection history using File Explorer or if you prefer another method, try Event Viewer.

  1. Open the Run dialog by pressing Windows key + R.
  2. Type “eventvwr.msc” and click “OK” to open Event Viewer.Open Event Viewer via Run
  3. In Event Viewer, click on the “Applications and Services Logs” folder to expand it.
  4. Click on the “Microsoft” folder to see more options.
  5. Find and click on the “Windows” folder under “Microsoft.”
  6. Double-click on the “Windows Defender” folder. You’ll see different folders for Windows components.Windows Defender history in Event Viewer Windows 11
  7. In the right pane, find “Operational” under Windows Defender logs. Double-click it.Windows Defender Operational Logs
  8. To clear the history, right-click on “Operational” on the left pane and select “Clear Log…” from the context menu.Clearing Windows Defender protection history
  9. When a dialog box pops up asking if you want to clear the log, click “Clear.”

This will remove all the Windows Defender protection history logs. The next time you check the Windows Defender Protection History section, it should show nothing or only the new things that has happened after you clearing it.


Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of WindowsDigitals.com. With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link