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:
- Press Windows key + R.
- Enter:
%SYSTEMROOT%\debug\msert.log - Select OK. If prompted, open the file in Notepad.
- 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,
0x80508026means 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:
- Save all open work because the computer will restart.
- Open Start → Settings → Update & Security → Windows Security → Virus & threat protection.
- Under Current threats, select Scan options.
- Select Windows Defender Offline scan → Scan now.
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
- Microsoft Safety Scanner says it is finding infected files while running but when finished says no viruses or spyware found! - Microsoft Q&A
- Microsoft Safety Scanner Download
- msert scan shows 2 infected files while scanning, but then ends with "no problems" and no report. - Microsoft Q&A
- How to troubleshoot an error when you run the Microsoft Safety Scanner | Microsoft Support
- Troubleshoot problems with detecting and removing malware