Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Defender USB Settings: Scan and Block Removable Drives

· 5 min read · Home Tech

In this article
  1. Turning on Defender's removable-drive scanning
  2. What each Defender USB setting actually does
  3. Does Defender scan a USB drive automatically when you plug it in?
  4. Blocking USB drives with Defender policy
  5. Where Defender USB settings go wrong
  6. Keeping USB scanning working after you set it

Microsoft Defender's USB settings live in Windows Security under Virus & threat protection settings, where the "Scan removable drives" toggle makes full scans include USB drives. Blocking USB drives entirely is a separate setting, available through Group Policy or Microsoft Defender for Endpoint, not the consumer Windows Security app.

Time 10 min · Steps 6 · Level Easy

Quick answer: open Windows Security, go to Virus & threat protection, then Manage settings, and turn on "Scan removable drives" so every full scan covers your USB sticks and external drives. The detail most people get wrong is expecting this toggle to scan a USB drive the moment you plug it in. It does not. Real-time protection still checks files as you open or copy them, but the removable-drive toggle only adds USB media to scheduled and manual full scans. If you want a USB drive checked right now, you run a custom scan on the drive itself.

Turning on Defender's removable-drive scanning

  1. Open Windows Security. Click the shield icon in the taskbar, or search the Start menu for "Windows Security". Menu names can differ slightly between Windows versions.
  2. Go to Virus & threat protection. On the home screen, click the arrow or tile labelled Virus & threat protection.
  3. Open Manage settings. Under "Virus & threat protection settings", click Manage settings.
  4. Turn on Scan removable drives. Scroll to the bottom of the settings page and switch "Scan removable drives" to On. Confirm any User Account Control prompt.
  5. Scan a USB drive right now. Back on the Virus & threat protection page, choose Scan options, select Custom scan, click Scan now, and tick the drive letter of your USB drive. A quick scan does not cover removable drives; a full scan now will, because of the toggle you just enabled.
  6. Check the result. When the scan finishes, Windows Security reports threats found and quarantined items. A clean scan shows "No current threats" with the scan time and date listed under Protection updates or scan history.

What each Defender USB setting actually does

The three controls people mix up are scanning, real-time checking, and blocking. They sit in different places and behave differently, so it helps to keep them straight before you change anything.

SettingWhere it livesWhat it does
Scan removable drivesWindows Security > Virus & threat protection > Manage settingsAdds USB and external drives to full and scheduled scans
Real-time protectionSame page, near the topChecks files on any drive, including USB, as you open or run them
Block removable storageGroup Policy or Microsoft Defender for EndpointStops USB drives being read or written at all

Real-time protection is on by default and needs no change for USB use. The removable-drive toggle is off by default because scanning large external drives makes full scans much slower. Blocking is an administrator-level control, covered below.

Does Defender scan a USB drive automatically when you plug it in?

No, and this is where most confusion starts. Plugging in a USB drive does not trigger a dedicated scan. What happens instead is that real-time protection inspects any file you actually open, copy, or run from that drive, and Defender may check the drive's autorun behaviour. A file sitting unopened on the stick is not examined until a full or custom scan reaches it. So if you want certainty before using a borrowed drive, run a custom scan on it first - that takes anywhere from a minute for a small stick to an hour or more for a large external drive, depending on how many files it holds.

Blocking USB drives with Defender policy

On a work computer, USB blocking is usually managed centrally. Administrators use Microsoft Defender for Endpoint's device control rules to allow, monitor, or block removable storage, or set Group Policy under Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus to control scanning and device access. If you are on a managed machine and your USB drive is not appearing, this policy is the most likely reason, and your IT team is the one who can change it. On a home PC, the built-in route is simply to keep scanning on and leave the drive unplugged when not in use.

Where Defender USB settings go wrong

The most common slip is assuming the toggle was already on. Because "Scan removable drives" is off by default, months of full scans can pass without a single file on your backup drive being checked. Open Windows Security and confirm it before relying on scan history.

The second is scanning the wrong thing. A quick scan checks only the areas where malware usually hides in memory and startup locations, and it skips removable drives entirely. Only a custom scan pointed at the drive letter, or a full scan with the toggle enabled, actually reads your USB files.

The third is expecting Defender to stop a plugging-in event. If you need a USB stick to be unusable - for example on a shared machine - Defender's consumer settings cannot do that. You would need Group Policy device-installation restrictions or endpoint device control, both administrator tasks.

One more caution that sits outside Defender: if a scan comes back clean but the drive still behaves oddly, the problem may be the drive's file system or hardware rather than malware. Check the drive in Disk Management to see whether Windows recognises it and whether it has a healthy partition before assuming an infection.

Keeping USB scanning working after you set it

Once the toggle is on, keep real-time protection on too - turning it off, even briefly, removes the check that catches files as you open them from a USB drive. Keep definitions current through Windows Update, since a scan is only as good as its signature files. If you regularly swap drives, get in the habit of a custom scan on any drive that has been in another computer, especially a public or shared one, before opening anything from it. And if a scan quarantines a file you actually need, you can restore it from Protection history in Windows Security, though restoring a flagged file is only sensible when you know exactly what it is and where it came from.

Official source: Microsoft Support