Wazuh not getting installed

26 views
Skip to first unread message

Basim Ibrahim

unread,
Sep 7, 2025, 2:29:16 AM (yesterday) Sep 7
to Wazuh | Mailing List
Hi Team,
wazuh agent is not getting installed in my endpoint, this was installed before (6 months) then we uninstalled, now redeployed wazuh again and when installing agent it shows success but in real its failed, logs shows success, event viewer shows success but the program files folder is not getting created or the agent getting installed.

only change before and now is, now we have intune + defender before it was just symantec + onprem ad

hasitha.u...@wazuh.com

unread,
Sep 7, 2025, 11:48:09 PM (12 hours ago) Sep 7
to Wazuh | Mailing List
Hi Basim,

Please follow the Wazuh official guide to uninstall the Wazuh agent properly.
https://documentation.wazuh.com/current/installation-guide/uninstalling-wazuh/agent.html#uninstalling-windows-agent

To uninstall the agent, the original Windows installer file is required to perform the unattended process:
You need to stop the agent first and then run the command below to uninstall the agent.
Open PowerShell as an administrator and run this command to stop the agent :
NET STOP Wazuh

Then run this command to uninstall the agent by navigating to the agent installer directory, which will work.
msiexec.exe /x wazuh-agent-4.12.0-1.msi /qn

Could you follow this document again to install the Wazuh agent?
https://documentation.wazuh.com/current/installation-guide/wazuh-agent/wazuh-agent-package-windows.html

After that, verify ossec-agent directory was created.

Additionally, run this command on the command prompt and share the result.
Get-Service wazuh

Also, let me know where you downloaded the Wazuh agent package.

Let me know the update on this.

Basim Ibrahim

unread,
2:43 AM (9 hours ago) 2:43 AM
to Wazuh | Mailing List
Hi,
NET STOP Wazuh --> service is not installed.
msiexec.exe /x wazuh-agent-4.12.0-1.msi /qn -> shows success but its not installed.
ossec-agent -> not getting created, tried advanced option with changing directory as well still same.

Reply all
Reply to author
Forward
0 new messages