By default, Windows Defender does not run a full automatic scan on newly inserted USB sticks until files are accessed (Real-Time Protection scans files on open/execute). To enable automatic removable-drive scanning during full scans, open elevated PowerShell and run Set-MpPreference -DisableRemovableDriveScanning $false, or right-click any USB drive in File Explorer and choose Scan with Microsoft Defender.
Before You Start: Quick Pre-Check
- Verify whether a third-party antivirus (Norton, McAfee, Avast, Bitdefender, etc.) is installed, because Windows automatically puts Microsoft Defender into passive/off mode when another AV registers.
- Open PowerShell or Command Prompt using "Run as Administrator" before executing Defender service or MpCmdRun commands.
- Check Windows Settings > Accounts > Access work or school to verify whether a school/company Intune or Group Policy profile is managing security settings.
Why This Issue Happens
By default, Windows Defender does not run a full automatic scan on newly inserted USB sticks until files are accessed (Real-Time Protection scans files on open/execute).
This issue falls under Controlled Folder Access (Ransomware Protection), SmartScreen, PUA & Exclusions (Windows Defender & Security). Confirming the exact trigger before making changes prevents unnecessary resets and helps preserve your data and account standing.
Step-by-Step Resolution Protocol
To enable automatic removable-drive scanning during full scans, open elevated PowerShell and run Set-MpPreference -DisableRemovableDriveScanning $false, or right-click any USB drive in File Explorer and choose Scan with Microsoft Defender.
How to Verify the Fix Worked
- Open PowerShell as Administrator and run Get-MpComputerStatus to verify AMServiceEnabled, AntivirusEnabled, RealTimeProtectionEnabled, and BehaviorMonitorEnabled all return True.
- Open Windows Security (windowsdefender:) and confirm Virus & Threat Protection, Firewall & Network Protection, and Device Security all show green checkmarks with current definition dates.
- Run a Quick Scan or verify Protection History to confirm the prior error code or repeated alert has cleared.
What if the issue still persists? If WinDefend or SecurityHealthService still fails to start with error 577, 0x80070422, or blank UI screens after removing legacy AV drivers and running DISM/SFC, perform an in-place Windows 11/10 Repair Upgrade (keeping all files and apps) to restore signed Defender binaries.