Quick fix: Disable Windows Defender real-time scanning on the source and destination folders during large copies: add them as Defender exclusions. Defender scans every file being copied — for thousands of small files, this adds 5-20x to copy time.
You copy 50 GB of files between drives (or to USB). It takes hours. Sustained transfer rate shows 5-20 MB/s instead of the 200+ MB/s your SSD should produce. The bottleneck isn’t the drives — it’s Windows scanning each file as it’s read or written. Add the folders to Defender exclusions for the duration of the copy and speed jumps to native drive speed.
Affects: Windows 11 (and Windows 10) with active Defender or third-party AV.
Fix time: ~5 minutes.
What causes this
Windows scans every file accessed via the real-time scanning of Microsoft Defender (or third-party AV). For small-file copies — say 50,000 source code files totaling 10 GB — each file gets scanned twice (read on source, write on destination). The scan time per file is small but accumulates. Large single files are less affected because Defender processes them streaming with low per-byte overhead, but thousands of small files multiply the per-file overhead massively.
Method 1: Add source and destination to Defender exclusions during copy
The standard speed boost.
- Open Windows Security → Virus & threat protection → Manage settings → Add or remove exclusions.
- Click Add an exclusion → Folder.
- Pick the source folder (e.g.,
C:\Source). - Add another exclusion for the destination folder.
- Now perform the copy. Defender skips scanning both folders.
- Transfer rate should match the slower of the two drives’ rated speed.
- After the copy, remove the exclusions: same screen → click the exclusion → Remove.
- For repeated bulk copies in the same path (e.g., a development build folder), leave the exclusion permanent.
Exclusions are the most effective single optimization for small-file copies.
Method 2: Use Robocopy for large transfers
Robocopy is more efficient than File Explorer for bulk operations.
- Open Terminal (Admin).
- Run robocopy:
robocopy "C:\Source" "D:\Destination" /E /COPY:DAT /MT:32 /R:1 /W:1Flags explained:
/E— copy all subdirectories including empty ones/COPY:DAT— preserve Data, Attributes, Timestamps/MT:32— use 32 threads for parallel copy/R:1— retry once on failure/W:1— wait 1 second between retries
- The multi-threading speedup is dramatic for many small files — often 5-10x faster than File Explorer alone.
- Combine with Defender exclusions (Method 1) for the fastest possible copy.
- For resume-safe copies (if interrupted): add
/Zfor restartable mode.
Robocopy is the right tool for bulk transfers in or out of dev environments, photo archives, video libraries.
Method 3: Optimize source/destination drive settings
Long-term improvements that benefit all file operations.
- For external USB drives, enable write caching:
- Device Manager → Disk drives → (your USB drive) → Properties → Policies tab.
- Choose Better performance.
- Tick Enable write caching on the device.
- For network drive copies, increase SMB packet size by enabling SMB3 jumbo frames:
Set-SmbServerConfiguration -EnableLargeMtu $true - Disable Indexing on the destination folder if it’s a dump for large archives that don’t need search:
- Right-click the folder → Properties → Advanced → untick “Allow files in this folder to have contents indexed.”
- For HDDs, ensure they’re defragmented occasionally: Defragment and Optimize Drives from Start menu.
These produce smaller but cumulative improvements.
How to verify the fix worked
- Copy a 1 GB file or 10,000 small files. Note time taken.
- Calculate effective transfer rate: GB / seconds = GB/s. Compare to drive spec (NVMe SSD: 500-3000 MB/s; SATA SSD: 200-500 MB/s; HDD: 80-200 MB/s).
- With exclusions, your effective rate should be at least 70-80% of drive spec for most workloads.
If none of these work
If copies remain slow despite exclusions and robocopy, three causes apply. Failing storage: aging SSDs lose write speed. Check SMART status with CrystalDiskInfo. USB port bandwidth: USB 2.0 caps at 40 MB/s effective. Use USB 3.0/3.1/3.2 ports for high-speed external drives. Confirm with Device Manager → USB controllers. Network bottleneck: for network copies, Wi-Fi caps at much lower than wired. Switch to Ethernet for large transfers. Fragmentation: HDDs slow dramatically when heavily fragmented. Defragment via the built-in optimizer.
Bottom line: Slow copy is usually Defender scanning each file — add source and destination to exclusions for the copy, use robocopy for many-file transfers, and copy speed jumps to drive-native rates.