Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #19509: Fix Windows agent download command

Component Setup
Title Fix Windows agent download command
Date Mar 24, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.5.0b3
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

The Windows agent download command shown in the agent registration slideout was missing the -G flag for curl.exe. Without it, curl sent a POST request instead of a GET, causing the server to respond with a 405 Method Not Allowed error. Because the -f flag was also absent, curl did not fail on this HTTP error and instead silently wrote the error response body to the output file, resulting in a useless ~1KB .msi file.

The command now includes -fG: -G forces a GET request and appends --data-urlencode parameters as URL query parameters, and -f makes curl exit with an error on HTTP failure instead of saving the error response.

To the list of all Werks