View all Worklets
Windows

Set Delivery Optimization

Optimizes delivery settings on a specified endpoints.

Worklet Details

Introduction to the PowerShell Based Set Delivery Optimization Worklet

The Set Delivery Optimization Worklet is a PowerShell-based script designed to configure Windows Update Delivery Optimization service settings on a device without the need for Group Policy Object distribution. This Worklet allows administrators to manage delivery optimization settings, including download methods and cache configuration, across multiple devices in their network.

Windows Update Delivery Optimization is a service that helps optimize the delivery of updates and apps to devices running Windows 10 and 11. It provides bandwidth savings by allowing your devices to download updates and Microsoft Store apps from other devices on your local network that have already downloaded the same content.

Why would you use the Set Delivery Optimization Worklet?

The primary reason to use the Set Delivery Optimization Worklet is to save internet bandwidth in environments with multiple Windows devices. The Worklet helps reduce internet data usage by allowing already downloaded updates and Microsoft Store apps from one device within your local network or private group to be shared with other devices without downloading them again from Microsoft servers.

In areas with unreliable internet connection or limited internet access, using this Worklet can improve performance by providing a more reliable download source for updates and Microsoft Store apps.

Components of the Set Delivery Optimization Worklet

The Set Delivery Optimization Worklet addresses key components of delivery optimization such as:

Download Mode

Group ID:

Allow VPN Peer Caching:

Min Disk Size To Peer:

Modify Cache Drive:

Max Cache Size:

Max Cache Age:

How does the Set Delivery Optimization Worklet work?

When executed, this PowerShell script compares current settings on the device with predefined settings specified by an administrator. If any non-compliant settings are detected, the script will exit with a "Not Compliant" error code, which triggers remediation.

The remediation process involves creating policy keys with specified settings in the Windows Registry. Once set, Windows devices use these policies to configure their Delivery Optimization settings according to the parameters defined by the Worklet.

What is the expected outcome when you use the Set Delivery Optimization Worklet?

After running the Set Delivery Optimization Worklet, devices will have configured delivery optimization settings based on parameters defined in the script. As a result, updates and Microsoft Store apps should be downloaded using optimized methods that save bandwidth and provide a more reliable source for content downloads.

Using this Worklet can ultimately lead to significant bandwidth savings, improved performance in update and app delivery, and better utilization of network resources.

View in app

Consider Worklets your easy button

What's a Worklet?

A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

do more with worklets