Microsoftbeginner

How to Use Microsoft Safety Scanner (MSERT) for Malware Removal

Learn how to use Microsoft Safety Scanner to remove malware from Windows. Download, run scans, understand scan types, and use MSERT as a second-opinion malware scanner.

5 min readUpdated January 2025

Microsoft Safety Scanner (MSERT) is a free malware removal tool designed to find and eliminate viruses, spyware, and other malicious software that may have evaded your primary antivirus. This guide shows you how to download, run, and interpret results from Microsoft Safety Scanner.

When to Use Microsoft Safety Scanner

  • Second opinion: Your PC feels slow or behaves strangely despite having antivirus
  • Malware blocking installation: Some viruses prevent new antivirus installation - MSERT requires no installation
  • Offline machines: Download on a clean PC, transfer via USB to infected machine
  • Post-cleanup verification: Confirm your system is clean after removing malware

Step 1: Download Microsoft Safety Scanner

  1. Go to the official download page:
  2. Select your version:
    • 64-bit: Most modern computers (recommended)
    • 32-bit: Older machines (pre-2015)
  3. Locate the file:
    • The download is named msert.exe
    • It's a portable application - no installation required

Warning: Only download from Microsoft's official website. Never use third-party download sites.


Step 2: Run a Scan

  1. Double-click msert.exe
  2. Click Yes on the User Account Control prompt
  3. Accept the license agreement and click Next
  4. Click Next on the welcome screen
  5. Choose a scan type: (see details below)
  6. Click Next to start scanning
  7. Wait for completion - don't close the window
  8. Review results and restart if malware was removed

Scan Types Explained

Scan TypeWhat It ScansDurationWhen to Use
Quick ScanMemory, registry, startup folders, system folders5-10 minutesRoutine check or if PC is acting slightly odd
Full ScanEvery file on all hard drives1-10+ hoursDeep infection, after Quick finds malware, thorough cleanup
Custom ScanQuick Scan + specific folder you selectVariesScanning USB drives or external media

Recommendation: Start with Quick Scan. If it finds malware, follow up with a Full Scan to ensure complete removal.


Understanding Scan Results

No Threats Found

Your system is clean according to Microsoft's definitions. Consider running Windows Defender or your primary antivirus for additional verification.

Threats Found and Remediated

Safety Scanner detected and removed malware. Review what was found and restart your computer to complete the cleanup.

Threats Found But Not Removed

Some malware may require manual intervention or boot into Safe Mode to remove. Consider running the scan in Safe Mode or using Windows Defender Offline.


The 10-Day Expiration Rule

Microsoft Safety Scanner has a built-in 10-day expiration:

  • After 10 days, the tool stops working
  • This ensures you always use current virus definitions
  • Delete the old msert.exe and download fresh when needed

Best practice: Download a new copy each time you need to scan rather than keeping an old version.


Safety Scanner vs. Windows Defender

FeatureWindows DefenderSafety Scanner
Protection typeReal-time (always on)On-demand (manual)
UpdatesAutomatic via Windows UpdateManual (re-download)
InstallationBuilt into WindowsPortable (no install)
ConflictsMay conflict with third-party AVWorks with all AV software
Offline useNeeds internet for updatesCan scan offline machines

Advanced: Command-Line Usage

For IT administrators, Safety Scanner supports command-line parameters:

msert.exe /Q        # Quiet mode (no UI)
msert.exe /N        # Detect only, don't remove
msert.exe /F        # Force full scan
msert.exe /F:Y      # Full scan, auto-clean

Log file location: C:\Windows\debug\msert.log


Frequently Asked Questions

Find answers to common questions

Microsoft Safety Scanner (MSERT) is a free, portable malware removal tool from Microsoft. It performs on-demand scans to find and remove viruses, spyware, and malicious software. It's designed as a second-opinion scanner, not a replacement for real-time antivirus protection like Windows Defender.

Need Professional Help?

Our team of experts can help you implement and configure these solutions for your organization.