Published by


Brink's Avatar
Administrator

Posts: 30,655

Show Printable Version 


How to Change Delivery Optimization Max Cache Size for Updates in Windows 10



Windows Update Delivery Optimization
lets you get Windows and Store app updates from sources in addition to Microsoft. This can help you get updates and apps more quickly if you have a limited or unreliable Internet connection. And if you own more than one PC, it can reduce the amount of Internet bandwidth needed to keep all of your PCs up-to-date. Delivery Optimization also sends updates and apps from your PC to other PCs on your local network or PCs on the Internet.

When configuring Delivery Optimization on Windows 10 devices, the first and most important thing to configure is the Download mode, which dictates how Delivery Optimization downloads Windows updates.

You can choose to download updates only from Microsoft, Microsoft and PCs on your local network, or Microsoft and PCs on your local network and internet.

Delivery Optimization works in two ways.

Download updates and apps from other PCs

In addition to downloading updates and apps from Microsoft, Windows will get updates and apps from other PCs that already have them. You can choose which PCs you get these updates from:

PCs on your local network. When Windows downloads an update or app, it will look for other PCs on your local network that have already downloaded the update or app using Delivery Optimization. Windows then downloads parts of the file from those PCs and parts of the file from Microsoft. Windows doesn’t download the entire file from one place. Instead, the download is broken down into smaller parts. Windows uses the fastest, most reliable download source for each part of the file.

PCs on your local network and PCs on the Internet. Windows uses the same process as when getting updates and apps from PCs on your local network, and also looks for PCs on the Internet that can be used as a source to download parts of updates and apps.

Send updates and apps to other PCs

When Delivery Optimization is turned on, your PC sends parts of apps or updates that you’ve downloaded using Delivery Optimization to other PCs on your local network, or on the Internet, depending on your settings.

Delivery Optimization uses locally cached updates. In cases where devices have ample local storage and you would like to cache more content, or if you have limited storage and would like to cache less, use the following settings to adjust the Delivery Optimization cache to suit your scenario:

The Max Cache Size policy limits the maximum amount of space the Delivery Optimization cache can use as a percentage of the available drive space, from 1 to 100. For example, if you set this value to 10 on a Windows 10 client device that has 100 GB of available drive space, then Delivery Optimization will use up to 10 GB of that space. Delivery Optimization will constantly assess the available drive space and automatically clear the cache to keep the maximum cache size under the set percentage. The default value for this setting is 20.

The Absolute Max Cache Size policy specifies the maximum number of gigabytes the Delivery Optimization cache can use. This is different from the Max Cache Size policy, which is a percentage of available disk space. Also, if you configure this policy, it will override the Max Cache Size policy. The default value for this setting is 10 GB.

For more details about Delivery Optimization, see:

This tutorial will show you how to change the maximum size of the Delivery Optimization cache for Windows and Store app updates in Windows 10.

You must be signed in as an administrator to change the Delivery Optimization max cache age.


 CONTENTS:

  • Option One: Change Delivery Optimization Max Cache Size (percentage) in Local Group Policy Editor
  • Option Two: Change Delivery Optimization Absolute Max Cache Size (in GB) in Local Group Policy Editor
  • Option Three: Change Delivery Optimization Max Cache Size (percentage) in Registry Editor
  • Option Four: Change Delivery Optimization Absolute Max Cache Size (in GB) in Registry Editor





Change Delivery Optimization Max Cache Size for Updates in Windows 10 OPTION ONE Change Delivery Optimization Max Cache Size for Updates in Windows 10
Change Delivery Optimization Max Cache Size (percentage) in Local Group Policy Editor


The Local Group Policy Editor is only available in the Windows 10 Pro, Enterprise, and Education editions.

All editions can use Option Three.

1. Open the Local Group Policy Editor.

2. In the left pane of the Local Group Policy Editor, click/tap on to expand Computer Configuration, Administrative Templates, Windows Components, and Delivery Optimization. (see screenshot below)

Name:  Delivery_Optimization_Max_Cache_Size_gpedit-1.jpg
Views: 668
Size:  112.3 KB

3. In the right pane of Delivery Optimization, double click/tap on the Max Cache Size (percentage) policy to edit it. (see screenshot above)

4. Do step 5 (default) or step 6 (specify) below for what you would like to do.


 5. To Use Default Delivery Optimization Max Cache Size (percentage)

A) Select (dot) either Not Configured or Disabled, click/tap on OK, and go to step 7 below. (see screenshot below)

Not Configured is the default setting.


 6. To Specify Delivery Optimization Max Cache Size (percentage)

A) Select (dot) Enabled, enter the Max Cache Size (percentage) 1 to 100 you want under "Options", click/tap on OK, and go to step 7 below. (see screenshot below)

The default Max Cache Size value is 20 percent.

Name:  Delivery_Optimization_Max_Cache_Size_gpedit-2.png
Views: 635
Size:  36.2 KB

7. When finished, you can close Local Group Policy Editor if you like.






Change Delivery Optimization Max Cache Size for Updates in Windows 10 OPTION TWO Change Delivery Optimization Max Cache Size for Updates in Windows 10
Change Delivery Optimization Absolute Max Cache Size (in GB) in Local Group Policy Editor


This option will override Option One and Option Three.

The Local Group Policy Editor is only available in the Windows 10 Pro, Enterprise, and Education editions.

All editions can use Option Four.

1. Open the Local Group Policy Editor.

2. In the left pane of the Local Group Policy Editor, click/tap on to expand Computer Configuration, Administrative Templates, Windows Components, and Delivery Optimization. (see screenshot below)

Name:  Delivery_Optimization_Absolute_Max_Cache_Size_gpedit-1.jpg
Views: 638
Size:  112.0 KB

3. In the right pane of Delivery Optimization, double click/tap on the Absolute Max Cache Size (in GB) policy to edit it. (see screenshot above)

4. Do step 5 (default) or step 6 (specify) below for what you would like to do.


 5. To Use Default Delivery Optimization Absolute Max Cache Size (in GB)

A) Select (dot) either Not Configured or Disabled, click/tap on OK, and go to step 7 below. (see screenshot below)

Not Configured is the default setting.


 6. To Specify Delivery Optimization Absolute Max Cache Size (in GB)

A) Select (dot) Enabled, enter the Absolute Max Cache Size (in GB) you want under "Options", click/tap on OK, and go to step 7 below. (see screenshot below)

The default Absolute Max Cache Size value is 10 GB. You can enter 0 for unlimited.

Name:  Delivery_Optimization_Absolute_Max_Cache_Size_gpedit-2.png
Views: 634
Size:  39.7 KB

7. When finished, you can close Local Group Policy Editor if you like.






Change Delivery Optimization Max Cache Size for Updates in Windows 10 OPTION THREE Change Delivery Optimization Max Cache Size for Updates in Windows 10
Change Delivery Optimization Max Cache Size (percentage) in Registry Editor

1. Press the Win+R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor.

2. Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization

If you do not have the DeliveryOptimization key, then right click on the Windows key, click/tap on New, click/tap on Key, type DeliveryOptimization for the name, and press Enter.

Name:  Delivery_Optimization_Max_Cache_Size_regedit-1.jpg
Views: 652
Size:  43.4 KB

3. Do step 4 (specify) or step 5 (default) below for what you would like to do.


 4. To Specify Delivery Optimization Max Cache Size (percentage)

A) In the right pane of the DeliveryOptimization key, double click/tap on the DOMaxCacheSize string value (REG_SZ). (see screenshot below step 2)

If you do not have the DOMaxCacheSize string value, then right click on an empty area in the right pane of the DeliveryOptimization key, click/tap on New, click/tap on String Value, type DOMaxCacheSize for the name, and press Enter.

B) Select (dot) Decimal, enter a Max Cache Size (percentage) 1 to 100 you want, click/tap on OK, and go to step 6 below. (see screenshot below)

The default Max Cache Size value is 20 percent.

Name:  Delivery_Optimization_Max_Cache_Size_regedit-2.png
Views: 627
Size:  16.2 KB


 5. To Use Default Delivery Optimization Max Cache Size (percentage)

This is the default setting.

A) In the right pane of the DeliveryOptimization key, right click on the DOMaxCacheSize string value (REG_SZ), and click/tap on Delete. (see screenshot below step 2)

B) Click/tap on Yes to confirm, and go to step 6 below. (see screenshot below)

Name:  Delivery_Optimization_Max_Cache_Size_regedit-3.png
Views: 619
Size:  6.7 KB

6. When finished, close Registry Editor.

7. Restart the computer to apply.






Change Delivery Optimization Max Cache Size for Updates in Windows 10 OPTION FOUR Change Delivery Optimization Max Cache Size for Updates in Windows 10
Change Delivery Optimization Absolute Max Cache Size (in GB) in Registry Editor


This option will override Option One and Option Three.

1. Press the Win+R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor.

2. Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization

If you do not have the DeliveryOptimization key, then right click on the Windows key, click/tap on New, click/tap on Key, type DeliveryOptimization for the name, and press Enter.

Name:  Delivery_Optimization_Absolute_Max_Cache_Size_regedit-1.jpg
Views: 620
Size:  45.8 KB

3. Do step 4 (specify) or step 5 (default) below for what you would like to do.


 4. To Specify Delivery Optimization Absolute Max Cache Size (in GB)

A) In the right pane of the DeliveryOptimization key, double click/tap on the DOAbsoluteMaxCacheSize string value (REG_SZ). (see screenshot below step 2)

If you do not have the DOAbsoluteMaxCacheSize string value, then right click on an empty area in the right pane of the DeliveryOptimization key, click/tap on New, click/tap on String Value, type DOAbsoluteMaxCacheSize for the name, and press Enter.

B) Select (dot) Decimal, enter the Absolute Max Cache Size (in GB) you want, click/tap on OK, and go to step 6 below. (see screenshot below)

The default Absolute Max Cache Size value is 10 GB. You can enter 0 for unlimited.

Name:  Delivery_Optimization_Absolute_Max_Cache_Size_regedit-2.png
Views: 616
Size:  16.5 KB


 5. To Use Default Delivery Optimization Absolute Max Cache Size (in GB)

This is the default setting.

A) In the right pane of the DeliveryOptimization key, right click on the DOAbsoluteMaxCacheSize string value (REG_SZ), and click/tap on Delete. (see screenshot below step 2)

B) Click/tap on Yes to confirm, and go to step 6 below. (see screenshot below)

Name:  Delivery_Optimization_Max_Cache_Size_regedit-3.png
Views: 619
Size:  6.7 KB

6. When finished, close Registry Editor.

7. Restart the computer to apply.


That's it,
Shawn