The Windows MRT command launches the Microsoft Windows Malicious Software Removal Tool (MSRT), a built-in utility that scans your PC for specific, prevalent malware families and removes them if found. It is not a full antivirus replacement and does not run in real time, but it is a useful second-opinion scanner that is already on your system. To use it, open an elevated Command Prompt or PowerShell window and type mrt, then press Enter. The tool opens a wizard where you choose a scan type and start the scan. You need administrator rights, and the scan can take from a few minutes to over an hour depending on the scan type and your drive size.

What You'll Need

  • A Windows PC with the Malicious Software Removal Tool installed. It ships with Windows and is updated monthly through Windows Update, so most systems already have it.
  • An account with administrator privileges. The tool requires elevation to scan system areas and remove threats.
  • Enough free time to let the scan finish. A quick scan is usually short; a full scan can run for a long time and you should not interrupt it.
  • Your existing antivirus left enabled. MRT is designed to complement, not replace, your real-time protection.

Step-by-Step

  1. Open an elevated command prompt. Click Start, type cmd, right-click Command Prompt in the results, and choose Run as administrator. On Windows 11 you can also right-click the Start button and select Terminal (Admin) or Windows PowerShell (Admin). If User Account Control asks for permission, click Yes. The steps here apply to Windows 10 and Windows 11; menu labels can differ slightly by version and region.
  2. Run the command. At the prompt, type mrt and press Enter. If Windows cannot find the command, see Troubleshooting below. The Malicious Software Removal Tool window opens.
  3. Choose a scan type. The wizard offers a quick scan and a full scan. A quick scan checks the locations malware most commonly uses and is the faster option. A full scan checks all files and folders on the system drive and takes much longer. Pick quick first if you are just doing a routine check; pick full if you suspect an infection or a quick scan found nothing but you still have symptoms.
  4. Start the scan. Click Next and let the scan run. The progress bar shows which phase the tool is in. You can leave the window open and use the PC for light tasks, but avoid heavy disk activity and do not close the window or restart until it finishes.
  5. Review the results. When the scan completes, the tool reports whether it found malicious software. If it did, it lists what was detected and removes it automatically. Read the summary screen and note any file names or threat names shown, because you may need them if you want to check with your main antivirus vendor.
  6. Finish and restart if prompted. Click Finish to close the wizard. If the tool says a restart is required to complete removal, save your work and restart the PC.
  7. Follow up with your main antivirus. Run a full scan with your regular antivirus product as well. MRT targets a limited list of malware families, so a clean MRT result does not guarantee the PC is clean.

Common Mistakes

  • Running it without administrator rights. A standard command prompt will launch the tool but it cannot properly scan protected system areas or remove threats. Always use Run as administrator.
  • Treating MRT as a full antivirus. It does not provide real-time protection, does not block new threats, and only targets specific prevalent malware. Keep your regular antivirus enabled.
  • Closing the window mid-scan. Interrupting a scan can leave it incomplete and may prevent removal of anything found. Let it finish, even if it takes a while.
  • Ignoring the results screen. The summary tells you what was found and whether a restart is needed. Skipping it means you miss follow-up steps.
  • Expecting it to fix performance problems. MRT removes malware; it does not clean up junk files, fix drivers, or speed up a slow PC.
  • Assuming a clean result means you are safe. A quick scan can miss things, and MRT's threat list is limited. Use it as one layer, not the only layer.

Tips

  • Run a quick scan periodically as a cheap second opinion, especially after opening an unexpected email attachment or downloading software from an unfamiliar site.
  • Keep Windows Update on. The Malicious Software Removal Tool is refreshed through Windows Update, so an up-to-date PC has a newer detection list than one that has not updated in months.
  • If you want to see what the tool detected in the past, Windows keeps a log. Open Event Viewer and look under Applications and Services Logs > Microsoft > Windows > MSRemovalTool if that log is present on your build; otherwise rely on the summary screen at the end of each scan.
  • Run MRT while plugged in on a laptop. A long full scan can outlast the battery.
  • If you manage several PCs, remember MRT is a manual, per-machine tool; it is not a central management console.

Troubleshooting

  • "'mrt' is not recognized as an internal or external command." The tool may not be present or the path may be missing. First make sure you are in an elevated prompt. Then check that Windows is fully updated, because the tool is delivered through Windows Update. You can also try typing the full path %windir%\system32\mrt.exe and pressing Enter. If that file does not exist, run Windows Update and check again.
  • The window opens but the scan will not start. Close the wizard, restart the PC, and try again from an elevated prompt. Make sure no other security tool is blocking it; if your antivirus has a feature that blocks unknown system tools, allow MRT temporarily rather than disabling your antivirus permanently.
  • The scan seems stuck. Large drives and full scans can sit on one phase for a long time. Check that the disk activity light is still blinking. If it has not moved for a very long time, note the phase, close the tool, restart, and run a quick scan instead. Do not force-kill it repeatedly.
  • MRT found something but the problem persists. MRT removes specific threats, not everything. Run a full scan with your main antivirus, check for Windows updates, and review startup apps and browser extensions for anything you do not recognise. If you suspect a serious infection, consider a rescue disk scan from your antivirus vendor or professional help.
  • You want to undo a removal. MRT does not offer a restore option in its wizard. If a legitimate file was flagged, check your antivirus vendor's quarantine and Windows' own protection history, and restore only if you are certain the file is safe.

Frequently Asked Questions

Is the MRT command safe to run?

Yes. It is a Microsoft-signed tool that ships with Windows. It scans and removes only the malware families on its list and does not change unrelated settings.

Does MRT replace Windows Security or my antivirus?

No. MRT has no real-time protection and a limited target list. It is a supplemental scanner; keep your regular antivirus active.

How often should I run MRT?

There is no fixed schedule. Many people run a quick scan occasionally or after a suspicious download. It is not necessary to run it daily.

Can I run MRT from PowerShell instead of Command Prompt?

Yes. In an elevated PowerShell window, type mrt and press Enter. The same wizard opens.

Does MRT work on Windows 10 and Windows 11?

Yes, it is included in both. Exact wizard wording can vary slightly by version and region.

Will MRT remove all viruses?

No. It targets a specific, rotating list of prevalent malware. A clean MRT scan is reassuring but not proof that a PC is malware-free.