How-toOnline Safety and Scams

How to run a malware scan

Run a quick, full or offline scan with the free Windows Security app, and learn what a Mac does by itself, so you can check a device you are worried about.

Applies to
  • Windows 11
  • Windows 10
  • Mac

Rate this guide

If you think a computer picked up a virus or other malware (harmful software), a scan is the safest first check. You will learn to run a quick, full and offline scan in Windows Security, and what a Mac already does for you.

Windows 10 no longer gets free security updates

Microsoft ended free support for Windows 10 on October 14, 2025. Security software still scans, but the system itself is no longer fixed for new flaws unless you have enrolled in Microsoft's Extended Security Updates program. Avoid banking and other sensitive tasks on an unprotected Windows 10 PC, and plan to move to Windows 11.

What you need

  • Windows 11 or Windows 10 for the steps below. Mac steps are in a separate section.
  • A few minutes for a quick scan. A full scan can take much longer, so start it when you do not need the PC.
  • Your files saved. The offline scan restarts the PC.

Windows Security is Microsoft's free security app that comes with Windows. If you installed security software from another well-known maker, use that program's scan instead, and keep only one active security program at a time.

Windows scan types, from light to deep3 numbered steps, one under the other. The full text follows the picture.Windows scan types, from lightto deep1Quick scanChecks the most commonplaces2Full scanChecks every file andprogram3Offline scanRestarts, then scans outsideWindows
Start with the quick scan, and go deeper only if you still suspect a problem.
Text version of this diagram
  1. Quick scan: Checks the most common places
  2. Full scan: Checks every file and program
  3. Offline scan: Restarts, then scans outside Windows

Run a scan in Windows

Quick scan

  1. Select Start, type Windows Security, and open the app.
  2. Select Virus & threat protection. In Windows 11 you can also open Settings then Privacy & security then Windows Security. In Windows 10 the route is Settings then Update & Security then Windows Security.
  3. Under Current threats, select Quick scan.
  4. Wait for it to finish. The page shows when the scan ran, how long it took and how many files it checked. If it finds nothing, it says there are no current threats.

Full scan

  1. In Virus & threat protection, under Current threats, select Scan options.
  2. Select Full scan, then select Scan now. This checks every file and program on the device.
  3. Leave the PC plugged in and let it run. You can keep using the computer, but it may feel slower.

Microsoft Defender Antivirus (offline scan)

Some malware hides while Windows is running. The offline scan restarts the PC and scans before Windows loads. It can help when malware is hard to remove or keeps coming back.

  1. Save and close your open files.
  2. In Scan options, select Microsoft Defender Antivirus (offline scan), then select Scan now.
  3. Confirm. The PC restarts, scans, and restarts again by itself when finished.

See and handle the results

  1. Open Windows Security and select Protection history.
  2. Select an item to see what was found and what Windows did with it. Choose the offered action to remove or quarantine (isolate) a threat.
  3. If Windows Security lists something under Allowed threats that you do not recognize, select it and choose Don't allow.
What to do after each scanA top-to-bottom flow chart with 5 boxes. Work through them in order and stop when the problem is fixed. The full text follows the picture.What to do after each scanNo1Run a quick scan2Did it find threats?Yes: Remove them, thenrestart3Run a full scan4Run the offline scan ifproblems returnStill wrong? Back up yourfiles, then consider a reset.
Work down only as far as you need to.
Text version of this diagram
  1. Step 1: Run a quick scan
  2. Question 2: Did it find threats? If yes: Remove them, then restart. If no, go on to the next item.
  3. Step 3: Run a full scan
  4. Step 4: Run the offline scan if problems return
  5. If nothing worked: Still wrong? Back up your files, then consider a reset.

Keep Windows Security current

Security software works well when Windows is up to date. If your PC has not updated for a long time, check Settings then Windows Update first, then scan.

On a Mac

macOS has built-in malware protection called XProtect. Apple says it checks for known malware when an app is first opened, when an app has changed, and when its signatures are updated. Apple updates it automatically, independent of system updates, and by default a Mac checks for updates daily. Apple's security guide does not describe a button for starting a manual scan.

That means a Mac does not need a scan button as much as it needs good habits:

  1. Install system updates. Open System Settings then General then Software Update (macOS Ventura and later; earlier: System Preferences > Software Update).
  2. Open the Finder, select Applications, and move any program you do not remember installing to the Trash.
  3. Check your browser for extensions you did not add, and remove them.
  4. If you installed a security program from a well-known maker, open it and run its scan.

Do not install a "cleaner" because a pop-up said to

Never download a scanner or "cleaner" because a website or a caller told you to. Apple warns that overriding Mac security to open an app is the most common way Macs get malware. Use only the tools above or software from a maker you chose yourself.

If something goes wrong

Back up before a reset

If a scan cannot clear a real infection, a reset is the last resort. It can erase your files, so back up first with how to back up your files.

Frequently asked questions

Do I need to buy antivirus software?

Windows Security is included with Windows and is free. Choose other software only from a maker you picked yourself, never from a pop-up or caller.

Does a clean scan prove my PC is safe?

It is a good sign, not a promise. Scans find known threats. If you gave someone remote access, also change your passwords.

How often should I scan?

Windows Security checks in the background. Run a scan yourself when something seems wrong, or after you ran a file you were unsure about.

Can my phone get a scan too?

This guide covers Windows and Mac. On phones, install apps only from the official store and keep the system updated.

Was this guide helpful?

Choose from 1 star (not helpful) to 5 stars (very helpful)

Rating this guide needs JavaScript. You can send feedback on the contact page instead.

Official resources used

Pages consulted while preparing this guide. Check them for the latest details.

Need more help?

If this guide did not solve your problem, send us a message and tell us what you tried.

Contact us

Beware of fake support

Real support never asks you to call an unfamiliar number, pay with gift cards or let a stranger control your computer.

How to find real support and avoid fake phone numbers