
For the last few weeks, I’ve been getting a daily email from Microsoft Defender telling me about a threat it had found on my desktop PC.
Only, I’d already deleted the offending files manually, but Defender got stuck—thinking they were still there, but unable to find them to remove them.
Here’s how I eventually fixed it.
Problem
For the last month or so, each morning, I received an email from Microsoft Defender <mydefender@microsoft.com> informing me that a threat had been found on my desktop PC (aka STUDY-DESKTOP).
The email looked like this:

Only… there wasn’t a threat. I mean, had been. So, I got rid of it manually, but Microsoft Defender hadn’t got the message.
I probably should have left it to Microsoft Defender to safely dispose of the offending threat, but as it was only CCleaner that it had reported, I thought I’d save everyone a little time and I quickly deleted them from my external hard drive.
I had assumed that Microsoft Defender would notice that they’d gone and update its records accordingly. I was wrong.
And what’s more, within Windows Security the details about the current threat (the information in the red box) was completely missing. It simply showed… nothing!

Fix
Anyway, long story short, I found a forum online where someone kindly pointed another user with the same issue to this folder in Windows:
C:\ProgramData\Microsoft\Windows Defender\Scans\History
Within this directory, I found a file called Detections.log and when I opened it, there was the information about the files that I had deleted:
277517|file|D:\Install\System\System Tools\CCleaner\ccsetup547.exe
277517|file|D:\Install\System\System Tools\CCleaner\ccsetup551.exe
277517|file|G:\D-Install\System\System Tools\CCleaner\ccsetup547.exe
277517|file|G:\D-Install\System\System Tools\CCleaner\ccsetup551.exe
I deleted the contents of the History folder; this contained three files and a directory:
\DetectionHistory
Detections.log
History.Log
Unknown.Log
I then rebooted my PC and… it worked!