Note
You will need administrator privileges to perform this installation.
The first step to installing the Wazuh agent on a Windows machine is to download the Windows installer from the packages list<../packages-list/index>
. Once this is downloaded, the Windows agent can be installed in one of two ways:
To install the Windows agent from the GUI, run the downloaded file and follow the steps in the installation wizard. If you are not sure how to respond to some of the prompts, simply use the default answers.
Once installed, the agent uses a graphical user interface for configuration, opening the log file or starting and stopping the service.
../../images/manual/windows-agent.png
By default, all agent files will be found in: C:\Program Files(x86)\ossec-agent
.
Note
Now that the agent is installed, the next step is to register and configure it to communicate with the manager. For more information about this process, please visit the user manual.
To install the Windows agent from the command line, run the installer using the following command (the /q
argument is used for unattended installations):
wazuh-agent-|WAZUH_LATEST|-|WAZUH_REVISION_WINDOWS|.msi /q
You can automate the agent registration with authd using the following parameters:
Option | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Usage example:
wazuh-agent-|WAZUH_LATEST|-|WAZUH_REVISION_WINDOWS|.msi /q ADDRESS="192.168.1.1" AUTHD_SERVER="192.168.1.1" PASSWORD="TopSecret" AGENT_NAME="W2012"
Note
Unattended installations must be run with administrator permissions.