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.
- Windows 11
- Windows 10
- Mac
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.
Text version of this diagram
- Quick scan: Checks the most common places
- Full scan: Checks every file and program
- Offline scan: Restarts, then scans outside Windows
Run a scan in Windows
Quick scan
- Select Start, type Windows Security, and open the app.
- Select Virus & threat protection. In Windows 11 you can also open . In Windows 10 the route is .
- Under Current threats, select Quick scan.
- 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
- In Virus & threat protection, under Current threats, select Scan options.
- Select Full scan, then select Scan now. This checks every file and program on the device.
- 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.
- Save and close your open files.
- In Scan options, select Microsoft Defender Antivirus (offline scan), then select Scan now.
- Confirm. The PC restarts, scans, and restarts again by itself when finished.
See and handle the results
- Open Windows Security and select Protection history.
- 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.
- If Windows Security lists something under Allowed threats that you do not recognize, select it and choose Don't allow.
Text version of this diagram
- Step 1: Run a quick scan
- Question 2: Did it find threats? If yes: Remove them, then restart. If no, go on to the next item.
- Step 3: Run a full scan
- Step 4: Run the offline scan if problems return
- 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 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:
- Install system updates. Open (macOS Ventura and later; earlier: System Preferences > Software Update).
- Open the Finder, select Applications, and move any program you do not remember installing to the Trash.
- Check your browser for extensions you did not add, and remove them.
- 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
- If a scan will not start or the app says protection is off, restart the PC and try again. If you use security software from another maker, Windows Security may show that program as the active one.
- If the scan keeps finding the same threat, run the offline scan, then see safe downloads and fake driver sites to find how it got in.
- If someone else controlled your device, read what to do if you gave someone remote access.
- If a fake alert led you here, see fake virus pop-up: what to do.
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?
Thank you for your rating.
Ratings are not available right now. You can still use the contact page to tell us what you think.
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.
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.