How to Scan for Malware in Windows 10 With Microsoft Defender

Christopher Jan Benitez
·
16 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Your Windows 10 PC has slowed to a crawl, pop-ups you’ve never seen keep appearing, or your browser keeps landing on a search page you didn’t pick. You’re hoping it isn’t malware, and a scan with Microsoft Defender Antivirus, which is already built into the Windows Security app, is the fastest way to find out.

Malware alert

How to Scan for Malware in Windows 10

  1. Open Start, type Windows Security, and open the app.
  2. Select Virus & threat protection, then Scan options.
  3. Pick Full scan and select Scan now. If Defender keeps getting switched off or the app won’t cooperate, pick Microsoft Defender Offline scan instead.
  4. Act on anything Defender flags. Then check your browser for unfamiliar extensions and notification permissions.
Method / FixBest ForQuick Steps / Key Detail
Quick scanA fast first checkWindows Security > Virus & threat protection > Quick scan
Full scanA suspected infectionScan options > Full scan > Scan now. It can take a long time.
Custom or right-click scanOne file, folder, or downloadRight-click the item > Scan with Microsoft Defender
Real-time protectionDefender is switched offManage settings > turn Real-time protection on
Microsoft Defender Offline scanMalware that fights backScan options > offline scan. The PC restarts and scans before Windows loads.
Browser cleanupRedirects, pop-ups, a new search engineRemove extensions, startup pages, and notification permissions
Second-opinion scannerSymptoms after a clean Defender scanOn-demand scanning only, downloaded from the vendor’s own site
Safe ModeInvestigating with fewer startup programsShift + Restart > Troubleshoot > Advanced options > Startup Settings
Reset this PCNothing else workedSettings > Update & Security > Recovery

Windows 10 reached end of support on October 14, 2025. The OS still runs, but ordinary Windows 10 editions no longer receive Microsoft security updates or technical support. The exception is Microsoft’s Extended Security Updates (ESU) program: eligible Windows 10 version 22H2 PCs can enroll and keep getting critical and important security updates until October 12, 2027. Antivirus can’t patch Windows itself, so if your PC isn’t enrolled, those holes stay open. If your hardware qualifies, moving to a supported release such as Windows 11 belongs on your cleanup list.

Stop first if you suspect ransomware or remote access

Some symptoms call for damage control before any scan. Watch for files being renamed or encrypted, a ransom note on screen, or the mouse moving on its own. If you see any of these:

  1. Disconnect the PC from the network. Unplug the Ethernet cable or turn off Wi-Fi.
  2. Don’t sign in to banking, email, or other sensitive accounts from that PC.
  3. Leave ransom notes and encrypted files where they are. They can help identify the ransomware later.
  4. On a clean device, change your passwords and sign out of active sessions on your important accounts.
  5. Run a Microsoft Defender Offline scan (Fix #4) or a trusted rescue scan.
  6. For a business PC or one holding high-value data, call a professional incident-response service before you wipe anything.

Scan with Microsoft Defender

If you searched for “Windows Defender,” this is it. Windows Security is the app. Microsoft Defender Antivirus is the scanning engine inside it. Microsoft Defender for Endpoint is a separate business product, so you can ignore search results about it.

Defender is on by default when no compatible third-party antivirus is active. It can still be switched off, controlled by an employer’s policy, or put into passive mode when another antivirus is installed. Fix #3 covers those cases.

Fix #1: Run a Quick scan in Windows Security

A Quick scan checks the places where malware usually starts up or hides. It takes minutes, so it’s the right first move.

  1. Select Start and type Windows Security.
  2. Open Windows Security and select Virus & threat protection.
  3. Under Current threats, select Quick scan.
Windows 10 Windows Security app on the Virus & threat protection page, with Current threats section, Quick scan button, and Scan options link highlighted

When the scan finishes, you’ll either see that no threats were found or get a list of detections. For each detection, follow Defender’s recommended action, which is usually quarantine or remove. A clean Quick scan is a good sign, but it doesn’t clear the whole drive. If symptoms continue, move to Fix #2.

Fix #2: Run a Full, Custom, or right-click scan

A Quick scan skips plenty. A Full scan checks the files and running programs on your available drives, which is why it takes a lot longer. Microsoft lists the scan types on its Virus & threat protection support page.

  1. In Windows Security, select Virus & threat protection.
  2. Select Scan options.
  3. Choose a scan type:

– Quick scan: common startup and hiding spots. – Full scan: files and running programs on all available drives. – Custom scan: a file or folder you pick. – Microsoft Defender Offline scan: restarts the PC and scans before Windows fully loads (see Fix #4).

  1. Select Scan now.
Windows Security Scan options page showing the Quick scan, Full scan, Custom scan, and Microsoft Defender Offline scan radio buttons with the Scan now button

Keep the PC plugged in during a Full scan. Leave it alone if you can, because heavy use slows the scan down.

Got one suspicious download? Right-click it in File Explorer and choose Scan with Microsoft Defender. Microsoft’s Windows Security overview covers this option. It’s much faster than a full-disk scan when you only care about one file or folder.

Fix #3: Turn Real-time protection back on

Real-time protection scans files as you open or download them. If it’s off, Defender only catches threats when you run a manual scan.

  1. Select Start > Settings.
  2. Select Update & Security > Windows Security.
Windows 10 Settings > Update & Security > Windows Security page with the Protection areas list and Virus & threat protection highlighted
  1. Select Virus & threat protection.
  2. Under Virus & threat protection settings, select Manage settings.
  3. Switch Real-time protection to On.
Windows Security Virus & threat protection settings page with the Real-time protection toggle set to On, plus Cloud-delivered protection, Automatic sample submission

Microsoft documents this path in its Windows Security help article. While you’re on the Manage settings page, check these too:

  • Cloud-delivered protection: lets Defender use Microsoft’s cloud analysis on suspicious files. Leave it on.
  • Automatic sample submission: sends suspicious samples to Microsoft for analysis.
  • Tamper protection: blocks malware and unauthorized apps from changing your security settings. Leave it on.
  • Exclusions: open Add or remove exclusions. Remove any folder, drive, or file type you didn’t add yourself. Malware sometimes excludes its own folder, or a whole drive.
  • Controlled folder access: a ransomware defense that blocks untrusted apps from changing protected folders. Turn it on where it’s available and doesn’t break apps you rely on.

Only switch Real-time protection off briefly to troubleshoot a specific app. Nothing new gets scanned while it’s off, and Windows normally switches it back on by itself after a short time.

If Real-time protection is missing or greyed out

This is where people get stuck. You click the toggle and nothing moves, or it isn’t there at all. Common causes:

  • A third-party antivirus is registered as the active provider.
  • Group Policy, Microsoft Intune, or another management tool from your employer or school controls the setting.
  • Tamper protection is blocking the change.
  • The Windows Security service or Defender components are damaged.
  • Your account isn’t an administrator.
  • Malware has changed your security policies.

Work through these in order:

  1. On the Virus & threat protection page, look for a message naming another antivirus app as the active provider.
  2. If one is listed and you want Defender back, uninstall that app through Settings > Apps. Closing its tray icon usually doesn’t hand control back to Defender.
  3. Restart Windows and check the toggle again.
  4. Open Settings > Update & Security > Windows Update and install anything available. Unless your PC is enrolled in Extended Security Updates, regular Windows 10 security updates have ended. Still, installing whatever is pending (including Defender security intelligence updates) can clear up a broken Windows Security app.
  5. If it’s a work or school PC, stop here and contact your IT admin. The lock is deliberate, and changing the policy yourself can conflict with their management.
  6. If you suspect malware is holding the toggle down, skip the fight and run Fix #4. An offline scan doesn’t depend on the infected session.
  7. If Windows components look damaged, back up your files first. Then right-click Start, open Command Prompt (Admin) or Windows PowerShell (Admin) (the label depends on your build), and run DISM /Online /Cleanup-Image /RestoreHealth followed by sfc /scannow. Restart when both finish.

I’d skip the registry and Group Policy tweaks that float around forums for this problem. They can quietly weaken protection, and they won’t fix whatever caused the lock in the first place.

Fix #4: Run a Microsoft Defender Offline scan

Some malware hides from scans or switches security tools off while Windows is running. The offline scan restarts your PC into the Windows Recovery Environment and scans before normal Windows processes load.

  1. Save your work and close open apps. The PC restarts without much warning.
  2. Plug the PC into power.
  3. In Windows Security, select Virus & threat protection > Scan options.
  4. Select Microsoft Defender Offline scan. The exact label can vary slightly between builds.
  5. Select Scan now and confirm the prompt.

The PC restarts, runs the scan, and boots back into Windows when it’s done. Open Windows Security > Virus & threat protection > Protection history to see what it found.

If the offline scan won’t start

A broken recovery environment, a missing or undersized recovery partition, BitLocker settings, or third-party boot software can each stop the scan. Keep your BitLocker recovery key handy before you try again.

If it still won’t launch, use a clean computer to create rescue media from a reputable antivirus vendor on a USB flash drive, then boot the infected PC from it. Do the same if the infected PC blocks security websites or downloads. Never fill that gap with a “repair tool” offered by a pop-up ad.

Still seeing symptoms after a clean scan?

Defender came back clean, but the pop-ups are still there. Why isn’t it fixed? Slowness and pop-ups point toward malware, but they don’t prove it. Other common causes:

  • A failing drive or very little free space
  • Too many startup programs
  • Windows Update working in the background
  • Driver problems or an overheating laptop
  • Bundled software that’s annoying but not malicious
  • Browser extensions or website notification permissions
  • A compromised online account rather than an infected PC

These signs point much more strongly at real malware:

  • Unknown startup entries, services, or scheduled tasks
  • Antivirus exclusions you didn’t add
  • Security tools that keep getting switched off
  • New administrator accounts you didn’t create
  • Pop-ups appearing outside the browser
  • Repeated alerts about stolen passwords or unknown sign-ins

Many “virus alerts” are browser notifications or scam pages, and a Windows scan won’t remove those. Fixes #5 and #6 handle them.

Clean up what scanners miss

Fix #5: Remove browser hijacks in Microsoft Edge

Malware and pushy software change your startup pages, search engine, and notification permissions. They also install extensions that keep putting those changes back.

  1. Open Edge and select Settings and more (...) > Settings.
  2. Select Start, home, and new tabs.
  3. Under When Edge starts, remove any page you don’t recognize.
  4. Review the Home button setting and remove any unfamiliar address.
Microsoft Edge Settings on the Start, home, and new tabs page, showing the When Edge starts section with a list of startup pages and their remove options
  1. Open Privacy, search, and services and check your security settings and default search engine.
  2. Type edge://extensions in the address bar and press Enter.
  3. Remove every extension you don’t recognize or don’t use.
  4. Go back to Settings > Cookies and site permissions > Notifications and block or remove suspicious sites.

Settings labels can shift slightly between Edge versions, so use the search box at the top of the Settings page if a section isn’t where you expect it. If you see “Your browser is managed by your organization” on a personal PC you never enrolled anywhere, treat it as a red flag. Look for unfamiliar software in Settings > Apps.

Judge entries by whether you added them on purpose. A familiar-looking domain can still be malicious.

Fix #6: Remove browser hijacks in Google Chrome

  1. Open Chrome, select the three-dot menu, and select Settings.
  2. Select On startup. Remove unfamiliar pages and choose the startup behavior you want.
Google Chrome Settings on the On startup page, showing the Open a specific page or set of pages option with a list of startup URLs and their three-dot menus
  1. Select Search engine. Check the default search engine and the site search list, and remove anything you didn’t add.
  2. Select Extensions and remove unfamiliar ones.
  3. Select Privacy and security > Site settings > Notifications. Remove or block suspicious sites.
  4. If the problem continues, select Reset settings > Restore settings to their original defaults and confirm.

A Chrome reset mainly restores Chrome’s own settings. It doesn’t deal with Windows apps, scheduled tasks, system proxy settings, or browser policies set elsewhere on the PC, and some extensions may need to be removed separately. Your synced Google profile can also bring the junk straight back. If settings keep returning:

  • Type chrome://policy in the address bar. Policies you didn’t set suggest software has taken control of Chrome.
  • Check Settings > Apps and your startup programs for anything unfamiliar.
  • Turn off Chrome sync while you clean the profile.
  • Change your Google password from a clean device and review your account’s active sessions and recovery options.

If redirects hit every browser on the PC, check your Windows proxy and DNS settings too. A browser reset won’t fix a system-wide redirect.

Fix #7: Get a second opinion with an on-demand scanner

No antivirus catches everything. A second scanner run on demand gives you another engine’s opinion without the conflicts that two real-time products cause. Malwarebytes is the one HDG has recommended for years.

  1. Download the scanner only from the vendor’s official site. Skip download portals and “free PC cleaner” bundles.
  2. During setup, decline any offer to add real-time protection if you want Defender to stay your active antivirus.
  3. Run a full scan and remove what it finds.
  4. Uninstall the scanner afterward, or keep it for occasional manual scans.

Running two real-time antivirus products at once tends to cause slowdowns, conflicts, and confusing alerts. If you buy a full antivirus suite instead, uninstall the old one first and make sure the new one supports Windows 10.

A clean result doesn’t mean your accounts are safe. Passwords stolen before the scan stay stolen. Change them from a clean device, ideally with a password manager generating new ones.

Fix #8: Boot into Safe Mode to investigate

Safe Mode starts Windows with a minimal set of drivers and services. It can’t scan for anything, but it gives you a quieter environment for removing unfamiliar programs or running a scanner.

  1. Select Start > Power.
  2. Hold Shift and select Restart.
Windows 10 Start menu with the Power menu expanded and the Restart option highlighted, with a note that Shift is held while clicking
  1. On the blue recovery screen, select Troubleshoot > Advanced options > Startup Settings > Restart.
  2. After the restart, press the number shown next to Enable Safe Mode. Choose Enable Safe Mode with Networking only if you need to download something.

If Windows won’t boot normally, the recovery screen usually appears on its own after a few failed starts. You can also reach it from Windows installation or recovery media.

Keep these limits in mind:

  • Malware can still run in Safe Mode, especially if it’s buried deep in the system.
  • Networking in Safe Mode exposes the PC to the internet again, so use it only when you need it.
  • Some drivers, encryption tools, and security products don’t work normally here.
  • You might be asked for your BitLocker recovery key.
  • A faster PC in Safe Mode only shows that fewer programs are loading. It doesn’t prove an infection.

Disk Cleanup is handy for freeing space, but it has no malware detection at all. To use it, search for Disk Cleanup, pick your drive, and check only the categories you understand, such as temporary files.

Disk Cleanup dialog for drive C: with the Files to delete list showing Temporary files checked and the OK button visible

Fix #9: Reset this PC

Reset this PC reinstalls Windows. It’s the last resort when scans come back clean but the PC still misbehaves, or when settings keep reverting no matter what you do.

  1. Select Start > Settings > Update & Security > Recovery.
  2. Under Reset this PC, select Get started.
  3. Choose Keep my files or Remove everything.
Windows 10 Reset this PC "Choose an option" dialog with Keep my files and Remove everything options and the Cancel button visible
  1. If offered, pick Cloud download or Local reinstall.
  2. Read the summary screen carefully and continue only once your backups are done.

The exact screens depend on your build, edition, encryption, and recovery setup.

Keep my files reinstalls Windows and removes your apps, but the personal files it keeps aren’t scanned or cleaned. An infected document or download you kept can reinfect the PC when you open it, so scan your files after the reset. Remove everything does a much more thorough job on Windows itself. Neither option fixes infected backups, compromised accounts, or firmware-level malware.

Before you reset:

  • Copy irreplaceable photos and documents to an external hard drive or other storage you can disconnect.
  • Leave unknown programs, scripts, cracked software, and suspicious archives out of that backup.
  • Make sure you can sign in to your Microsoft account, email, password manager, and two-factor apps.
  • Find your BitLocker recovery key if device encryption is on.
  • Note your Windows activation method and any app licenses you’ll need.
  • Write down network, printer, and accessibility settings.
  • If ransomware hit you, keep the encrypted files and ransom notes. They can help identify the strain later.

For a badly compromised PC, a clean install from trusted installation media is a safer bet than an in-place reset. It takes more prep, and anything you didn’t back up is gone.

Is Microsoft Defender enough on Windows 10?

Defender is solid baseline antivirus protection, and it’s on by default. How well it protects you depends on current security intelligence, cloud protection being on, your settings, your browsing habits, and whether your accounts use strong, unique passwords.

The bigger weak spot on Windows 10 is the OS itself. Defender or any third-party suite can block malicious files, but none of them can patch Windows itself. Outside the Extended Security Updates program, Microsoft stopped shipping those fixes after October 14, 2025, and ESU only covers critical and important security updates until October 12, 2027. A second scanner (Fix #7) is a good check when something feels off. It doesn’t replace staying on a patched version of Windows.

When the fixes don’t work

If settings keep reverting, security tools keep turning off, or new admin accounts reappear after a reset, something is still persisting. It could be in your backups, a synced browser profile, or a managed policy. Take the PC to a reputable local repair shop, or do a clean install from trusted media and restore files selectively. On a work PC, hand it to your IT department.

Conclusion

Start with a Full scan in Windows Security plus a browser cleanup (Fixes #2, #5, and #6). That combination deals with the common adware and browser-hijack cases. If malware keeps switching Defender off, run the Microsoft Defender Offline scan, which scans before normal Windows loads, so it’s harder for malware to hide.

If you’re still on Windows 10, the long-term fix is a supported Windows release, or at least enrollment in Extended Security Updates. And if you get repeated stolen-password alerts or settings that undo themselves after a reset, the problem goes deeper than one scan can reach. Change your passwords from a clean device and get help from a repair shop or your IT team.