Fix Can’t Delete Detection History in Windows 11

Ways to remove Detection History in Windows 11.

Can't Delete Detection History

Once Microsoft Defender detects a file located in software or app the tool marks it in log files. This is a matter of concern several times as the Defender prevents this software from being installed in future because detection history (log) does not allow this. With the help of log files in Detection history, the Defender again flags the file as a threat and behaves accordingly. However, many companies remove bugs and harmful files and make the software clean and perfect but you can not install it on Windows. Since the tool will continue to flag the software as threat until the log exists in its directory, so, you need to delete it. But some users report that they can’t delete Detection history in Windows 11.

Microsoft Defender when find a threat the tool quarantine or remove it following your action and include it in the protection history. Problem starts when any software that brought this threat is improved and the harmful file or deleted or corrected. Until the Protection history log has the mark of the file you can not install the software. When trying to install, Microsoft Defender will identify the software as a threat for no reason and prevent the process. At this time, you need to delete the protection history. Let’s see the methods for this:

Can’t Delete Detection History in Windows 11

Here is how to fix can’t delete Detection History in Windows 11:

Remove using an app

An application is available using which you can remove the protection history so follow the steps:

  1. Click on this link to download the app.
  2. Extract the Delete_Windows_Defender_history file and go to the folder.
  3. Double-click on DWDH.exe.
how to fix can't delete Detection History in Windows 11
  1. If Microsoft Defender SmartScreen pop-up appears click on More info > Run anyway.
  2. You see a dialog Detection history has been already removed.
fix can't delete Detection History
  1. If you want to install any software, restart the system.

See: Fix MpGear.dll was not found or missing error in Windows.

Manually via directory

Apart from using the application, you delete the detection history by browsing the directory because Windows Defender saves the data in a specific location:

  1. Press Windows + E.
  2. Navigate to C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service.
  3. Click on View menu and choose Show > Hidden items.
  4. You will see some log files; select and delete them.
Windows Defender scan history service scan folder
  1. Then, go to C:\ProgramData\Microsoft\Windows Defender\Support.
  2. Delete all files showing in the directory.

After removing, you can install any software that was previously flagged as a threat and now it is flawless. Windows Defender will no longer detect this app as malware and prevent it from installing.

Methods:
Remove using an app
Manually via directory

That’s all!!

Sharing is caring    Share Whatsapp

 
Topics:  Windows
  
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.