The Windows 10 delivery optimization feature allows you to upload and download Windows 10 and Microsoft Store updates to and from other computers on your local network and on the Internet. Windows does this using a self-organizing distributed localized cache. By default, the distribution optimization cache will use up to 10 GB of your C disk space and keep that cache for three days.
Of course, if your disk has little disk space or if Windows deems it necessary, it will automatically clear the cache and free up space. Additionally, as new updates arrive, Windows will update the cache accordingly.
If you think that delivery optimization is using a lot of space or not keeping the cache long enough, you can change this behavior using Group Policy Editor or Windows Registry Editor. Here’s how.
Change the Delivery Optimization Cache Size and Cache Age through the Group Policy Editor
1. Open the Group Policy Editor by searching for ” gpedit.msc In the Start menu. Go in Computer Configuration> Administrative Templates> Windows Components> Delivery Optimization.
2. In the right panel, find and double-click on ” Absolute Maximum Cache Size (GB) “. This policy allows you to set the cache size in gigabytes. If you prefer to set the cache size in relative terms, such as a percentage of your C drive, find and double-click ” Maximum cache size (percentage) “.
3. In the policy properties window, select the option ” Enabled “. In the Options section, enter the amount of space you want to allocate and click on the ” To apply “. If you chose to set the cache size as a percentage, calculate the percentage you want to set aside in your C drive and enter that value.
4. Then find and open ” Maximum cache age (in seconds) “.
5. As before, select the Comment option ” Enabled “. In the Options section, enter the length of time you want to keep cached files in seconds and press the ” To apply ” and ” OK “. For example, if you want to keep the files cached for a week, you would enter 604800 in the value field.
Restart your system to apply the changes. From now on, Windows will only use the amount of space that you have allocated to cache Windows update files. Additionally, Windows will automatically delete cached files older than the number of days set in the second policy.
If you want to go back, select ” Deactivated ” Where ” Not configured For both policies and restart your system.
Change Distribution Optimization Cache Size and Cache Age via Registry Editor
If you are a Windows 10 Home user, you can use the Registry to make the same changes. However, since we need to create some values, please back up your registry before continuing.
1. Search for ” regedit From the Start menu and open the registry. In the Registry Editor, navigate to the following location:
2. Right click on the “ Windows “, then select ” New> Key “. Name the new key as ” DeliveryOptimization “. If you already have this key, go to the next step.
3. In the right panel, right-click and select ” New> DWORD value (32 bits) “. Name the value as ” DOAbsoluteMaxCacheSize “. This value allows you to set the amount of space that delivery optimization can use. Double-click on the newly created value.
4. The first important thing to do is to select the option ” Decimal “. Next, enter the amount of space you want to allocate in GB in the value data field and click the ” OK “.
5. Again, right click and select ” New> DWORD value (32 bits) “. Name the new value ” DOMaxCacheAge And press Enter.
6. Double-click on the newly created value and select the option ” Decimal “. Enter the number of days in seconds in the value data and click on the button ” OK “. For example, if you want the cache to be valid for seven days, you would enter 604800.
That’s it. Close the Windows registry and restart your system to apply the changes.
If you want to reset the changes you just made, just delete the values ” DOAbsoluteMaxCacheSize ” and ” DOMaxCacheAge ”Of the Register.
In this guide, you have learned how to optimize the distribution optimization cache in Windows 10. If you have any questions or suggestions, let us know in the comments. In addition, also consult this guide if you want to learn how to speed up your Windows 10 PC.