Werk #19754: Fix Windows agent install & register for PowerShell
| Component | Setup | ||||
| Title | Fix Windows agent install & register for PowerShell | ||||
| Date | Apr 22, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Previously, the "Install & register agent" slide-out on Windows had two annoying quirks:
- The registration command failed in PowerShell with a parser error, while it worked in Command Prompt.
- The installation prompted for interactive confirmation instead of running unattended.
Both are now fixed. The slide-out offers a PowerShell/Command Prompt selector in the "Download and install" and "Register agent" steps. Pick your shell once — the selection carries over to both steps and to the troubleshooting fallback. PowerShell is preselected.
The MSI install now runs silently, so the flow completes without extra clicks.
See also Werk #19505, which earlier addressed related compatibility issues in the same slide-out but did not cover the registration command.