Delivery Optimization

On this page 7

Delivery Optimization is the peer-assisted download service built into Windows 10 and Windows 11 that retrieves updates, apps and other Microsoft content in small pieces from several sources at once: Microsoft content delivery servers, other PCs on the same network and, where deployed, local cache servers. Within Windows updates & recovery, it is the transport layer underneath Windows Update, which decides what to install, while Delivery Optimization decides where each byte comes from.

The service runs as DoSvc and exists to cut the Internet bandwidth that monthly cumulative updates and feature updates would otherwise consume when hundreds of devices download identical files. It matters most in offices, schools and branch sites with limited links, where it can turn one external download into many local transfers.

How Delivery Optimization splits and shares downloads

Delivery Optimization works by dividing each file into pieces, verifying every piece against hashes from signed metadata, and downloading those pieces in parallel from whichever source is fastest and allowed. The client first contacts Microsoft cloud services, which return the file’s metadata and a list of eligible peers that recently downloaded the same content.

Because each piece is checked against a hash that Microsoft signs, a peer cannot inject altered content: a corrupted or tampered piece is simply discarded and fetched again from another source. Peers exchange data over TCP port 7680, and devices that peer across the Internet may also use Teredo on port 3544 for NAT traversal. Downloaded pieces are kept in a local cache so that the device can serve them to others for a limited time.

The following table lists the components that take part in a typical download and the role of each one.

ComponentRoleNotes
DoSvc serviceRuns the downloads and uploadsStarts on demand, runs as Network Service
Cloud serviceSupplies metadata and peer listsNeeds outbound HTTPS access
CDN serversOriginal HTTP source of contentAlways available as a fallback
Peer PCsServe cached pieces to neighborsUse TCP port 7680
Microsoft Connected CacheOn-premises caching serverFills once, serves many clients
Local cache folderStores pieces for later sharingUnder the Network Service profile
Components involved in a Delivery Optimization download

Download modes and peer groups

The download mode setting controls which peers a device may use, and it is the single most important Delivery Optimization parameter. It is set in Settings for individual PCs and through the DODownloadMode policy in Group Policy or Intune for managed fleets.

The table shows the documented mode values and the situations each one fits.

ValueModePeer scopeTypical use
0HTTP onlyNo peering, cloud services still usedDevices that must not share content
1LANPeers behind the same public IP addressDefault for many organizations
2GroupPeers sharing a defined group IDMulti-site networks with shared NAT
3InternetLAN peers plus Internet peersHome users who opt in
99SimpleNo peering, no cloud servicesIsolated or restricted networks
100BypassUses BITS insteadDeprecated in Windows 11
Delivery Optimization download modes

Group mode deserves attention in larger estates. By default, LAN mode treats every device behind one public IP address as a peer, which can pair a laptop in one city with a desktop in another when both sites share a central Internet breakout. Setting DOGroupId or DOGroupIdSource (for example, from the AD site or DHCP option) keeps peering within a physical location.

Cache, bandwidth and eligibility settings

Delivery Optimization limits its own impact through cache, bandwidth and device eligibility rules, so that a device only shares content when it has spare resources. Administrators can tune these values, and the defaults are deliberately conservative.

The next table summarizes frequently tuned policies and their usual defaults; exact defaults can change between Windows releases.

PolicyWhat it controlsTypical default
DOMaxCacheAgeHow long pieces stay cachedAbout 3 days
DOMaxCacheSizeCache size as share of disk20 percent
DOMinFileSizeToCacheSmallest file eligible for peering50 MB
DOMinRAMAllowedToPeerMemory needed to upload to peers4 GB
DOMinDiskSizeAllowedToPeerDisk size needed to peer32 GB
DOMaxBackgroundDownloadBandwidthCap for background downloadsAdaptive, no fixed cap
DOMinBatteryPercentageAllowedToUploadBattery level needed to uploadUploads paused on battery
Commonly adjusted Delivery Optimization policies

Bandwidth limits can be expressed as absolute values or as a percentage of measured bandwidth, and separate limits apply to foreground and background downloads. A foreground download is one the user started, such as a Microsoft Store install, while monthly updates usually run in the background and yield to other traffic.

Delivery Optimization carries far more than operating system patches: it serves cumulative updates, feature updates, Microsoft Store apps, Microsoft Defender definition files, Microsoft 365 Apps, Microsoft Edge updates and Intune Win32 apps. It therefore shapes network load even in environments that do not think of it as an update tool.

Organizations often compare it with other ways of getting content close to clients. The table contrasts the main options.

MethodInfrastructure neededStrengthLimitation
Delivery Optimization peeringNone beyond clientsZero server costDepends on peers being online
Microsoft Connected CacheCache server or VMPredictable local hit rateRequires deployment and monitoring
WSUSUpdate server and databaseExplicit approval controlHeavy maintenance, limited content types
BranchCacheOptional hosted cacheWorks with SMB and HTTP sharesSeparate configuration model
Delivery Optimization compared with other distribution methods

WSUS and Delivery Optimization are not mutually exclusive: clients that obtain updates from WSUS can still use peering for some payloads, while Windows Update for Business and Windows Autopatch depend on Delivery Optimization to keep cloud-sourced updates efficient.

Monitoring, troubleshooting and common mistakes

Delivery Optimization is observed through the Get-DeliveryOptimizationStatus and Get-DeliveryOptimizationPerfSnap PowerShell cmdlets, the Activity monitor page in Settings, and Windows Update for Business reports. The key metric is the percentage of bytes from peers or caches compared with bytes from the Internet.

  • Blocked port 7680 on host firewalls or between VLANs silently prevents LAN peering, so every device falls back to the CDN.
  • VPN connections often make remote workers appear as one huge peer group; Windows can detect VPNs and disable peering when configured to do so.
  • Small caches on thin clients or virtual desktops mean devices rarely hold content long enough to share it.
  • Assuming peering is a privacy risk misreads the design: peers exchange only signed Microsoft content, never personal files.
  • Disabling the DoSvc service to save bandwidth can break or stall Windows Update and Store downloads instead of improving them.

In simple terms

Delivery Optimization is the part of Windows that lets computers share update downloads with each other. Normally every PC in an office would fetch the same large update from the Internet. With this feature, one PC downloads a piece and passes it to its neighbors.

Think of friends who buy one newspaper and photocopy it. Every page is still checked against a stamp from the publisher. The result is faster updates and much less Internet traffic, with no change in what gets installed.

A practical example

A secondary school runs 600 Windows 11 laptops on a single 500 Mbit/s connection. When a monthly cumulative update of several hundred megabytes arrived, every laptop downloaded it directly, and the Internet link was saturated for most of a school morning.

The IT team set download mode 2 with a group ID per building, opened TCP port 7680 between classroom VLANs and raised the cache age to seven days. On the next Patch Tuesday, reports showed that roughly 80 percent of update bytes came from peers, the external link stayed responsive, and all laptops finished updating within the normal deadline.