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.
| Component | Role | Notes |
|---|---|---|
| DoSvc service | Runs the downloads and uploads | Starts on demand, runs as Network Service |
| Cloud service | Supplies metadata and peer lists | Needs outbound HTTPS access |
| CDN servers | Original HTTP source of content | Always available as a fallback |
| Peer PCs | Serve cached pieces to neighbors | Use TCP port 7680 |
| Microsoft Connected Cache | On-premises caching server | Fills once, serves many clients |
| Local cache folder | Stores pieces for later sharing | Under the Network Service profile |
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.
| Value | Mode | Peer scope | Typical use |
|---|---|---|---|
| 0 | HTTP only | No peering, cloud services still used | Devices that must not share content |
| 1 | LAN | Peers behind the same public IP address | Default for many organizations |
| 2 | Group | Peers sharing a defined group ID | Multi-site networks with shared NAT |
| 3 | Internet | LAN peers plus Internet peers | Home users who opt in |
| 99 | Simple | No peering, no cloud services | Isolated or restricted networks |
| 100 | Bypass | Uses BITS instead | Deprecated in Windows 11 |
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.
| Policy | What it controls | Typical default |
|---|---|---|
| DOMaxCacheAge | How long pieces stay cached | About 3 days |
| DOMaxCacheSize | Cache size as share of disk | 20 percent |
| DOMinFileSizeToCache | Smallest file eligible for peering | 50 MB |
| DOMinRAMAllowedToPeer | Memory needed to upload to peers | 4 GB |
| DOMinDiskSizeAllowedToPeer | Disk size needed to peer | 32 GB |
| DOMaxBackgroundDownloadBandwidth | Cap for background downloads | Adaptive, no fixed cap |
| DOMinBatteryPercentageAllowedToUpload | Battery level needed to upload | Uploads paused on battery |
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.
Content served and related distribution options
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.
| Method | Infrastructure needed | Strength | Limitation |
|---|---|---|---|
| Delivery Optimization peering | None beyond clients | Zero server cost | Depends on peers being online |
| Microsoft Connected Cache | Cache server or VM | Predictable local hit rate | Requires deployment and monitoring |
| WSUS | Update server and database | Explicit approval control | Heavy maintenance, limited content types |
| BranchCache | Optional hosted cache | Works with SMB and HTTP shares | Separate configuration model |
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.