Hi Chris, if the file no longer exists, then it has been remediated. What you are seeing is a bug, where Windows Defender flags things because of their presence in detection history.
To resolve the issue either:
Boot into safe mode:
Delete the DetectionHistory folder from:
C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service\DetectionHistory
Restart your computer.
Note: To see the ProgramData folder and subfolders, make sure you are showing hidden files and folders.
- Windows 10: In File Explorer, select the View tab > check (tick) Hidden items
- Windows 11: In File Explorer, select View > Show > check Hidden items
or if you don't want to mess about with safe mode, use the tool I wrote to specifically remove DetectionHistory: