Deploying Wazuh agents on Windows with the MSI installer

Roll out Wazuh agents across a Windows fleet with silent MSI installs, deployment variables, installer logging and existing software distribution tools.

On this page

Deploying Wazuh agents on Windows with the MSI installer: when your team needs it

When a Windows fleet must report to a self-hosted Wazuh server, the MSI installer with deployment variables is how Wazuh agents are installed silently at scale. Each endpoint runs the same package, and the variables set the manager address, enrollment password and group at install time, so no one has to click through a wizard on each machine. This page covers the agent install on Windows only, not the server, which is a separate build with its own sizing and access decisions.

Wazuh has four components: the Wazuh indexer, which stores alerts; the Wazuh server, which analyzes agent data with decoders and rules; the Wazuh dashboard, which is the web interface; and the Wazuh agents installed on endpoints. The agents run on Linux, Windows, macOS, Solaris, AIX and HP-UX, and they are the part of the stack your Windows hosts depend on. Wazuh also monitors some devices without an agent, such as firewalls, through syslog and API collection, which is a different path from the one described here. Before you start, confirm which agent version your server supports and plan to match the agent to the server release line, currently 4.14, using the Wazuh release notes.

The decisions that matter most sit before the package is pushed: which group each host joins, how enrollment credentials are stored and rotated, and whether your software distribution tool can pass arguments and capture the installer log. Ask your team to confirm how endpoints reach the manager's enrollment port and whether any hosts sit in segments that need separate routing. Those answers shape the command you will write, and they are easier to settle with a test group of a few machines than across the whole fleet.

Deployment variables and installation options compared

This table compares the ways a team can install Wazuh agents on Windows and register them with the manager, including interactive installs, silent MSI installs with deployment variables, group assignment and enrollment methods. Read each row against your fleet size, your software distribution tooling and how much control you need over credentials, and confirm every variable name in the current Wazuh documentation before you build a package.

OptionWhen it fitsTrade-offWhat to confirm
Manual interactive installPilot machines, lab hosts or a handful of servers where an engineer can click through the wizard and enter the manager address by handSlow and error-prone at scale, and each host can end up with different settings or group membershipInstaller prompts and the version you are installing in the current release notes
Silent MSI with deployment variablesFleets managed by Group Policy, Intune, SCCM or another software distribution tool that can run a command line with the same arguments on every hostThe manager address, enrollment password and group values live in the deployment command, so the package and its arguments need access control and reviewExact deployment variable names, quoting rules and the MSI file name for your version in the Wazuh Windows agent documentation
Group assignment at installHosts with a known role at build time, such as domain controllers, file servers or kiosks, where the agent should join the right group on its first check-inChanging the group later means a new install or a config change, and a wrong group value at install spreads quickly across the fleetWhether the group variable is honored on your version and how it interacts with groups defined on the manager
Group assignment later through agent configurationEnvironments that reclassify hosts often, or that want one place to change group membership and central configurationRequires the manager to be reachable and the group to exist before the agent receives its settings, so early alerts may use default policyGroup names on the manager, precedence when an agent belongs to several groups, and how long a change takes to reach agents
Enrollment passwordScripted, repeatable rollouts where the password is stored in a protected package or secret store and rotated on a scheduleAnyone who obtains the password can enroll a rogue agent unless the manager restricts enrollment, and rotation must be coordinated with every package in useWhere the enrollment password is set on the manager, how it is passed to the installer, and whether enrollment can be limited by source address
Server-side registration through the APIGolden images, restricted networks, or environments that cannot open the enrollment port, where keys are requested and imported centrallyMore moving parts: key handling, import steps and a per-host process that must be automated and auditedCurrent API calls for requesting keys, and how imported keys are placed on each Windows host

Setting up a silent MSI rollout to a test group

This sequence takes a Windows agent package from a verified server and port baseline to a pilot group that enrolls cleanly, so the wider rollout starts from evidence rather than assumption.

  1. Confirm server version and manager ports

    The Windows administrator or platform engineer records the Wazuh server version the agent must match and confirms that test endpoints can reach the manager on the enrollment and event ports the deployment uses, typically checked with a connection test from a pilot machine. Confirm the exact port list against the Wazuh documentation for your release, since firewall rules differ between all-in-one, cluster and load-balanced layouts. The step is done when the version is written in the change record and each required port returns a successful connection from the pilot subnet.

  2. Obtain the MSI from the official source

    The engineer downloads the Windows agent MSI from the official Wazuh distribution location that matches the server release line, not from a mirror or a previously copied file. Record the file name, the version and a SHA-256 hash computed on the download, then compare the hash against the value published with the release. Store the verified package in the software distribution repository used by your Windows team. The step is done when the hash comparison matches and the package version equals the server version or the version your documentation permits.

  3. Build the silent install command

    The engineer writes a single msiexec command that runs quietly, passes the manager address, the enrollment password and the agent group as deployment variables, and writes an installer log to a known path. Keep the enrollment password out of shared scripts by reading it from a protected source, and confirm the exact property names against the current Windows agent documentation for your release. Test the command text on a disposable virtual machine first. The step is done when the command runs on that machine without a prompt and produces a log file.

  4. Install on a pilot group

    The team pushes the verified package and command to a small pilot group of Windows endpoints chosen to represent different builds, domain or workgroup membership and network zones. Use the distribution tool your organization already runs, and record which machines received the command and when. Avoid including production servers with strict change windows in the first wave. The step is done when the distribution tool reports success on every pilot machine, with no pending or failed deployments.

  5. Check enrollment in the dashboard

    The engineer opens the Wazuh dashboard and confirms that each pilot endpoint appears in the agent list with the expected name, the expected group and an active status. Compare the reported agent version with the installed package. If an agent is missing, search by host name and check the manager logs for enrollment errors before changing the command. The step is done when every pilot endpoint shows as active in the intended group and the version matches the package.

  6. Verify agent status on the endpoint

    On a sample of pilot machines, the administrator checks that the Wazuh agent service is installed and running and that the agent has a local configuration file pointing to the intended manager. Confirm that the agent is sending events by generating a harmless test event, such as a local logon or a file change in a monitored path, and seeing it appear in the dashboard. The step is done when the service runs, the manager address is correct and the test event arrives.

  7. Read the installer log

    The engineer opens the MSI log from each pilot machine and searches for error and return code entries, which show whether the install completed, failed or needed a reboot. Record any warnings about missing properties or ignored switches, and fix them in the command before the next wave. Keep the log with the change record, since it is the first evidence an auditor or support engineer will ask for. The step is done when every log ends with a successful installation result and no unresolved errors.

  8. Widen the rollout in controlled waves

    After the pilot passes every check, the team expands the same command to the next groups in planned waves, repeating the enrollment and log checks for each wave before continuing. Hold back any wave that shows enrollment failures, mismatched groups or errors in the logs, and document the cause. The rollout is complete when the dashboard agent count matches the inventory of target endpoints, minus any machines excluded with a recorded reason.

Fitting the install command into Group Policy, Intune, SCCM or other distribution tools

The silent MSI command works the same way whichever tool runs it, but the tool decides the account it runs under, how often it retries, whether it can handle a reboot and where you go to read the result. Start by writing down which distribution tool your Windows team already uses for software, then confirm three things with that tool's documentation and your own pilot: the execution context (the local system account, a logged-on user or a deployment service account), the retry and exit-code behavior, and the reboot policy. Those three answers determine whether the same MSI arguments produce a healthy agent on the first pass or leave a half-enrolled host that looks installed.

Group Policy software installation, Microsoft Intune, Configuration Manager and third-party endpoint tools each wrap the MSI differently. Some run the installer as the system account, which suits service installation, while others run it in the user context, which can fail on a machine without elevation. Some treat any non-zero exit code as a failure and retry, which is useful when the manager is briefly unreachable but can cause repeated installs if the success codes are not mapped. Confirm which exit codes your tool treats as success, and whether it expects a reboot after the install. Installer logging written to the file you specify with the logging argument is the first place to check when a deployment reports failure, so make sure the log path is writable in the context the tool uses.

Before you widen the rollout, run the packaged command against a small group of pilot hosts and check three things: the agent service is running, the agent appears in the Wazuh server agent list under the expected group, and the installer log shows no enrollment errors. Re-running the deployment on hosts that already have the agent should be a no-op or a clean upgrade, so test that too. Keep the deployment variables and the package version in version control with the tool's deployment definition, so that a later change to the manager address or password is reviewed like any other configuration change. Ask your tool vendor and your own change management team to confirm how the package is staged, cached and removed, because these details differ between tools and between patch levels.

Protecting the enrollment password and the install channel

A Windows rollout touches three weak points: the command that carries the enrollment password, the installer file itself, and the agent once it is running. The cards below name a control for each point and what to confirm in your environment before the first machine is enrolled.

Keep the enrollment password out of scripts

The MSI deployment variables pass the enrollment password on the command line, so it can end up in deployment scripts, task definitions and console history. Store the value in your software distribution tool's secret or credential store and pass it at install time only. Confirm that your distribution tool does not echo command arguments into job logs that many administrators can read.

Wazuh deployment options

Verify the installer before distribution

Confirm that the MSI you stage in your software repository came from the official Wazuh release location and matches the version you intend to deploy. Record a file hash for each package in your repository and check it before each rollout wave. Ask who is allowed to replace a package in the repository, because a swapped installer would run with administrator rights on every endpoint it reaches.

Use a least-privilege rollout account

Run the installation under a deployment identity limited to installing the agent and reading the target group, not a domain administrator account. Scope the account's rights to the target computer organizational unit where possible. Confirm which accounts can read the distribution tool's job history and whether any of them are shared personal logins.

Restrict who can change the agent

After installation, a user with local administrator rights can stop the service, edit the configuration or uninstall the agent, which leaves a gap in monitoring. Decide which local groups keep administrator rights on managed endpoints and how tampering alerts reach your security team. Check the anti-tampering and agent enrollment hardening guidance in the Wazuh documentation before you rely on local controls.

Protect the installer log

Installer logging is useful for troubleshooting, but a verbose log can record arguments and paths that include the enrollment password. Decide where logs are written, restrict read access to that folder, and remove or redact logs after enrollment is confirmed. Test the log path on a pilot machine and check its contents before you widen the rollout.

Limit enrollment to approved managers

A valid enrollment password lets any host register with the manager, so an exposed password can add rogue agents to your fleet. Confirm which network paths can reach the manager's enrollment port, who may rotate the password, and how you will detect agents you did not deploy. Rotate the password after any suspected exposure and review newly registered agents against your asset inventory.

Questions buyers ask before rolling out Windows agents

How much effort does a Windows Wazuh agent rollout take?

The effort depends on how many endpoints you have, how varied their builds and roles are, and which software distribution tool you already run. A small fleet of similar workstations with a working distribution tool is a short, contained task. A large estate with servers, domain controllers, laptops that are often offline, and several business units needs more time for grouping, pilot testing and change approval. Ask any partner to size the work against your asset inventory, your existing deployment tooling and your change control calendar, and to state the assumptions behind the estimate in writing.

What drives the cost of a Windows agent rollout?

The cost is mostly labor, and labor follows scope. Drivers include the number of Windows builds and roles, whether packaging and silent install commands must be written for each tool, how many groups and configurations are needed, how much pilot and rollback testing your change process requires, and how much installer logging and reporting you want. The self-hosted Wazuh software itself carries no license fee, so the main cost lines are infrastructure you run, staff time and any external services you buy. Ask for a quote that lists each component, who performs it, and which items recur after go-live.

Does the self-hosted Wazuh software have a license cost for Windows agents?

No. The self-hosted Wazuh software is open source and has no license fee, and it is distributed under the GNU General Public License version 2 with an exception for linking with OpenSSL. Installing Windows agents on your own endpoints does not add a license charge. Costs still arise from the servers and storage that run the Wazuh server and indexer, the staff or partner time to deploy and operate them, and any paid Wazuh Cloud or support plan you choose. Confirm the license terms against the LICENSE file in the project repository with your legal team before you build internal processes around them.

Can our own team roll out the Windows agents without outside help?

Often yes, if your team already manages Windows software distribution and has someone who can read Windows installer logs and Wazuh agent status. The rollout is a repeatable install command plus enrollment settings, so the main skills are packaging, testing on a pilot group and handling exceptions such as offline laptops and locked-down servers. Outside help is most useful when you need a tested design across many builds, a documented change record for auditors, or a fast pilot before a deadline. Decide based on those gaps, not on the license, which is free for the self-hosted software.

What do we need to provide before the rollout starts?

Plan for four inputs. First, access to the Wazuh manager address and the enrollment settings, which are usually handled by the team that runs the server. Second, administrator rights on the target endpoints, or a privileged deployment account in your software distribution tool, so the MSI can install as a service. Third, a pilot group of representative machines, including at least one laptop and one server, that can be rebuilt or rolled back. Fourth, a named owner for change approval and for the firewall rules that allow agents to reach the manager. Confirm each of these with your Windows and network teams before the pilot is scheduled.

What breaks most often during a Windows agent deployment?

The most common failures are network blocks between the endpoint and the manager, wrong or missing enrollment settings, and installs that run without administrator context. Endpoint protection software sometimes blocks or quarantines the installer, and a few machines stay offline long enough to miss the pilot window. Keep the installer log for each device, check that agents appear in the manager after install, and test a failed install on a pilot machine before scaling up. Ask your partner or internal team to document each failure mode they hit and the fix, so the runbook improves with each wave.

How do future Wazuh upgrades affect the Windows agents?

Agent and server versions should be kept in a supported relationship, and the Wazuh server can manage agent configuration and upgrades remotely. Wazuh patch releases in the 4.14 line arrive roughly every one to two months, so you should plan a recurring review of the release notes and a staged agent upgrade wave, starting with the pilot group. Keep the MSI package and its deployment command under version control so you can reinstall or roll back consistently. Confirm the exact upgrade order and compatibility rules in the upgrade documentation before your first wave.

Where can we check the installer options before we build the command?

Start with the Wazuh documentation for Windows agent installation, which lists the MSI deployment variables for the manager, enrollment password and group, and the options for installer logging. Test the exact command on a pilot machine in your own environment before adding it to your distribution tool. The deployment options page in the Wazuh documentation lists the broader installation methods, including Ansible and Puppet, so you can compare them with the tool you already use.

What to confirm in your environment before you start

Most Windows MSI rollouts stall on a few environmental limits rather than on the installer itself. The cards below cover the checks to complete before you pick a package, a deployment command or a pilot group, and where to confirm each one.

Supported Windows versions

Confirm which Windows client and server editions the agent package supports for the release line you intend to install. The Wazuh 4.14 line is the current one, so check the compatibility matrix in the release notes for the exact 4.14 patch you plan to deploy, not the version you last used. Record the build numbers in your fleet inventory, because older servers and out-of-support clients often fall outside the matrix. Confirm the support list before you build the package.

Wazuh release notes

Agent and server version match

Agents should be installed at a version that the 4.14 server line accepts, and you should plan the agent version against the server patch you run. The current 4.14 patch releases were 4.14.8 on 23 September 2026 and 4.14.9 on 14 October 2026, so pin one agent version and test it against your manager before rollout. Check whether your server is at a patch level that matches the agent you choose, and note any mismatch as an upgrade item for later.

Release notes

Endpoint to manager network paths

List every path an endpoint needs to reach the manager: the enrollment port, the agent communication port and the address the MSI registers against. Test these from a representative subnet, from a branch site and through any segmentation firewall, because a silent install can succeed while the agent never shows as active. Ask your network team to confirm the exact ports in your Wazuh version's documentation before you open rules.

Offline and restricted networks

If endpoints cannot reach the internet or the package repository, plan the offline installation approach from the start rather than adapting an online command later. Confirm whether the package can be staged on an internal file share or software distribution server, and whether any vulnerability detection feature you need will use an offline vulnerability repository instead of the Wazuh Cyber Threat Intelligence platform. Each of these changes what the endpoint must reach during install.

Deployment options

Proxy and EDR interactions

Corporate proxies can intercept or block the outbound calls the installer and agent make, and endpoint detection tools may quarantine the MSI, the agent service or its binaries. Ask the security operations team whether they have an allow-listing process for the Wazuh agent executables and service, and test a pilot install with the same EDR policy used across the fleet. Document any proxy exceptions so they can be reviewed with the network team.

Ownership of the decision

Name the owner for each item above before the pilot starts: the endpoint engineering lead for Windows versions, the security team for the server and agent match, and the network team for paths and proxies. Store the confirmed answers with the deployment record so the same checks repeat for the next release. Ask any implementation partner to show the written checklist as part of the scope.

How the install command reaches an endpoint and enrolls

The run starts in the software distribution tool or an administrator's session, which executes the silent MSI with deployment variables such as the manager address, enrollment password and group. The agent installs and starts on the endpoint, then contacts the Wazuh server to enroll. The enrollment password is the boundary to watch: it must reach the endpoint only through the command, and the server must accept it before it assigns the group and returns configuration. Check the installer log and the agent's status on the server after enrollment.

Install command flow from distribution tool to enrolled agent, with the enrollment trust boundary.

How DeployOpen scopes and delivers a Windows agent rollout

DeployOpen plans and delivers Windows Wazuh agent rollouts inside your own infrastructure, starting from a written scope that names your manager, enrollment method, groups and software distribution tooling. Work is fixed-scope, tested on representative Windows builds, and handed over with documentation your operations team can run.

How we scope

  • Inventory Windows build versions, domain policies and endpoints that cannot reach the manager directly.
  • Confirm the manager address, enrollment password handling and group assignment model before any packaging starts.
  • Agree in writing which software distribution tools, pilot rings and rollback conditions the engagement covers.

How we build

  • Package the silent MSI command with deployment variables and a logging path your tooling can collect.
  • Test installs, enrollment and group placement on a pilot set of Windows builds you select.
  • Wire the command into your existing software distribution tool, with exit code handling and retry behavior defined.

How we hand over

  • Deliver the tested install command, variable reference and sample deployment package with version notes.
  • Document installer log locations, verification steps and the checks your help desk should run on failure.
  • Walk your platform and endpoint teams through the runbook and confirm ownership of future agent upgrades.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial rollout closes.
  • Review the command and packaging when Wazuh releases new agent versions and your Windows builds change.
  • Confirm support terms, response expectations and retainer scope in the written quote before work begins.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.