---
title: "Manually Install the AD Module"
description: "Manually install the AD Module on a domain controller with the Threat Prevention Windows Agent wizard, then add the AD Agent to the Activity Monitor Console."
sidebar_position: 30
---

# Manually Install the AD Module

The AD Module, powered by Threat Prevention, can only be installed on domain controllers.



**Step 1 –** From the Threat Prevention server, copy the Agent executable (
`...\Netwrix\Netwrix Threat Prevention\SIEnterpriseManager\Setup\SI Agent.exe`) to the machine where
you want to install the Agent. Then run the executable. The Netwrix Threat Prevention Windows Agent
Setup wizard opens.

![StealthINTERCEPT Windows Agent Setup wizard on the Welcome page](/images/activitymonitor/8.0/install/agent/welcome_1.webp)

**Step 2 –** On the Welcome page, click **Install**. The Setup Progress page is displayed, followed
by another Welcome page.

![Threat Prevention Windows Agent - Welcome Page](/images/activitymonitor/8.0/install/agent/welcome.webp)

**Step 3 –** Click **Next**.

![End-User License Agreement Page](/images/activitymonitor/8.0/install/agent/license.webp)

**Step 4 –** On the End-User License Agreement page, select the checkbox to accept the license agreement terms and click **Next**.

![Destination Folder Page](/images/activitymonitor/8.0/install/agent/destinationfolder_1.webp)

**Step 5 –** _(Optional)_ On the Destination Folder page, change the installation directory
location.

- To change the default installation directory location, click **Change…**.

![Change Destination Folder Page](/images/activitymonitor/8.0/install/agent/changedestination.webp)

> > - Use the Look In field to select the installation folder you want.
> > - When the Folder name is as desired, click **OK**. The wizard returns to the Destination Folder
> >   page.
> > - Click **Next**.

> To use the default installation directory location, skip the previous step and click **Next** on
> the Destination Folder page.

![CA Certificate Configiration Page](/images/activitymonitor/8.0/install/agent/cacertconfig.webp)

**Step 6 –** Keep the default radio button selection, Managed by Threat Prevention.

:::note
The CA Certificate Configuration page isn't applicable to the Activity Monitor.
:::


![Enterprise Manager Location Information Page](/images/activitymonitor/8.0/install/agent/enterprisemanageram.webp)

**Step 7 –** On the Enterprise Manager Location Information page, select the **Option** button for a
product to enable communication with it.

- Select the **SAM configuration file** radio button.
- In the **Address or Path** field, enter the path to the activity agent configuration file for this
  host. Remember, the Activity Monitor activity agent must already be deployed on the domain
  controller and enabled before installing the AD Agent. The default path is:
  `…\STEALTHbits\StealthINTERCEPT\SIWindowsAgent\SAMConfig.xml`
- The port configuration only applies to the Enterprise Manager Host option.
- Configure additional Agent options as desired:

    - Safe Mode

        - The Safe Mode option prevents the **Windows AD Events** monitoring module from loading if
          the LSASS DLL versions has been modified since the last time the Threat Prevention Windows
          Agent service was started.

    - Start Agent Service

        - The **Start Agent Service** option starts the Threat Prevention Windows Agent service
          after the installation is complete. If the Threat Prevention Windows Agent service isn't
          started at the time of installation, the Activity Monitor Agent will start as needed.

    - Create Windows Firewall Rules

        - The **Create Windows Firewall Rules** option creates the rules needed to open this port
          during the installation process. If using a third party firewall, uncheck this option and
          manually create the necessary firewall rules.

- When the settings are configured, click **Next**.

![Select Event Sources Page](/images/activitymonitor/8.0/install/agent/eventsourcesad.webp)

**Step 8 –** On the Select Event Sources page, select **Windows Active Directory Events** as needed
by the Activity Monitor for the Active Directory solution. Click **Next**.

![Windows Agent Setup wizard on the Ready page](/images/activitymonitor/8.0/install/agent/readytoinstall.webp)

**Step 9 –** On the Ready to install Threat Prevention Windows Agent page, click **Install**. The
Setup wizard displays the installation status.

![Windows Agent Setup wizard on the Operation successful page](/images/activitymonitor/8.0/install/agent/success.webp)

**Step 10 –** When installation is complete, click **Close**.

The AD Module (SI Agent) is now installed on the server.

## Add the AD Agent to the Console

**Step 1 –** Open the Activity Monitor Console.

**Step 2 –** On the Agents tab, click **Add Agent**. The Add New Agents window opens.

![Install New Agent](/images/activitymonitor/8.0/install/agent/installnew.webp)

**Step 3 –** Click the **install agents on Active Directory domain controllers** link.

![Specify Agent Port](/images/activitymonitor/8.0/install/agent/specifyport.webp)

**Step 4 –** Specify the port for the Activity Monitor Agent. Click **Next**.

![Agent Install Location](/images/activitymonitor/8.0/install/agent/installlocation.webp)

**Step 5 –** Specify the path of the Activity Monitor Agent, that has already been installed. Click
**Next**.

![Active Directory Connection](/images/activitymonitor/8.0/install/agent/adconnection.webp)

**Step 6 –** On the Active Directory Connection page, specify the credentials for the domain or
domain controllers where the agent is installed. Click **Connect** to verify connection to the
domain. Click **Next**.

![Domains to Monitor](/images/activitymonitor/8.0/install/agent/domains.webp)

**Step 7 –** Select the domain of the domain controllers where the agent is installed. Click
**Next**.

![Domain Controllers to Deploy Agent](/images/activitymonitor/8.0/install/agent/domaincontroller.webp)

**Step 8 –** Select the domain controllers where the agent is installed. Click **Test**.

:::note
When clicking Test while adding the Agent to the Console, the connection may fail. When
clicking Test, the Activity Monitor verifies not only its ability to manage the agent but the
console's ability to deploy the agent as well. Errors can be ignored if the agent was manually
installed.
:::


**Step 9 –** Ignore the warning messages that the agent can't be installed or upgraded and click
**Next**.

![Windows Agent Settings](/images/activitymonitor/8.0/install/agent/windowsagent.webp)

**Step 10 –** Specify the Activity Monitor Agent Management Group (if desired). Click **Finish**.

:::note
The Activity Monitor Agent Management Group allows users in the specified group to manage
agents, but doesn't allow users in specified group to install, upgrade, or uninstall agents.
:::


The console will automatically detect the agent as it is already installed.

The Agent is now added to the Activity Monitor Console.
