



Hi Tristan,
From everything you have shared, this is what I understand so far:
You first tried to upgrade the affected agents from the Wazuh Dashboard. Some agents upgraded successfully, but the remaining ones failed with "Send upgrade command error".
The upgrade package (.wpk) was successfully downloaded to the incoming directory, so the package reached the endpoint.
You then tried to upgrade the same agents manually by running the 4.14.6 MSI on the Windows endpoint, but the installer ended with "Wazuh Agent Setup Wizard ended prematurely because of an error."
After that, you tried to uninstall the existing Wazuh agent from Windows Programs and Features, but the uninstaller opens and closes immediately without showing any error.
At this point, the common point is that every operation that changes the agent on these Windows endpoints is failing. This does not appear to be a package download or manager communication issue. The problem seems to be on the affected Windows endpoints, but we still need more information to find the exact cause.
Could you please help us with the following?
Run the installer again and generate a Windows Installer log:
msiexec /i wazuh-agent-4.14.6-1.msi /L*v C:\Temp\wazuh-agent-install.log
Then share the wazuh-agent-install.log file.
Open Event Viewer > Windows Logs > Application and check if there are any MsiInstaller events at the time the install or uninstall failed. If there are, please share them.
When you click Uninstall from Windows Programs and Features, does the uninstall window appear for a moment and then close, or does nothing happen at all?





Hi Tristan,
From the information you've provided, I can confirm that the upgrade package is successfully reaching the endpoint, but every operation that modifies the existing Wazuh Agent installation is failing. This includes the remote upgrade, the manual MSI upgrade, and the uninstall process, all of which end with Windows Installer error 1603.
As a next step, could you please restart the affected endpoint and then follow the Windows agent upgrade steps from the documentation below?
Using CMD:
NET STOP WazuhSvc
Using PowerShell:
Stop-Service wazuhsvc
https://documentation.wazuh.com/current/upgrade-guide/wazuh-agent/windows.html
After completing the upgrade steps, please make sure the Wazuh Agent service is running. If it is already running, stop it first and then start it again.
Using CMD:
NET START WazuhSvc
Using PowerShell:
Start-Service wazuhsvc
Please let us know if the upgrade completes successfully after the restart. If the issue persists, share any new error messages or logs that are generated after following these steps. We may need to escalate the issue.