Help Center/ Database Security Service/ FAQs/ Agent/ How Do I Install the Agent (in Windows OS)?
Updated on 2022-12-06 GMT+08:00

How Do I Install the Agent (in Windows OS)?

After you add a security group rule, download and install the agent on a database or application, depending on the add mode you chose. Database audit can be enabled only if the audited object is connected to the database audit instance.

To install the agent on a Windows OS, perform the following operations.

Prerequisites

  • You have added an agent to your database.
  • You have obtained the agent installation package for the Windows OS.
  • The Windows OS version of the target node is supported by the agent.

Installing an Agent

  1. Install Npcap on the Windows server.

    • If Npcap has been installed on the Windows OS, go to 2.
    • If the Npcap has not been installed on the Windows server, perform the following steps:
      1. Download the latest Npcap software installation package from https://nmap.org/npcap/.
        Figure 1 Downloading Npcap
      2. Upload the npcap-xxxx.exe software installation package to the VM where the agent is to be installed.
      3. Double-click the Npcap installation package.
      4. In the displayed dialog box, click I Agree, as shown in Figure 2.
        Figure 2 Agreeing to install Npcap
      5. In the displayed dialog box, leave all the check boxes unselected and click Install, as shown in Figure 3.
        Figure 3 Installing Npcap
      6. In the displayed dialog box, click Next.

      7. Click Finish.

  2. Log in to the target Windows server as the Administrator user.
  3. Copy the downloaded .zip agent installation package to any directory on the server.
  4. Decompress the package.
  5. Double-click the install.bat file in the package directory.
  6. Press any key to complete installation after the output shown in Figure 4 is displayed.

    Figure 4 Installation completed

  7. Check the installation result. If the dbss_audit_agent process can be found in the Windows Task Manager, the installation succeeded.

    If it is not found, install the agent again.