On Windows 10, the Microsoft Safety Scanner (MSERT) is a standalone tool that scans, finds, and removes many malware types, including viruses, spyware, and unwanted software causing harm on your computer without having to install it on the device.
The security tool is similar to the Malicious Software Removal Tool (MSRT), and it works similarly to a regular anti-malware software you use on Windows 10. It even has the same engine and threat definitions as the Microsoft Defender Antivirus. However, it is not a replacement for your antivirus solution since it does not offer real-time protection or automatic updates. Instead, it only provides another way to scan and remove infections when you suspect that your security software is not working correctly and believe the device has been infected.
Also, the Microsoft Safety Scanner is only valid for ten days. Once it expires, you need to download an updated version to make sure you are scanning the device with the latest security threats definitions and enhancements.
In this Windows 10 guide, we will walk you through the steps to scan and remove malware infecting your computer using the free Microsoft Safety Scanner tool.
- How to use the Microsoft Safety Scanner to remove malware on Windows 10
- How to use the Microsoft Safety Scanner with Command prompt
How to use the Microsoft Safety Scanner to remove malware on Windows 10
To use the Microsoft Safety Scanner tool to remove malware on Windows 10, use these steps:
- Open this Microsoft support page.
Click the download link for Microsoft Safety Scanner.
Quick tip: The page will offer downloads for both architectures (32-bit and 64-bit) of Windows 10. You can determine the architecture you need to download on Settings > System > About, and on "Device specifications," confirm the system type.
Check the option to accept the terms and conditions.
- Click the Next button.
Click the Next button again.
Select the scan you want to run on Windows 10:
- Quick scan: Scans the section likely to contain viruses, spyware, and other unwanted software but does not remove any infections. Instead, you will be prompted to perform a full scan.
- Full scan: Scans the entire system for malware and removes infections.
- Customized scan: Performs a quick virus scan and scans the folder location you specified.
- (Optional) If you choose the Customized scan option, click the Choose Folder button to select the folder you want to scan for malware.
- Click the Next button.
Click the Finish button.
Once you complete the steps, the Microsoft tool will scan the system for common viruses and many other types of malware, similar to any other anti-virus software.
How to use the Microsoft Safety Scanner with Command prompt
To use the Microsoft Safety Scanner with Command Prompt, use these steps:
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to navigate to the folder containing the tool and press Enter:
In the command, update the path with the location containing the "MSERT.exe" file.
Type the following command start a forced scan, and press Enter:
- Click the Next button to proceed with a full scan.
Type the following command to do a full scan and automatically clean infected files and press Enter:
- Click the Next button to proceed with scan and automatic cleaning.
Type the following command to run a scan quietly (without a visual interface) and press Enter:
Type the following command to execute a full scan quietly and press Enter:
msert /f /q
After you complete the steps, the tool will perform a scan on the computer to detect and delete any malware it may find.
If a threat is found using the quick scan, you will get a prompt to perform a full scan. In the case you ran the command with the
/f:y options, the scan will detect and remove any malware. If you used the
/q option, the tool will run in the background without a user interface. You can always see the complete list of options using the
msert /? command.
We are focusing this guide on Windows 10, but the anti-malware tool is also compatible with previous versions, including Windows 8.1 and Windows 7.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
We may earn a commission for purchases using our links. Learn more.