About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
Microsoft Defender Antivirus reports error code 0x80508023, message ERR_MP_THREAT_NOT_FOUND, when it cannot find the threat it is trying to deal with. Microsoft's page gives two possible reasons that point in opposite directions: the threat is simply no longer there, or malware is stopping the scan. That second reason is why the error deserves a careful look rather than a click on Dismiss.
The sections below explain what the error says, how to tell the two reasons apart without changing anything, and Microsoft's one resolution, which has three parts: run the Microsoft Safety Scanner, update the security software, and try again. Nothing before the Fix section changes anything.
What the error means
Microsoft's page of client error codes opens with a general statement: "If Microsoft Defender Antivirus experiences any issues, it will usually give you an error code to help you troubleshoot the issue. Most often an error means there was a problem installing an update." Under 0x80508023 it gives the message ERR_MP_THREAT_NOT_FOUND and this possible reason: "This error indicates that the threat might no longer be present on the media, or malware might be stopping you from scanning your device."
The resolution is one line: "Run the Microsoft Safety Scanner then update your security software and try again."
The page does not say where the code is displayed. Several remediation events carry an Error Code field, so the code could turn up in them: event 1118 (the action on a threat failed, "This isn't a critical failure") and event 1119 (a critical error when taking action). Event 1119's own text adds: "The endpoint might not be protected." The page does not link this code to either event, so that link is a reading, not Microsoft's statement.
Likely causes
| Cause | What it suggests | How to tell |
|---|---|---|
| The threat is no longer on the media | The file was removed, moved or already cleaned, so there is nothing for the action to act on | The path in the detection no longer exists, and the threat does not return on a new scan |
| Malware is stopping you from scanning | Something on the computer interferes with scanning | The error repeats, scans fail or do not finish, or the same detection returns |
Microsoft gives no frequencies, so neither row is the more likely one. The third column is general reasoning, not text from the page.
Prove the cause before changing anything
All of these are read only.
-
In Event Viewer, open Applications and Services Logs, then Microsoft, then Windows, then Windows Defender, then Operational. Look for events 1116 (malware detected), 1117 (action taken), 1118 and 1119 around the time you saw the error. Each lists the threat name, severity, category, path, detection origin and detection source. Note them.
-
Check what became of the file. In the detection details, read the path. As general practice, not a step on Microsoft's page, look at whether that file still exists. If the path is gone, the first reason fits.
-
On Windows 10 and 11, Microsoft's offline-scan page gives this route to the results of a Defender Offline scan in the Windows Security app: Virus and threat protection, then Scan options, then Protection history. The page gives it for offline scan results only, so it does not say whether earlier detections of this error appear there.
-
Check whether the same detection returns on later events. A threat that reappears after being reported as handled, or scans that keep failing, fit the second reason better.
-
Note the Signature Version and Engine Version printed in events 1118 and 1119, and look for events 2001 and 2003, which report that definitions or the engine failed to update. The error page says "Most often an error means there was a problem installing an update", so an old signature set is worth ruling out first.
Example (illustrative): on a file server, event 1116 names a file in a user's Downloads folder, event 1118 follows with this error, and by the time you look the file is no longer in the folder. A new scan finds nothing. That fits the first reason. If, instead, event 1116 names the same file every night and it is still there each morning, the second reason is the one to take seriously.
Fix
Work in Microsoft's order: Safety Scanner, update, try again.
Run the Microsoft Safety Scanner
Before you run it, record what Defender has already detected. Write down the threat names and paths from events 1116 to 1119. The Safety Scanner page gives no command or method for listing earlier detections, so this is your own record.
Risk: the Safety Scanner is "designed to find and remove malware" and "try to reverse changes made by identified threats". It removes things. Microsoft's page gives no way to undo what it removes, so the record you made is all you have to identify a file afterwards. It also expires: "Safety Scanner expires 10 days after being downloaded", so download it when you are ready to run it.
Download the version that matches the computer, 32-bit or 64-bit, from the Microsoft Safety Scanner Download page, open it, select the type of scan, and start it. Microsoft's page says it is a portable executable that "doesn't appear in the Windows Start menu or as an icon on the desktop", so note where you saved it. It "only scans when manually triggered" and it "doesn't replace your anti-malware product". The scanner is SHA-2 signed, so the device must be updated to support SHA-2.
Read the result on screen. For detailed detection results, view the log at %SYSTEMROOT%\debug\msert.log.
To undo it: Microsoft's page gives no way to reverse a removal the scanner makes. To remove the tool itself, the page says to delete the executable file (msert.exe by default). That deletes the scanner, and the page does not say what happens to the log, so first copy %SYSTEMROOT%\debug\msert.log somewhere safe if you still need it, because the log is the record of what the scanner found and removed. Then delete the executable.
Update the security software
Before updating, note the current Signature Version from the newest event 2000, so you can compare afterwards. The page gives no command for that, so the record is your note.
Risk: the next command downloads and installs a new set of security intelligence on this computer. Microsoft's updates page lists commands that roll updates back to the previous version or the original inbox version, which may not match the version you noted.
Open an elevated Command Prompt (a window started by selecting Run as administrator), move to the folder that holds MpCmdRun.exe, and run it. The MpCmdRun page says the latest copy is under C:\ProgramData\Microsoft\Windows Defender\Platform\ in a folder named for the antimalware platform version, and that C:\Program Files\Windows Defender is the other location.
MpCmdRun.exe -SignatureUpdate
To undo it: the updates page lists MpCmdRun.exe -RemoveDefinitions -All to roll security intelligence back to the previous or original inbox version. That installs an older set of security intelligence and lowers protection, so run it only if the new set causes a problem.
Try the scan again
Before you do, keep the list you made. The page does not say which scan produced the error, so repeat the one that did. Microsoft's MpCmdRun page gives -ScanType 1 for a quick scan and -ScanType 2 for a full scan.
Risk: the next command starts a scan, and Defender will act on what it finds according to its configuration. That can quarantine or remove files. Microsoft's page for event 1117 gives Clean, Quarantine, Remove and Allow among the actions Defender takes, and the page gives no single undo for them.
MpCmdRun.exe -Scan -ScanType 1
To undo it: the scan itself needs no undo. A file that Defender quarantined can be listed with MpCmdRun.exe -Restore -ListAll, which the MpCmdRun page describes as listing all quarantined items. The page also describes -Restore as restoring quarantined items. Restoring puts a detected file back in its original location and removes it from quarantine when you give no path, so restore a file only after you have checked that it is safe.
If the error returns
Microsoft's text for event 1119 says that if the event persists, "Run the scan again. If it fails in the same way, go to the Microsoft Support site, enter the error number in the Search box to look for the error code. Contact Microsoft Technical Support." Do that with the event details and the Safety Scanner log in hand.
Confirm the fix
- Scans complete without error 0x80508023, and no new event 1118 or 1119 carries it.
- The Safety Scanner log at %SYSTEMROOT%\debug\msert.log reports nothing outstanding, and a second Defender scan after the update finds nothing new.
- Events 2000 appear regularly, so definitions are current. Microsoft says event 2000 means "No action is necessary. The Microsoft Defender Antivirus client is in a healthy state."
What to watch afterwards
- The same threat name returning in event 1116 on the same computer. As general advice, not Microsoft's, that is a signal that something re-creates it.
- Events 1118 and 1119 together with scan failures. The first is described as not critical, the second says the computer might not be protected.
- Definitions that stop updating. Check events 2001 and 2003.
Read next
Related articles you may want next.
- Backup & RecoveryRecovering After Ransomware: Clean-Room Build, Restore Order and Assessing Backup TrustRecover without reinfection: preserve evidence, build an isolated recovery environment, choose and test a restore point, and restore in a safe order.Read article
- Backup & RecoveryHunting the backup catalogue before you restore after ransomwareHow to read backup records after ransomware to compare recovery-point evidence, intrusion timing and surviving copies before choosing a restore.Read article
- TroubleshootingWindows event logs: retention, forwarding and keeping the evidence an investigation needsHow long Windows event logs last by default, why they overwrite, and how forwarding and size settings keep evidence for an investigation.Read article
Risks and limits
These steps have not been run or lab-tested. Microsoft's page does not explain how Defender decides that a threat is not found, does not say which events carry this error code, and does not say what to do if the Safety Scanner also fails. The Safety Scanner's own page lists supported systems, including Windows Server 2019, 2016, 2012 R2, 2012 and 2008 R2, and was last updated on 2025-04-04; check the current page for newer Windows versions.
If you believe the cause is malware blocking the scan, the computer may hold the threat that you are trying to remove. Plan that as a security incident for the computer and what it can reach, not only as a Defender error. That advice is ours, not Microsoft's.
Sources
- Review event logs and error codes to troubleshoot issues with Microsoft Defender Antivirus — Microsoft Learn, page dated 2026-06-01, accessed 3 December 2026
- Microsoft Safety Scanner Download — Microsoft Learn, page dated 2025-04-04, accessed 3 December 2026
- Microsoft Defender Antivirus security intelligence and product updates and support — Microsoft Learn, page dated 2026-05-14, accessed 3 December 2026
- Configure and manage Microsoft Defender Antivirus with the MpCmdRun command-line tool — Microsoft Learn, page dated 2026-06-09, accessed 3 December 2026
- Run and review the results of a Microsoft Defender Offline scan — Microsoft Learn, page dated 2026-07-03, accessed 3 December 2026
This article was originally published on .