You will have probably heard about the Intune delivery optimization. In this blogpost I will explain and show the delivery optimization profiles options. I have configured this in my lab. I will walk you through every detail of the implementation.
A good thing to know is that delivery optimization (peer to peer) is enabled by default in Windows 10 1709 and above. But like always we want to control the situation so we setup a configuration profile to do so.
First thing first, let’s start with a preparation block. I have use the following setup:
1. I have created a seperate VLAN on my home network which has seperate DHCP server and DNS server settings. The DNS server points to my Domain Controller in Azure which I use to host the caching server. This is only for test purposes, in production this never should be a Domain Controller. If your network already has a deployment server use this for cache.
2. Create a Windows 10 VM which sits the newly created VLAN so that he can communicate with domain controller for the caching server.
3. Enroll the Windows 10 VM via Windows 10 Autopilot so we can configure the configuration profile for delivery optimization.
Create Delivery Optimization profile
Firstly we need to configure the optimization profile
1. Log on to https://devicemanagement.microsoft.com/ to enter Microsoft Endpoint manager.
2. Go to devices and configuration profiles:
3. Click on create profile:
4. Set the profile name, set the plaform, the configuration type and click on create:
Configure Delivery Optimization Profile
The delivery optimization profile has been created and it is now time to configure the profile. These are the options that are available:
Configure the download mode to your liking. This settings depends on your network configuration. For example, if you use VPN in your network to concentrate all connections through your data center you need a different configuration. These are the options you have:
I have configured the “Restrict Peer Selection” to “Subnet Mask”. I have configured this because each site of our customers have a different subnet. As a result the peer selection doesn’t go through the WAN links to other sites.
I have configured the bandwidth with the recommended values from Microsoft:
In addition, I would recommend the values from Microsoft for the bandwidth optimization. These seem very reasonable.
The caching settings are configured like this:
I have configured the recommended values except for “Maximum Cache Age” and “VPN peer caching”. I wanted to extend the age because the recommended value is 7 days but that seemed to short for me. Furthermore I have disabled VPN peer caching because I don’t want WAN links to be affected by caching.
Last but not least these are the setting for the cache server settings:
Note: You should never configured a Domain Controller for caching purpose. This was just an example for testing purposes.
After your configured is complete assign the policy to correct group so the deployment can start.
Deploy Delivery Optimization Profile
When you want to check if your deploy has succeeded go to the delivery optimization profile and click on device status:
Here you see that the deployment has succeeded:
When you want to see the details go to the device in Microsoft Endpoint Manager en search the configuration profile. You will see these configurations:
I have deployed Log Analytics for Windows Updates for Business to check whether the delivery optimization really works. You can check this out on this site:
The end result will look something like this:
Here you see that 31.9% bandwidth savings are reached just by creating this simple profile. (this log analytics has over 500 devices in it)