Microsoft Safety Scanner is a free, on-demand malware scanner for Windows computers. It is a single portable program, msert.exe, that searches a PC for viruses, spyware and other potentially unwanted software. It removes what it finds and tries to reverse the changes those threats made to the system. Microsoft offers it in 32-bit and 64-bit builds for Windows desktop and Windows Server editions.
A second opinion, not a resident antivirus
Safety Scanner does nothing until someone opens it and starts a scan. There is no background service, no real-time file monitoring and no scheduled checking, so it does not protect a PC between runs. Its role is a contingency check. It can confirm a suspected infection that the installed antivirus missed or examine a machine whose regular protection malware may have disabled. It can also scan a computer that is not connected to a network or managed security system.
Because it does not install anything, Microsoft Safety Scanner can run next to the antivirus already on the machine. Continuous protection with automatic updates remains the job of a resident product such as Microsoft Defender Antivirus.
Detection definitions that expire after ten days
The executable itself contains the malware definitions. They match the security intelligence version Microsoft publishes for its Defender products at the time of download. The engine and signatures come from the same anti-malware technology Microsoft uses in its other security products.
The tool cannot download newer definitions on its own. A copy stops working ten days after download. Running a scan with current definitions means fetching a fresh copy. For that reason, a saved copy on a USB drive is useful only for a short period. Microsoft advises downloading the latest build before each scan.
Quick, full and customized scans
After the license agreement, Safety Scanner asks which type of scan to run:
- Quick scan checks memory, the Registry and the folders where malware most commonly places its files. It is the faster, usual first step.
- Full scan examines the whole computer. It is the follow-up when a quick scan finds nothing but a problem is still suspected. Some removal actions require a completed full scan before they can be retried.
- Customized scan covers the quick scan locations plus specific folders the user chooses.
During the scan, the window shows progress and a running count of detected items. The scanner also looks inside archives such as ZIP files.
Removal and the msert.log record
Microsoft Safety Scanner removes detected threats as part of the scan rather than asking the user to handle each one. When it finishes, the results screen states whether it found and removed anything. A link opens a more detailed list of the specific malware components it detected.
The scanner writes a fuller record to msert.log in the Windows debug folder (%SYSTEMROOT%\debug). This log lists detections and, if a scan fails, error codes starting with 0x. These codes point to the cause, such as a scan target that no longer exists, a damaged signature database or a state that needs a restart. Downloading a new copy resolves most signature and engine errors.
One case needs manual work: when malware sits inside an archive, the scanner reports it. The user must open that archive in File Explorer and delete the infected file.
Portable executable
Safety Scanner adds no Start menu entry, desktop icon or uninstaller. It runs from wherever the file was saved, so it can be copied to an affected PC. Removing it from a system only requires deleting msert.exe.





