Windows 10, Delivery Optimization, and WSUS: Take #2

Published 06-19-2019 05:49 AM 470 Views
Microsoft
First published on TechNet on Aug 16, 2016
01/31/2017:  Edited to reflect a change in the minimum disk size.

I had posted an article about Windows 10 1607, Delivery Optimization, and WSUS last week at https://blogs.technet.microsoft.com/mniehaus/2016/08/08/using-wsus-with-windows-10-1607/ , but based on conversations with the engineering team and more testing of my own using virtual machines, I thought it would be good to make a second attempt at it.

Let’s start off with some basic behaviors:

  • Both Windows 10 1511 and Windows 10 1607 will talk to the Delivery Optimization service to find peers that can provide the content.  For devices connected to Windows Update, the peers are used in addition to the Windows Update content distribution servers on the internet.  For devices, connected to WSUS, the peers are used in addition to the WSUS server.

  • Windows 10 1511 and Windows 10 1607 are configured by default for Delivery Optimization, but the download mode (used to determine what peers should be considered) is different depending on the SKU of Windows that is installed:

    • Enterprise, Enterprise LTSB and Education SKUs are configured for “LAN” (download mode 1) so they will only use PCs on the corporate network as peers.

    • Other SKUs default to “Internet” (download mode 3) so they will use a broader set of clients as peers.



  • There are minimum requirements for a PC to cache and provide content to peers, with at least 4GB of RAM and 32GB of disk space needed.  There are also minimum requirements for clients to receive content from peers; those that don’t meet those requirements will download updates directly from the source (Windows Update or WSUS).

  • Delivery Optimization presently will only use peer-to-peer sharing for larger updates like feature updates and cumulative updates.

  • Windows 10 1607 adds two new download modes, “Simple” (mode 99) and “Bypass” (mode 100).  “Simple” is great for “closed” networks where PCs wouldn’t be able to get to the Delivery Optimization service on the internet.  And “Bypass” is useful if you are already using BranchCache and want all updates to be pulled from WSUS using BITS.  (Since Windows 10 1511 doesn’t have a Bypass mode, you can use “HTTP only” mode 0 to skip Delivery Optimization peer checks on closed networks.)

  • Windows 10 1511 and Windows 10 1607 both also include a “Group” download mode setting (mode 2) that limits the population of PCs that can be considered peers to just those in a particular group.  With Windows 10 1511, groupings are based on the AD domain and an optional group ID that you can set via policy.  With Windows 10 1607, the groups are based on AD domain and AD site, and can also add in an optional group ID.


So let’s assume we have a Windows 10 1511 or Windows 10 1607 PC configured to talk to WSUS, and it checks for updates.  What happens?  Here’s the basic flow with the default settings:

  • The PC talks to WSUS to determine what updates are needed.

  • For each needed update, the PC checks with the Delivery Optimization service (on the internet) to find any applicable peer PCs that already have the needed content.

  • If peers are available,, the PC will try to get the content from the peers.

  • If some or all of the content isn’t available from a peer, or if no peers are available, the remainder will be retrieved from WSUS.


So overall Delivery Optimization is a good thing:  It enables PCs on your network to share feature updates (new Windows 10 releases) and quality updates (monthly patches) with other PCs on your network.  But you might want to tweak the behavior.  I already mentioned one key scenario:  If you are using Windows 10 1607 with WSUS and BranchCache.  Since Windows 10 1607 no longer uses BITS by default for downloading updates from WSUS, you may want to deploy a policy to change the download mode to “Bypass” when you are using BranchCache.

One other tweak to consider:  Instead of using the default “LAN” download mode, you may want to instead use the “Group” download mode.  The “LAN” mode identifies PCs that are on the same LAN by looking at their external IP address – all PCs going through the same internet IP (through a proxy server or router) are considered to be on the same “LAN.”  But if you’re a typical large enterprise, your “LAN” might be made up of a bunch of different LAN segments with WAN connections between them, with all internet traffic funneled back to a central location that has a connection to the internet.  In that type of an environment, you don’t necessarily want a PC in Anchorage sharing an update with a PC in Auckland through WAN links that pass through Chicago.  Instead, you want peer-to-peer sharing to happen locally.  The “Group” mode in Windows 10 1607 handles that nicely, as long as your AD sites are defined to correspond with physical locations.  If they aren’t, or if you are using Windows 10 1511, you can instead use the “Group ID” policy (delivered via site-specific GPOs) to segment PCs into more appropriate groups.

See https://technet.microsoft.com/en-us/itpro/windows/manage/manage-connections-from-windows-operati... and https://technet.microsoft.com/en-us/itpro/windows/plan/setup-and-deployment for more background on Delivery Optimization.
%3CLINGO-SUB%20id%3D%22lingo-sub-706560%22%20slang%3D%22en-US%22%3EWindows%2010%2C%20Delivery%20Optimization%2C%20and%20WSUS%3A%20Take%20%232%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-706560%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3EFirst%20published%20on%20TechNet%20on%20Aug%2016%2C%202016%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20%3CEM%3E%2001%2F31%2F2017%3A%26nbsp%3B%20Edited%20to%20reflect%20a%20change%20in%20the%20minimum%20disk%20size.%20%3C%2FEM%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20I%20had%20posted%20an%20article%20about%20Windows%2010%201607%2C%20Delivery%20Optimization%2C%20and%20WSUS%20last%20week%20at%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fmniehaus%2F2016%2F08%2F08%2Fusing-wsus-with-windows-10-1607%2F%22%20title%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fmniehaus%2F2016%2F08%2F08%2Fusing-wsus-with-windows-10-1607%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20https%3A%2F%2Fblogs.technet.microsoft.com%2Fmniehaus%2F2016%2F08%2F08%2Fusing-wsus-with-windows-10-1607%2F%20%3C%2FA%3E%20%2C%20but%20based%20on%20conversations%20with%20the%20engineering%20team%20and%20more%20testing%20of%20my%20own%20using%20virtual%20machines%2C%20I%20thought%20it%20would%20be%20good%20to%20make%20a%20second%20attempt%20at%20it.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Let%E2%80%99s%20start%20off%20with%20some%20basic%20behaviors%3A%20%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EBoth%20Windows%2010%201511%20and%20Windows%2010%201607%20will%20talk%20to%20the%20Delivery%20Optimization%20service%20to%20find%20peers%20that%20can%20provide%20the%20content.%26nbsp%3B%20For%20devices%20connected%20to%20Windows%20Update%2C%20the%20peers%20are%20used%20in%20addition%20to%20the%20Windows%20Update%20content%20distribution%20servers%20on%20the%20internet.%26nbsp%3B%20For%20devices%2C%20connected%20to%20WSUS%2C%20the%20peers%20are%20used%20in%20addition%20to%20the%20WSUS%20server.%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EWindows%2010%201511%20and%20Windows%2010%201607%20are%20configured%20by%20default%20for%20Delivery%20Optimization%2C%20but%20the%20download%20mode%20(used%20to%20determine%20what%20peers%20should%20be%20considered)%20is%20different%20depending%20on%20the%20SKU%20of%20Windows%20that%20is%20installed%3A%20%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EEnterprise%2C%20Enterprise%20LTSB%20and%20Education%20SKUs%20are%20configured%20for%20%E2%80%9CLAN%E2%80%9D%20(download%20mode%201)%20so%20they%20will%20only%20use%20PCs%20on%20the%20corporate%20network%20as%20peers.%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EOther%20SKUs%20default%20to%20%E2%80%9CInternet%E2%80%9D%20(download%20mode%203)%20so%20they%20will%20use%20a%20broader%20set%20of%20clients%20as%20peers.%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EThere%20are%20minimum%20requirements%20for%20a%20PC%20to%20cache%20and%20provide%20content%20to%20peers%2C%20with%20at%20least%204GB%20of%20RAM%20and%2032GB%20of%20disk%20space%20needed.%26nbsp%3B%20There%20are%20also%20minimum%20requirements%20for%20clients%20to%20receive%20content%20from%20peers%3B%20those%20that%20don%E2%80%99t%20meet%20those%20requirements%20will%20download%20updates%20directly%20from%20the%20source%20(Windows%20Update%20or%20WSUS).%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EDelivery%20Optimization%20presently%20will%20only%20use%20peer-to-peer%20sharing%20for%20larger%20updates%20like%20feature%20updates%20and%20cumulative%20updates.%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EWindows%2010%201607%20adds%20two%20new%20download%20modes%2C%20%E2%80%9CSimple%E2%80%9D%20(mode%2099)%20and%20%E2%80%9CBypass%E2%80%9D%20(mode%20100).%26nbsp%3B%20%E2%80%9CSimple%E2%80%9D%20is%20great%20for%20%E2%80%9Cclosed%E2%80%9D%20networks%20where%20PCs%20wouldn%E2%80%99t%20be%20able%20to%20get%20to%20the%20Delivery%20Optimization%20service%20on%20the%20internet.%26nbsp%3B%20And%20%E2%80%9CBypass%E2%80%9D%20is%20useful%20if%20you%20are%20already%20using%20BranchCache%20and%20want%20all%20updates%20to%20be%20pulled%20from%20WSUS%20using%20BITS.%26nbsp%3B%20(Since%20Windows%2010%201511%20doesn%E2%80%99t%20have%20a%20Bypass%20mode%2C%20you%20can%20use%20%E2%80%9CHTTP%20only%E2%80%9D%20mode%200%20to%20skip%20Delivery%20Optimization%20peer%20checks%20on%20closed%20networks.)%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EWindows%2010%201511%20and%20Windows%2010%201607%20both%20also%20include%20a%20%E2%80%9CGroup%E2%80%9D%20download%20mode%20setting%20(mode%202)%20that%20limits%20the%20population%20of%20PCs%20that%20can%20be%20considered%20peers%20to%20just%20those%20in%20a%20particular%20group.%26nbsp%3B%20With%20Windows%2010%201511%2C%20groupings%20are%20based%20on%20the%20AD%20domain%20and%20an%20optional%20group%20ID%20that%20you%20can%20set%20via%20policy.%26nbsp%3B%20With%20Windows%2010%201607%2C%20the%20groups%20are%20based%20on%20AD%20domain%20and%20AD%20site%2C%20and%20can%20also%20add%20in%20an%20optional%20group%20ID.%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%20So%20let%E2%80%99s%20assume%20we%20have%20a%20Windows%2010%201511%20or%20Windows%2010%201607%20PC%20configured%20to%20talk%20to%20WSUS%2C%20and%20it%20checks%20for%20updates.%26nbsp%3B%20What%20happens%3F%26nbsp%3B%20Here%E2%80%99s%20the%20basic%20flow%20with%20the%20default%20settings%3A%20%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EThe%20PC%20talks%20to%20WSUS%20to%20determine%20what%20updates%20are%20needed.%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EFor%20each%20needed%20update%2C%20the%20PC%20checks%20with%20the%20Delivery%20Optimization%20service%20(on%20the%20internet)%20to%20find%20any%20applicable%20peer%20PCs%20that%20already%20have%20the%20needed%20content.%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EIf%20peers%20are%20available%2C%2C%20the%20PC%20will%20try%20to%20get%20the%20content%20from%20the%20peers.%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EIf%20some%20or%20all%20of%20the%20content%20isn%E2%80%99t%20available%20from%20a%20peer%2C%20or%20if%20no%20peers%20are%20available%2C%20the%20remainder%20will%20be%20retrieved%20from%20WSUS.%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%20So%20overall%20Delivery%20Optimization%20is%20a%20good%20thing%3A%26nbsp%3B%20It%20enables%20PCs%20on%20your%20network%20to%20share%20feature%20updates%20(new%20Windows%2010%20releases)%20and%20quality%20updates%20(monthly%20patches)%20with%20other%20PCs%20on%20your%20network.%26nbsp%3B%20But%20you%20might%20want%20to%20tweak%20the%20behavior.%26nbsp%3B%20I%20already%20mentioned%20one%20key%20scenario%3A%26nbsp%3B%20If%20you%20are%20using%20Windows%2010%201607%20with%20WSUS%20and%20BranchCache.%26nbsp%3B%20Since%20Windows%2010%201607%20no%20longer%20uses%20BITS%20by%20default%20for%20downloading%20updates%20from%20WSUS%2C%20you%20may%20want%20to%20deploy%20a%20policy%20to%20change%20the%20download%20mode%20to%20%E2%80%9CBypass%E2%80%9D%20when%20you%20are%20using%20BranchCache.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20One%20other%20tweak%20to%20consider%3A%26nbsp%3B%20Instead%20of%20using%20the%20default%20%E2%80%9CLAN%E2%80%9D%20download%20mode%2C%20you%20may%20want%20to%20instead%20use%20the%20%E2%80%9CGroup%E2%80%9D%20download%20mode.%26nbsp%3B%20The%20%E2%80%9CLAN%E2%80%9D%20mode%20identifies%20PCs%20that%20are%20on%20the%20same%20LAN%20by%20looking%20at%20their%20external%20IP%20address%20%E2%80%93%20all%20PCs%20going%20through%20the%20same%20internet%20IP%20(through%20a%20proxy%20server%20or%20router)%20are%20considered%20to%20be%20on%20the%20same%20%E2%80%9CLAN.%E2%80%9D%26nbsp%3B%20But%20if%20you%E2%80%99re%20a%20typical%20large%20enterprise%2C%20your%20%E2%80%9CLAN%E2%80%9D%20might%20be%20made%20up%20of%20a%20bunch%20of%20different%20LAN%20segments%20with%20WAN%20connections%20between%20them%2C%20with%20all%20internet%20traffic%20funneled%20back%20to%20a%20central%20location%20that%20has%20a%20connection%20to%20the%20internet.%26nbsp%3B%20In%20that%20type%20of%20an%20environment%2C%20you%20don%E2%80%99t%20necessarily%20want%20a%20PC%20in%20Anchorage%20sharing%20an%20update%20with%20a%20PC%20in%20Auckland%20through%20WAN%20links%20that%20pass%20through%20Chicago.%26nbsp%3B%20Instead%2C%20you%20want%20peer-to-peer%20sharing%20to%20happen%20locally.%26nbsp%3B%20The%20%E2%80%9CGroup%E2%80%9D%20mode%20in%20Windows%2010%201607%20handles%20that%20nicely%2C%20as%20long%20as%20your%20AD%20sites%20are%20defined%20to%20correspond%20with%20physical%20locations.%26nbsp%3B%20If%20they%20aren%E2%80%99t%2C%20or%20if%20you%20are%20using%20Windows%2010%201511%2C%20you%20can%20instead%20use%20the%20%E2%80%9CGroup%20ID%E2%80%9D%20policy%20(delivered%20via%20site-specific%20GPOs)%20to%20segment%20PCs%20into%20more%20appropriate%20groups.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20See%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fitpro%2Fwindows%2Fmanage%2Fmanage-connections-from-windows-operating-system-components-to-microsoft-services%23bkmk-updates%22%20title%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fitpro%2Fwindows%2Fmanage%2Fmanage-connections-from-windows-operating-system-components-to-microsoft-services%23bkmk-updates%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fitpro%2Fwindows%2Fmanage%2Fmanage-connections-from-windows-operating-system-components-to-microsoft-services%23bkmk-updates%20%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fitpro%2Fwindows%2Fplan%2Fsetup-and-deployment%22%20title%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fitpro%2Fwindows%2Fplan%2Fsetup-and-deployment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fitpro%2Fwindows%2Fplan%2Fsetup-and-deployment%20%3C%2FA%3E%20for%20more%20background%20on%20Delivery%20Optimization.%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-706560%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TechNet%20on%20Aug%2016%2C%202016%2001%2F31%2F2017%3A%26nbsp%3B%20Edited%20to%20reflect%20a%20change%20in%20the%20minimum%20disk%20size.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-706560%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Emichael%20niehaus%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewindows%2010%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Jun 19 2019 05:49 AM
Updated by: