I had an issue the place giant downloads stored slowing down midway via. I attempted many of the standard troubleshooting steps — restarting my router and pc, checking for outages, working velocity exams, and switching browsers (Chrome, Edge, Courageous) — however nothing labored. This downside by no means occurred with smaller downloads, making it trickier to diagnose.
In the long run, utilizing the Useful resource Monitor instrument, I traced the issue to Microsoft Defender. It was stunning that this safety instrument was ruining my giant downloads, and much more stunning was the way it was doing so.
Massive downloads set off Defender in a different way
Small recordsdata often end earlier than the slowdown turns into apparent
Essentially the most complicated a part of this concern was the inconsistency. Downloading a 60MB installer was a breeze, however a big ISO or ZIP of a number of gigabytes would trigger excessive fluctuations. This unpredictability was constant throughout all of the browsers I exploit — even my favourite, Courageous — so it wasn’t a browser concern.
As information arrives, browsers immediately stream chunks of it to disk; they do not await the whole file. Nonetheless, Microsoft Defender features a mini-filter driver, a real-time safety mechanism that intercepts writes, and it treats each chunk downloaded from the browser as a brand new inspection occasion.
In essence, if you’re downloading a 6GB file, it is not scanned solely after completion; Defender scans chunks because the file grows. The scrutiny is often highest for ZIP, ISO, EXE, and MSI recordsdata as a result of they’re widespread malware conduits. Whereas your web connection could also be nice, the difficulty happens on the disk, the place Microsoft Defender and the browser concurrently compete for write entry.
Whenever you suppose it is the web connection dropping, it might simply be the disk write queue backing up. What might really feel like a browser struggling is commonly the Antimalware Service Executable (MsMpEng.exe) working. What looks like a sluggish server could be real-time file system scanning, inflicting the disk write queue to again up.
This downside is magnified should you use mechanical laborious drives or finances SATA SSDs, or in case your laptop computer is on the Balanced energy plan.
Useful resource Monitor confirmed what Process Supervisor missed
Watching each home windows concurrently modified all the things
When you encounter the identical concern, Process Supervisor will supply little assist. It’ll nonetheless present regular CPU utilization and the anticipated community speeds. However Useful resource Monitor surfaces extra particulars.
I navigated to the Useful resource Monitor’s Disk tab, sorted by Whole (B/sec), after which began downloading a big Linux file from my browser. When the obtain slowed, MsMpEng.exe rose to the highest of the Disk tab; its Energetic Time approached 100%, disk response time elevated, and skim/write operations queued.
The synchronization of occasions confirmed Defender was the trigger: every collapse matched a Defender spike, and downloads recovered as spikes eased; the sample held throughout browsers. You could possibly strive replicating this take a look at; it turns into laborious to unsee when you discover the sample.
Home windows was throttling my web till I discovered these 5 settings
Your web would possibly already be quick, Home windows simply isn’t letting it really feel that method.
Edge provides one other safety test close to the end line
The “caught at 99%” downside often is not network-related
Edge had one sample that stood out. Downloads usually run till about 99% after which pause for some time earlier than finishing. SmartScreen is commonly the principle purpose for this, although Defender finishing its remaining scan move on the completed file can contribute too.
Microsoft Defender works throughout writes, however earlier than Edge permits the obtain to finish absolutely, SmartScreen checks the file’s repute. If an app or executable has little repute historical past, it faces larger friction throughout SmartScreen checks, and the identical goes for downloads from less-trafficked sources.
In Edge, the timing of SmartScreen checks and Microsoft Defender scans can align carefully sufficient, and when this occurs, the ultimate components of the obtain change into disproportionately sluggish.
A folder exclusion mounted the slowdown
The focused strategy labored higher than disabling safety totally
Disabling real-time safety globally would repair the issue, however it removes a necessary protection layer, leaving you fully uncovered to all types of malware. It ought to by no means be thought of.
The answer I utilized was making a devoted downloads folder. I excluded this folder from Microsoft Defender scanning. The steps are easy:
- Launch the Home windows Safety app.
- Navigate to Virus & risk safety -> Handle settings.
- Underneath Exclusions, choose Add or take away exclusions.
- Click on the Add an Exclusion button, then choose Folder, and add the downloads folder you created.
This folder was strictly for giant downloads and trusted archives, and it was remoted from my common Downloads folder. As soon as it was added, the issues with giant downloads disappeared. I noticed steady SSD exercise throughout transfers in Useful resource Monitor.
When you undertake this resolution, your exclusions should be slender. Excluding the whole drive or your common Downloads folder would put the system in danger as a result of a number of unverified recordsdata usually find yourself in these areas, and there would not be any real-time scanning for them.
Predictability of huge file downloads
One of many worst components of huge downloads is just not understanding how lengthy they will take or having no constant technique to estimate it. The repair I adopted eliminated the unpredictability. The issue was by no means my browser; it was simply Home windows performing because it was designed to and finishing up its regular safety checks.