Running msert

Old Starfield 20 Reputation points
2026-11-14T15:32:34.43+00:00

When I run msert it finds 4 files infected but when it completes there are no files infected. If I run it a 2nd time it finds the same thing. It appears it is not cleaning the 4 items. If I run Windows Defender it finds nothing to clean. Not sure how to proceed. I read that it needs to be refreshed every 10 days so I reinstall. It still comes up with the same results.

Windows for home | Windows 10 | Security and privacy
0 comments No comments

Answer accepted by question author

AI answer

2026-11-14T15:33:10.3466667+00:00

The four “infected files” shown while MSERT is running are preliminary suspects, not confirmed infections; if the completed scan reports no threats, MSERT did not confirm anything that requires cleaning.^1^

Check the detailed MSERT result

Since reinstalling MSERT and running Defender have not changed the outcome, check MSERT’s log rather than repeating those scans:

  1. Press Windows key + R.
  2. Enter:
       %SYSTEMROOT%\debug\msert.log
    
  3. Select OK. If prompted, open the file in Notepad.
  4. Go to the end of the log and review the most recent scan for:
    • A confirmed detection or threat name.
    • A remediation action.
    • An error beginning with 0x.

Microsoft identifies %SYSTEMROOT%\debug\msert.log as the location for detailed detection results.^2^

If the log shows successful completion without a confirmed detection, no further cleaning action is required. Seeing the same preliminary count on another run does not mean those files survived cleaning; matching MSERT cases report the same behavior when potential findings are rejected during final analysis.^3^

MSERT does expire 10 days after download, and Microsoft recommends downloading the current executable before each scan. However, refreshing it does not change the meaning of this preliminary count.^2^

Act only if the log identifies a problem

  • If the log contains an error code: Match it against Microsoft’s MSERT troubleshooting table. For example, 0x80508026 means the resource is inside a container such as a ZIP archive and may require identifying and manually removing that archive.^4^
  • If the log names a confirmed threat that repeatedly returns: Run Microsoft Defender Offline:
    1. Save all open work because the computer will restart.
    2. Open Start → Settings → Update & Security → Windows Security → Virus & threat protection.
    3. Under Current threats, select Scan options.
    4. Select Windows Defender Offline scan → Scan now.
    Offline scanning is appropriate when the same confirmed malware keeps returning, because it scans outside normal Windows operation.^5^

Do not escalate to the offline scan solely because MSERT repeatedly displays “4” during scanning. The trigger is a confirmed detection in the final result or msert.log, not the changing in-progress counter.


References

  1. Microsoft Safety Scanner says it is finding infected files while running but when finished says no viruses or spyware found! - Microsoft Q&A
  2. Microsoft Safety Scanner Download
  3. msert scan shows 2 infected files while scanning, but then ends with "no problems" and no report. - Microsoft Q&A
  4. How to troubleshoot an error when you run the Microsoft Safety Scanner | Microsoft Support
  5. Troubleshoot problems with detecting and removing malware
AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.