Werk #18270: Windows agent updater: Update loop

Component Agent bakery
Title Windows agent updater: Update loop
Date Jul 9, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p8 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This Werk fixes a regression that occurs since Checkmk 2.4.0p6.

After an agent update to a Checkmk agent 2.4.0p6 or newer, the agent updater kept downloading the already installed agent after every second run.
Also, the Check_MK agent service on the Checkmk site showed a pending update.
Other agent functionalities, including further agent updates, were not affected.
However, this behavior led to a high network traffic, since every Windows host with enabled automatic updates kept downloading the agent.

As a workaround, before upgrading to a Checkmk version with the fix from this Werk, you can either deactivate agent updates globally via the Master switch, or deactivate it explicitly for affected Windows hosts with the setting Activate update only on the selected hosts.

After applying the fix and baking agents (and enabling automatic updates again), the Windows agents will automatically update to the new version without the download loop.

To the list of all Werks