View all Worklets
Windows

Configure Automatic Updates to Download Patches

Configures Automatic Updates for download-only patches.

Worklet Details

Introduction to the Powershell-based Configure Automatic Updates to Download Patches Worklet

The Configure Automatic Updates to Download Patches Worklet is a PowerShell-based tool designed for the Windows operating system. Its purpose is to configure Windows Update settings without the need to depend on Group Policy deployments.

The Worklet aims to automate the process of downloading windows updates, significantly reducing the bandwidth burden on enforcement day by preventing all devices from downloading patches simultaneously.

Why would you use the Configure Automatic Updates to Download Patches Worklet?

The Configure Automatic Updates to Download Patches Worklet simplifies the process of managing windows updates. It's particularly beneficial for admins who wish to streamline the process of installing windows updates across multiple devices. The Worklet eliminates the need for manual intervention, allowing the admin to focus on other tasks.

Additionally, the Windows Server Update Service, an integral part of managing updates, is made more efficient by this Worklet.

Components of the Configure Automatic Updates to Download Patches Worklet

The Worklet consists of two main parts: an evaluation script and a remediation script. The evaluation script checks the current Windows Update client settings, and if these settings match the predefined values, no action is taken. If the settings do not match, the remediation script comes into play.

The remediation part of the Worklet modifies the Windows Update Service Manager settings accordingly, and if these settings are missing, they are created.

How does the Configure Automatic Updates to Download Patches Worklet work?

The Configure Automatic Updates to Download Patches Worklet operates by modifying the Windows Update service settings in the Windows registry. It sets the policy for automatic updates to download patches but not install them immediately, a setting that can be adjusted according to requirements.

If the registry key for the policy isn't found, the Worklet creates it. The Worklet also handles errors in setting the registry key values, providing feedback in case of exceptions.

What is the expected outcome when you use the Configure Automatic Updates to Download Patches Worklet?

When you use the Configure Automatic Updates to Download Patches Worklet, it ensures that all Windows updates are automatically downloaded but not installed immediately. This strategy reduces the load on your network by preventing all devices from downloading and installing updates on the enforcement day.

Furthermore, the Worklet ensures that your Windows Server Update Services runs smoothly and efficiently. After successfully running the Worklet, it provides feedback on whether the remediation was successful or not, helping you maintain optimal Windows Update settings across your network.

https://console.automox.com/manage/worklet-catalog/22?o=108035&frompage=%2Fmanage%2Fworklet-catalog

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