SwitchHunt / catalog
Wazuh Agent - Silent Install Switch
The hand-curated silent install command for Wazuh Agent on Windows, plus its silent uninstall command - for unattended, quiet, fleet-wide deploys. Copy, paste, ship - smoke-test in a throwaway VM first.
Silent install command
msiexec /i "installer.msi" /q WAZUH_MANAGER="wazuh.example.com" Silent uninstall command
msiexec /x "installer.msi" /qn /norestart Replace installer.msi with the actual installer filename (or its full path).
Notes & gotchas
WAZUH_MANAGER is what points it at your manager; in the lab it landed in ossec.conf as <address>. The service (WazuhSvc) was left STOPPED after the install, so start it in the same deployment: NET START WazuhSvc. Without a start it never enrols.
Install options
Add any of these to the install command. Values shown are the useful setting; "..." means you supply your own.
| Option | What it does |
|---|---|
WAZUH_MANAGER="..." | Your Wazuh manager address. |
WAZUH_REGISTRATION_SERVER="..." | Enrolment server, if it is not the manager. |
WAZUH_REGISTRATION_PASSWORD="..." | Enrolment password, if your manager requires one. |
WAZUH_AGENT_NAME="..." | Agent name (default: the computer name). |
WAZUH_AGENT_GROUP="..." | Agent group(s) to join on enrolment. |
Lab-tested
On 2026-11-11 we ran the install command above as SYSTEM (how deployment tools run it) on a Windows 11 VM against Wazuh Agent 4.14.10, and confirmed the app showed up in Add/Remove Programs - not just that the installer exited 0. The uninstall command above then removed it. Vendors change installers between versions, so smoke-test a new one before you ship it fleet-wide.
FAQ
What is the silent install command for Wazuh Agent?
Run: msiexec /i "installer.msi" /q WAZUH_MANAGER="wazuh.example.com"
How do I silently uninstall Wazuh Agent?
Run: msiexec /x "installer.msi" /qn /norestart
Any gotchas installing Wazuh Agent unattended?
WAZUH_MANAGER is what points it at your manager; in the lab it landed in ossec.conf as <address>. The service (WazuhSvc) was left STOPPED after the install, so start it in the same deployment: NET START WazuhSvc. Without a start it never enrols.
What install options does the Wazuh Agent installer take?
WAZUH_MANAGER: Your Wazuh manager address. WAZUH_REGISTRATION_SERVER: Enrolment server, if it is not the manager. WAZUH_REGISTRATION_PASSWORD: Enrolment password, if your manager requires one. WAZUH_AGENT_NAME: Agent name (default: the computer name). WAZUH_AGENT_GROUP: Agent group(s) to join on enrolment.
Got a different installer, or one that isn't in this list? Drop it into SwitchHunt and it reads the silent switches right in your browser, nothing uploaded.