Configuring Delivery Optimization

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 10 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Configuring Delivery Optimization in Microsoft Intune

Introduction: The Challenge of Modern Software Distribution

In a modern enterprise environment, keeping thousands of devices updated is a monumental task. Every time a Windows update, an application patch, or a Microsoft 365 update is released, your network infrastructure faces a significant challenge. If every single device in your office pulls the same multi-gigabyte update file directly from Microsoft’s servers over your internet connection, you will quickly saturate your bandwidth. This leads to slow internet speeds for everyone, failed updates due to timeouts, and increased costs for data consumption.

Delivery Optimization (DO) is a cloud-managed, peer-to-peer distribution mechanism that solves this problem. Instead of every device downloading updates from the internet, Delivery Optimization allows devices on the same local network to share the update files they have already downloaded with one another. When a device needs an update, it checks with the Microsoft cloud service to see if the update is available from a local "peer" on the same network before reaching out to the internet.

Understanding how to configure Delivery Optimization within Microsoft Intune is not just about saving bandwidth; it is about ensuring that your device management strategy is resilient, scalable, and efficient. This lesson will guide you through the technical architecture, configuration settings, and best practices for implementing Delivery Optimization, ensuring your fleet remains compliant without crippling your network infrastructure.


Not read yet

Understanding the Architecture of Delivery Optimization

At its core, Delivery Optimization is a HTTP-based, distributed cache system. It works by breaking down large update files into small parts. When a device downloads an update, it stores these parts locally. Other devices on the same network can then request these parts from their neighbors rather than downloading them from a remote server.

The Role of the Delivery Optimization Service

The Delivery Optimization service is a cloud-based component maintained by Microsoft. It acts as a directory. When a device is configured for Delivery Optimization, it periodically sends "heartbeat" signals to this service, reporting its status, its local IP address, and its network identifiers. The service uses this information to group devices into "peer groups." Devices within the same group can share content.

Peer-to-Peer vs. HTTP Downloading

By default, Windows Update uses HTTP downloading. This is the traditional client-server model. Delivery Optimization adds a layer of intelligence, allowing for:

  • Peer-to-Peer (P2P) Sharing: Devices act as mini-servers for one another.
  • Background Intelligence: The system automatically throttles P2P traffic so that it does not interfere with the user's active tasks.
  • Network Awareness: It uses local network identifiers to ensure that devices only share content with others in the same physical location or subnet.

Callout: Peer-to-Peer vs. BranchCache You may have heard of BranchCache, an older technology used for similar purposes. While both technologies aim to reduce bandwidth usage, Delivery Optimization is the modern, cloud-native successor. BranchCache requires dedicated server infrastructure (Hosted Cache) or complex configuration. Delivery Optimization is entirely managed via policy, requires no dedicated servers, and is significantly more effective at handling modern Windows-as-a-Service update cadence.


Not read yet

Configuring Delivery Optimization in Intune

Configuring Delivery Optimization via Intune is done through the "Configuration Profiles" section. You are essentially creating a policy that tells the Windows Update agent how to behave regarding peer sharing.

Step-by-Step Configuration

  1. Navigate to the Intune Portal: Log in to the Microsoft Endpoint Manager admin center.
  2. Create a Profile: Go to Devices > Configuration profiles > Create profile.
  3. Select Platform and Type: Choose Windows 10 and later as the platform and Settings catalog as the profile type.
  4. Name the Profile: Give it a meaningful name, such as "Global Delivery Optimization Settings."
  5. Add Settings: Click Add settings and search for "Delivery Optimization." You will see a long list of available configurations.

Key Settings to Configure

To create an effective policy, you should focus on the following core settings within the Settings Catalog:

  • Download Mode: This is the most important setting. It determines how the device finds peers.
    • HTTP blended with peering behind the same NAT (1): Devices share with others behind the same router.
    • HTTP blended with peering across a private group (2): Devices share with others based on a specific Group ID.
    • HTTP blended with peering across the internet (3): Devices share with any peer found by the service (usually not recommended for enterprise).
    • Bypass (100): Disables Delivery Optimization entirely (use only for troubleshooting).
  • Group ID: If you select "HTTP blended with peering across a private group," you must define a Group ID. This is a GUID that acts as a logical identifier for your network. Only devices with the same GUID will share content.
  • Background Download Bandwidth: You can set a limit on the percentage of available bandwidth that Delivery Optimization can use for background tasks.
  • Foreground Download Bandwidth: You can set a limit for foreground tasks (updates initiated by the user).

Tip: Start with "HTTP blended with peering behind the same NAT (1)" if you have a simple network structure. If your organization spans multiple offices or complex subnets, use "HTTP blended with peering across a private group (2)" to ensure that devices in Office A do not try to download content from devices in Office B.


Not read yet

Practical Examples of Configuration

Scenario 1: The Single-Office Setup

In a small office with a single internet gateway, you want to maximize peer sharing within the local network.

Configuration:

  • Download Mode: HTTP blended with peering behind the same NAT (1).
  • Max Cache Size: 20% (This ensures the disk isn't overwhelmed by cache).
  • Minimum Background Bandwidth: 10%.

This configuration is "set and forget." The Windows Update agent will automatically detect peers on the local network segment without needing complex Group ID management.

Scenario 2: The Multi-Office Enterprise

In an enterprise with offices in New York and London, you need to prevent cross-continental peer sharing.

Configuration:

  • Download Mode: HTTP blended with peering across a private group (2).
  • Group ID: Use a unique GUID for the New York office and a different GUID for the London office.
  • Cache Server Hostname: If you have an internal cache server, specify its address here.

By using Group IDs, you ensure that even if the network routing is complex, the Delivery Optimization service knows exactly which devices should be considered "neighbors."


Not read yet

Advanced Configuration: Delivery Optimization In-Network Cache

Sometimes, peer-to-peer sharing is not enough. If your office has 500 devices, having them all rely on each other can create a "chatter" of traffic that is difficult to monitor. This is where the Microsoft Connected Cache (MCC) comes in.

Microsoft Connected Cache is a software-based cache server that you can deploy on your local network (often on a Windows Server or inside a container). When you configure Intune to point to this cache server, your devices will attempt to download updates from the local cache server first. If the cache server does not have the update, it fetches it from the internet once, caches it, and serves it to all local clients.

Setting up the Cache Server in Intune

  1. Navigate to your Delivery Optimization profile in the Settings Catalog.
  2. Search for Cache Server Hostname.
  3. Enter the FQDN or IP address of your internal cache server.
  4. Ensure that the devices have the necessary firewall permissions to communicate with this server over the designated port (usually port 80 or 443).

Note: Using a Connected Cache server is the gold standard for large-scale enterprise deployments. It removes the reliance on peer-to-peer "gossip" and provides a single, controlled source of content within your network.


Not read yet

Best Practices and Recommendations

Implementing Delivery Optimization is not just about checking a few boxes; it requires a strategy that aligns with your network's capacity.

1. Monitor Before You Optimize

Before deploying a strict policy, use the Delivery Optimization Activity Monitor (a built-in Windows tool). By running Get-DeliveryOptimizationStatus in PowerShell, you can see how much data your devices are currently pulling from the internet versus peers. If you see a high percentage of "HTTP" traffic and zero "Peer" traffic, your current configuration is not working.

2. Gradual Rollout

Do not apply your Delivery Optimization policy to the entire fleet at once. Create a pilot group of 5-10% of your devices. Monitor their bandwidth usage for a week. If the update process is successful and the network performance remains stable, expand the policy to the rest of the organization.

3. Respect the Disk Space

Delivery Optimization stores update files on the device's hard drive. If you have devices with limited storage (e.g., 64GB SSDs), be careful with the Max Cache Size setting. If you set it too high, you might trigger "low disk space" warnings on your fleet, which will lead to help desk tickets. Keep the cache size at 10-20% for most devices.

4. Grouping Strategy

If your organization has distinct physical locations, use the Group ID feature religiously. Relying on "behind the same NAT" is often insufficient in complex corporate networks where routing might lead to unexpected peer groupings. Explicitly defining groups gives you control over which devices talk to each other.

5. Use PowerShell for Verification

You can use PowerShell to verify that the policy has been applied correctly. Run the following command on a managed device:

Get-DeliveryOptimizationStatus

This command will output a list of properties, including DownloadMode and BytesFromPeers. If DownloadMode shows the value you set in Intune, the policy is active. If BytesFromPeers is increasing, the peer-to-peer functionality is working as intended.


Not read yet

Common Pitfalls and Troubleshooting

Even with the best configuration, issues can arise. Here are the most common problems and how to address them.

Pitfall 1: Incorrect Download Mode

Many admins select "Bypass" while troubleshooting and forget to change it back. If your devices are not sharing content, the first thing to check is the DownloadMode setting. If it is set to 100, the P2P engine is disabled, and the device will pull everything from the internet.

Pitfall 2: Network Firewall Restrictions

Delivery Optimization relies on specific ports to communicate. If your local network firewall blocks the traffic between peers, they will never be able to discover each other.

  • Required Ports: Ensure that traffic on port 7680 (for P2P) and port 80/443 (for HTTP/HTTPS) is allowed between devices on the same subnet.

Pitfall 3: Content Expiration

Delivery Optimization cache has an expiration policy. If an update is released, but your peers don't check for it for a few days, the cache might be purged to save space. This is generally handled automatically by Windows, but if you have a very restrictive "Max Cache Age" setting, you might be forcing devices to re-download content unnecessarily.

Pitfall 4: Misconfigured Group IDs

If you are using Group IDs, ensure that they are consistent across your environment. A common mistake is a typo in the GUID string. If the GUIDs don't match exactly, the devices will not recognize each other as peers, and the P2P feature will fail silently.

Troubleshooting Checklist

  • Check Policy Application: Use Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" to see the actual registry keys applied to the machine.
  • Check Service Status: Ensure the "Delivery Optimization" service (dosvc) is running in the Services management console.
  • Check Logs: The event logs for Delivery Optimization are located at Applications and Services Logs > Microsoft > Windows > DeliveryOptimization. Look for "Error" entries that might indicate connectivity issues with the cloud service.

Not read yet

The Comparison: Delivery Optimization vs. Background Intelligent Transfer Service (BITS)

It is common to confuse Delivery Optimization with BITS. While both are used for downloading files, they serve different purposes in the modern stack.

Feature Delivery Optimization BITS
Primary Use OS/App Updates, Store Apps Older app installers, legacy patches
P2P Capabilities Native, cloud-managed Limited, requires extra setup
Network Awareness High (Group IDs, Cache Servers) Low (Site awareness only)
Cloud Integration Deep (Syncs with MS service) Minimal
Modern Status The standard for Windows 10/11 Being phased out for OS updates

Warning: Do not attempt to disable the BITS service if you are using legacy applications that rely on it. However, for all Windows Update and Microsoft 365 update traffic, rely exclusively on Delivery Optimization. Trying to force BITS to handle modern update traffic will result in poor performance and high bandwidth usage.


Not read yet

Summary: Key Takeaways for Success

To wrap up this lesson, here are the essential points you should carry forward when managing device updates with Delivery Optimization:

  1. Bandwidth Efficiency is Mandatory: In the modern enterprise, you cannot afford to have every machine pull updates from the internet independently. Delivery Optimization is the primary tool to mitigate this.
  2. Choose the Right Mode: Always select the Download Mode that matches your network topology. For simple networks, "behind the same NAT" is sufficient; for complex environments, use "Private Group IDs."
  3. Leverage Connected Cache: If you have more than a few hundred machines in a single location, do not rely solely on P2P. Implement a Microsoft Connected Cache server to provide a reliable, local source of update content.
  4. Monitor with Data: Never assume a policy is working. Use the Get-DeliveryOptimizationStatus PowerShell command to verify that your peer-to-peer traffic is actually occurring.
  5. Respect Hardware Limits: Be mindful of the cache size and age settings. Configuring these too aggressively can lead to disk space issues on older or smaller hardware.
  6. Firewall Hygiene: Ensure that the necessary ports (7680, 80, 443) are open to allow peer discovery and content transfer. Without these, even the best policy configuration will fail.
  7. Phased Deployment: Always test your Delivery Optimization configurations on a small pilot group before rolling them out to the entire organization to ensure no unexpected network side effects occur.

By following these guidelines, you will transform your update distribution process from a network liability into an efficient, automated system. You are effectively shifting the burden of update delivery from your internet gateway to the local network, which is where it belongs in a modern, distributed architecture. As your fleet grows, these settings will scale with you, ensuring that you can push patches and updates with confidence, regardless of your office location or network constraints.


Not read yet

FAQ: Common Questions

Q: Does Delivery Optimization work for third-party applications? A: Yes, if those applications are delivered through the Microsoft Store or via Intune Win32 app management. When you package an application as a .intunewin file, Intune can utilize the Delivery Optimization engine to distribute that content to clients.

Q: Will Delivery Optimization use my battery? A: Windows is intelligent enough to pause peer-to-peer sharing when the device is on battery power. You can configure this behavior in the Intune policy settings to ensure that mobile users don't have their battery life impacted by acting as a "server" for other devices.

Q: Can I use Delivery Optimization for Windows Server? A: Delivery Optimization is primarily designed for Windows 10 and Windows 11 clients. While some server configurations may support it, it is not the recommended solution for server-class operating systems, which typically use WSUS or Configuration Manager.

Q: How often does the device check in with the Delivery Optimization service? A: The check-in frequency is determined by the Windows Update agent. It is designed to be lightweight and does not consume significant bandwidth. It only occurs when the device is actively looking for updates or has been idle for a period.

Q: What happens if a peer device goes offline? A: The Delivery Optimization service is resilient. If a device is in the middle of a transfer and its peer goes offline, the agent will automatically switch to another peer or fall back to the Microsoft cloud (HTTP) to finish the download. The user will never notice the interruption.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.